Help with Modrewrite in .htaccess
Posted on 2011-09-21
I have created a new website for someone and I need to point a directory from the old site to the root of the new site. I am having some problems with this and I think it is because the old directory had an apostrophe and a space in the name, for example Mike's Site.
Here is the code that I am trying to use in the .htaccess file but with no luck.
RewriteRule ^Mike%27s%20Site(/.*)?$ /$1 [L,R=301]
Will someone help me resolve this?