Page 1 of 1

301 redirects

Posted: Sun Mar 15, 2009 1:41 pm
by johnmck
Hi Guys,
I posted a question about htaccess re-writes and 301 redirects into another forum area but it appears it has been deleted.
Wish I had have been notified as it's important to me !

Anyway here is my problem.
I've enabled the htaccess url re-writes as specified by the cmsms documentation

however, I've some old urls that I want to point to the new website
The old page specials.php will need to go to the new section www.xxx.com/specials

However the url is being re-written as http:/xxxx.com/events/?page=specials.php

Re: 301 redirects

Posted: Sun Mar 15, 2009 5:43 pm
by nhaack
Hi johnmck,

you could try something like the following in htaccess, place this before the actual CMSMS rewriting:

Code: Select all


Redirect 301 /specials.php http://www.example.com/specials

The first hit on google for "301 redirect old page to new one" with the url http://www.webweaver.nu/html-tips/web-redirection.shtml explains the issue ;)

Best
Nils