Hi,
I previously had my site in default mode
http://www.domain.com/index.php/pageonsite/
But I recently changed the setting to pretty urls. But my site is already indexed by the search engines.
Is there anyway to implement 301 redirects for old pages in order to prevent duplication of pages in the search engines.
Technically the old pages would still work even after configuring the CMS for pretty URLS.
Regards,
swap
301 redirects
301 redirects
Last edited by swapdude on Sat Mar 22, 2008 5:04 pm, edited 1 time in total.
Re: 301 redirects
Hello,
this is a webserver issue, not specific to CMSms.
Have you searched these forums for '301' ? There are already posts on this topic.
Pierre M.
this is a webserver issue, not specific to CMSms.
Have you searched these forums for '301' ? There are already posts on this topic.
Pierre M.
Re: 301 redirects
This is not a server issue.
My Original Site had internal pretty urls enabled
so the pages were
http://www.site.com/index.php/pagename
Now i enabled the mod_rewrite and the urls are http://www.site.com/pagename
My problem is that all the pages in search engines are indexed as /index.php/pagename
How do i Set up mod_rewrite to redirect to /pagename
Regards,
My Original Site had internal pretty urls enabled
so the pages were
http://www.site.com/index.php/pagename
Now i enabled the mod_rewrite and the urls are http://www.site.com/pagename
My problem is that all the pages in search engines are indexed as /index.php/pagename
How do i Set up mod_rewrite to redirect to /pagename
Regards,
Re: 301 redirects
This is a webserver issue. This is management of the exposure of the public URLs of your site, whatever CMS you are using behind.swapdude wrote: But I recently changed the setting to pretty urls. But my site is already indexed by the search engines.
Is there anyway to implement 301 redirects for old pages in order to prevent duplication of pages in the search engines.
You should search Google to learn how to make 301 redirect inside your webserver.
See ? your question is about redirects inside the webserver.swapdude wrote: My problem is that all the pages in search engines are indexed as /index.php/pagename
How do i Set up mod_rewrite to redirect to /pagename
Just google the Redirect directive of Apache.
Pierre M.