View Single Post
Old 04-20-2010, 09:13 PM  
The Dawg
Confirmed User
 
The Dawg's Avatar
 
Join Date: Apr 2002
Location: State Of Bliss
Posts: 2,438
Quote:
Originally Posted by CYF View Post
RedirectPermanent /ford-cars/ford-focus Ford_Cars/Ford_Focus/

this should work in apache, ymmv
RedirectPermanent causes an Internal Server Error.

This worked, redirected fine:

RewriteRule /ford-cars/ford-focus Ford_Cars/Ford_Focus/ [L,R=301]

BUT, if I add this line:

RewriteRule /ford-cars Ford_Cars/ [L,R=301]
RewriteRule /ford-cars/ford-focus Ford_Cars/Ford_Focus/ [L,R=301]

All of the lines after it stop working and just redirect to domain.com/Ford_Cars/

The Dawg is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote