Page 1 of 1

Pretty urls and cms ms url

Posted: Tue Jul 11, 2017 10:43 am
by babel
It seems that when making pretty urls, cms made simple keeps the "old" url in use. For Google Analytics this means that there are two ways a visitor can come to the same page. Using canonical url doesn't solve this. Is there a way that Google Analytics only analyses the pretty url?

The pretty urls are made mod_rewrite and .htacces as the documentation (https://docs.cmsmadesimple.org/configuration/pretty-url) says.

Re: Pretty urls and cms ms url

Posted: Tue Jul 11, 2017 11:19 am
by Rolf
Set a canonical URL in the page head, read
https://www.cmscanbesimple.org/blog/bas ... d-metatags

Re: Pretty urls and cms ms url

Posted: Tue Jul 11, 2017 8:11 pm
by babel
Thanks Rolf for your reply, but cannonical urls are usefull for the robots, but Google Analytics still see visitors for the same page but with two different urls. At that is not what we want.
The website has allready canonical urls.
I hope there is a solution.

Re: Pretty urls and cms ms url

Posted: Tue Jul 11, 2017 8:28 pm
by Jo Morg
babel wrote:but cannonical urls are usefull for the robots
That's not correct.
https://moz.com/blog/canonical-url-tag- ... e-sitemaps
There are more links about this.
The fact is that ANY CMS has in one way or another more than one way to access the same content; it's inherent to the nature of CMSs and the best solution is exactly that: good use of canonical urls.
There is no way to stop any one visitor to a dynamically generated site to use multiple urls to access a certain page. But in terms of SEO the one that counts is the one pointed as the preferred one in the canonical url tag.
There is no penalization whatsoever for that.

Re: Pretty urls and cms ms url

Posted: Tue Jul 11, 2017 9:08 pm
by babel
Thanks for clear answer. Case closed.