Link to home
Start Free TrialLog in
Avatar of rhandalthor
rhandalthorFlag for Russian Federation

asked on

.htaccess redirect to the wrong locations

I am using a redirect to redirect visitors of my old blog to my new blog
Redirect 301 /log/ http://jasperfrumau.com/

Open in new window


this redirect seems to go to http://jasperfrumau.com/log and gives a 404. How can I fix this asap?

FYI http://wwww.gateway2thailand.com/log did go to http://jasperfrumau.com
Avatar of a1j
a1j
Flag of United States of America image


You can try redirecting using mod-rewrite.

RewriteRule ^(.*)$ http://jasperfrumau.com/ [R=301,L]
ASKER CERTIFIED SOLUTION
Avatar of a1j
a1j
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rhandalthor

ASKER

Seems like my redirect 301 is working after all. What is the benefit in using a RedirectMatch?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial