Will my pretty URLS be automatically redirected?
Posted: Mon Sep 07, 2009 8:27 am
I've been looking for a while now for this but can't find a clear solution anywhere:
I've turned on pretty URLS according to the manual using mod_rewrite in config.php. My pages now change to
www.mysite.nl/sub/page.html
which is nice. But I read a lot about SEO suicide if you don't redirect your old page=blabla to you new pretty URLS. I found that you have to add:
RewriteCond %{query_string} page=page
RewriteRule (/)?$ http://www.mysite.nl/sub/page.html? [R=301,L]
to .htaccess for all your pages. So I did for all my pages but none of them (except the root) worked after that. I got the .htaccess file directly from the docs folder and uncommented the "/" and "\" redirects.
I added all the www.mysite.nl/subs/ to my robots.txt to be allowed but my question is this. Do I need to redirect and if so: how?
There is a lot about this on this forum and the documentation but nothing really conclusive. Is there like some kind of automated redirect? I don't care if I have to redirect all my pages manually either but as I said: I can't find how. And can someone explain the difference between internal pretty URLS and non-internal?
Thanks.
I've turned on pretty URLS according to the manual using mod_rewrite in config.php. My pages now change to
www.mysite.nl/sub/page.html
which is nice. But I read a lot about SEO suicide if you don't redirect your old page=blabla to you new pretty URLS. I found that you have to add:
RewriteCond %{query_string} page=page
RewriteRule (/)?$ http://www.mysite.nl/sub/page.html? [R=301,L]
to .htaccess for all your pages. So I did for all my pages but none of them (except the root) worked after that. I got the .htaccess file directly from the docs folder and uncommented the "/" and "\" redirects.
I added all the www.mysite.nl/subs/ to my robots.txt to be allowed but my question is this. Do I need to redirect and if so: how?
There is a lot about this on this forum and the documentation but nothing really conclusive. Is there like some kind of automated redirect? I don't care if I have to redirect all my pages manually either but as I said: I can't find how. And can someone explain the difference between internal pretty URLS and non-internal?
Thanks.