Page 1 of 1

Is it possible to redirect?

Posted: Tue Apr 02, 2013 12:40 pm
by louie021
Well here is the issue:

once you activate the pretty URL options , what happen to old urls?

they still exist, which in turn create link juice leak and duplicate content.

Is there any way to redirect old query string urls to SEF urls?

Re: Is it possible to redirect?

Posted: Tue Apr 02, 2013 1:24 pm
by Rolf
Add the canonical link to the head of your template.
You can see examples how to use in CMSMS in the default templates of a new install.

Rolf

Re: Is it possible to redirect?

Posted: Tue Apr 02, 2013 1:45 pm
by velden
And probably it's also possible to use the .htaccess file to redirect those requests: http://httpd.apache.org/docs/current/mo ... write.html

But I would go voor Rolf's solution.

Re: Is it possible to redirect?

Posted: Wed Apr 03, 2013 7:45 am
by louie021
Well..

Yes i know rel canonical will help but it's not the solution.

I think by default PRetty urls are urless unless you implement the automatic redirect feature.