Pretty urls and cms ms url

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
babel
Forum Members
Forum Members
Posts: 149
Joined: Fri Oct 19, 2012 8:58 pm

Pretty urls and cms ms url

Post 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.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Pretty urls and cms ms url

Post by Rolf »

Set a canonical URL in the page head, read
https://www.cmscanbesimple.org/blog/bas ... d-metatags
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
babel
Forum Members
Forum Members
Posts: 149
Joined: Fri Oct 19, 2012 8:58 pm

Re: Pretty urls and cms ms url

Post 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.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1922
Joined: Mon Jan 29, 2007 4:47 pm

Re: Pretty urls and cms ms url

Post 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.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
babel
Forum Members
Forum Members
Posts: 149
Joined: Fri Oct 19, 2012 8:58 pm

Re: Pretty urls and cms ms url

Post by babel »

Thanks for clear answer. Case closed.
Post Reply

Return to “The Lounge”