Hi I need some help and would really appreciate it as I find it very tricky. I have a website which is currently redirected to a subfolder Eg: domain-.com/subfolder Now I dont want it to goto subfolder but since its and old site many people have bookmarked articles with /subfolder I have already organized my code under main domain-.com So I wanted to redirect anyone visiting domain-.com/subfolder/xyz to domain-.com/xyz so I wrote the following code which does not seem to work RewriteRule /sub-folder/(.*) /$1 [R=301,NC,L] Code (markup): So if you request /subfolder/foo.html you will be told that the page has moved permanently to /foo.html Is there something wrong with this ? Can you help ? Thanks a lot.