I am creating a new website, and to test it, I need it uploaded to my webserver. I currently have a website uploaded which I want users to continue to access. The issue I have, is the new website is placed in a directory on that webserver called _new/. As such the address for that would be www.example.com/_new/
The website has been written so all the links are relative to the top directory (/folder/newfolder/file.ext). Unfortunately, this causes a conflict with the new site since it will grab the wrong .css file and wrong links. I don't really want to have to go into the files and individually change the coding for it so is there a way of defining where the root directory should be in the .htaccess file?
Effectively, I'm trying to make it so instead of having the root site look for files direct from the top, I want it to treat /_new/ as the root directory. Can it be done in the .htaccess?
Powered by neoforums v1.9.0 (annabelle) Copyright Neo Era Media, Inc. 1999-2013