Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo - SEF URLs #2158

Closed
robocoder opened this issue Mar 7, 2011 · 1 comment
Closed

Demo - SEF URLs #2158

robocoder opened this issue Mar 7, 2011 · 1 comment
Labels
c: Website matomo.org For issues related to our matomo.org website. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.

Comments

@robocoder
Copy link
Contributor

This could be an interesting tutorial/example.

Instead of recording the URL as:

http://demo.piwik.org/index.php?module=CoreHome&action=index&restofthequery...

We would use setCustomUrl() to record it hierarchically as:

http://demo.piwik.org/demo/CoreHome/index?restofthequery...

A script called demo.php in the doc root would use the $_SERVER['PATH_INFO'] to rewrite the URL, so URLs in Actions | Pages are still clickable.

@mattab
Copy link
Member

mattab commented Apr 1, 2011

I don't think the use of setCustomUrl should be encouraged, because it will break the links to the pages which removes an important/useful part of the Actions report (being able to click to a page we are analyzing)

@robocoder robocoder added this to the Community and Marketing milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Website matomo.org For issues related to our matomo.org website. Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants