![]() |
Help with 301 redirects.
If I have:
http://www.domain.com/ford-cars/ford-focus/ how do I 301 redirect it to: http://www.domain.com/Ford_Cars/Ford_Focus/ :helpme: |
RedirectPermanent /ford-cars/ford-focus Ford_Cars/Ford_Focus/
this should work in apache, ymmv |
RedirectPermanent /ford-cars/ford-focus /Ford_Cars/Ford_Focus/
I should have put a / in front of Ford_Cars |
Try these sites if you still need help or need to do it with .htaccess.
http://www.htaccessgenerator.net/#a_redirect http://www.htmlbasix.com/customerrorpages.shtml |
Redirect 301 /ford-cars/ford-focus/ http://www.domain.com/Ford_Cars/Ford_Focus/
(you'll need the standard .htaccess header already organized) |
curious why
|
Quote:
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/ :( |
All times are GMT -7. The time now is 05:37 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123