how to get wamp subfolders to act as the root so I can use relative paths on local server for it to work on live server without modifications?
how can i get wamp subfolders to act as the individual roots so I can use relative paths on local server for it to work on live server without modifications?
I have successfully installed several local sites and successfully transferred them to a live site. However, on the local sites i cannot use relative paths, it will give me an error.
for instance, I have a subfolder foo, on one of the pages I refer to a particular part of a page within my own website and link to it using the relative part: /what/#cms instead of the full part which would be [
localhost] and on the live site [
foo.com]
However, when using the relative path, wamp is trying to go to [
localhost] treating localhost as the root instead, and of course this page does not exist in localhost but in the subfolder foo.
Can anything to be done about this?
I am currently running about 5 local sites that i sync with the live sites and it is a lot of work to constantly have to change all the paths within the websites..
Thanks everyone!
Marjolijn
[
www.mafgirl.com]
Edited 1 time(s). Last edit at 01/19/2012 05:42PM by mafgirl.