.htaccess help
Author
Discussion

_dobbo_

Original Poster:

14,619 posts

279 months

Friday 23rd April 2010
quotequote all
Ello folks! First up - I'm a mong when it comes to Apache so please go easy on me...

I've moved a bunch of content on my webserver from /blog/ to / -all fine so far.

Problem is some search engine links still reference /blog/ so I've been trying to use mod_rewrite to dynamically change them - I've got this:

RewriteEngine on
RewriteRule ^/blog/$ / [L]

Anyway it doesn't work - can anybody help me out?

smile

_dobbo_

Original Poster:

14,619 posts

279 months

Friday 23rd April 2010
quotequote all
Don't worry chaps managed to get it working with this:

redirect 301 /blog/ http://blah/