I have an externally hosted web site written in PHP which I would like to start modifying on my PC before posting back up. I have taken a copy of the live website, and have installed WAMP server to allow me to view the PHP files. But I'm having a problem recreating the directory structure of the external site.
For example, index.php displays the text element, but because it links to the header and css files located in:
/css/corewaste.css
/home/wasteuti/public_html/inc/header.html
It doesn't display any of the colours or graphics.
When I manually type the locations into the web browser I get the standard "page not found" error message, but if I precede them with "localhost" (i.e.
http://localhost/home/wasteuti/publi...nc/footer.html) they display OK. How do I link the 'root' directory with 'localhost'? My hosts file does have the 127.0.0.1 localhost entry in it.
Thanks
Rob