301 redirects

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
swapdude
New Member
New Member
Posts: 9
Joined: Mon Jan 14, 2008 5:11 am

301 redirects

Post by swapdude »

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
Last edited by swapdude on Sat Mar 22, 2008 5:04 pm, edited 1 time in total.
Pierre M.

Re: 301 redirects

Post by Pierre M. »

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.
swapdude
New Member
New Member
Posts: 9
Joined: Mon Jan 14, 2008 5:11 am

Re: 301 redirects

Post by swapdude »

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,
Pierre M.

Re: 301 redirects

Post by Pierre M. »

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.
This is a webserver issue. This is management of the exposure of the public URLs of your site, whatever CMS you are using behind.

You should search Google to learn how to make 301 redirect inside your 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
See ? your question is about redirects inside the webserver.
Just google the Redirect directive of Apache.

Pierre M.
Post Reply

Return to “CMSMS Core”