URL rewrites

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
johnmck
Forum Members
Forum Members
Posts: 34
Joined: Wed May 30, 2007 4:56 pm

URL rewrites

Post by johnmck »

Hi,
Ok I've installed the URL rewrites and it is working.
The only problem now is that I've pages from my the old website the need 301 redirects to the new pages on the new site , and these urls are being rewritten.

For example:

Redirect 301 /conference.php http://www.somehotel.com/conference

When somebody clicks on an old inbound link say that has www.somehotel.com/conference.php , instead of going to the correct page on the new site which is http://www.somehotel.com/conference, it gets rewritten as

http://www.somehotel.com/conference/?pa ... rence.php/
Pierre M.

Re: URL rewrites

Post by Pierre M. »

Hello,

this has already been answered but I admit it is hard to find in the forum.
The tip : don't use "redirect".
-use a rewrite cond+rule instead to make the external 301
-put your standard pretty URL cond+rules after

Pierre M.
Post Reply

Return to “CMSMS Core”