Redirecting links within a subfolder
I'm brand new to this site, so please excuse if I've posted this in the wrong area.
I'm developing a website for a customer located at www.mydomain.com/projects/customer. This site will eventually be moved to www.customer.com.
I'm trying to style my links as straight /index.html and /about.html, INSTEAD OF /projects/customer/index.html and /projects/customer/about.html so when the site is moved, I won't have to redo a hundred links and change them all back to /index.html and /about.html.
I tried creating a .htaccess file in the /projects/customer folder that said:
Options +FollowSymlinksMy thinking is that it should take a link called /about.html and show instead /projects/customer/about.html, but it's just plum not working. /about.html still goes to www.mydomain.com/about.html
RewriteRule ^index/$ /projects/customer/index.html [L]
RewriteRule ^about/$ /projects/customer/about.html [L]
I'm very new to .htaccess and don't really know what I'm doing, and I have no idea if there's a better way to do this anyway. Can anyone help??