Web Hosting Talk







View Full Version : Help with url/file path setting in Dreamweaver 8


marjory
09-17-2006, 04:01 PM
Hi everyone,

I'm using Dreamweaver 8 and for some reason my url/path name visually changed in my new web page. Anything that requires a path (i.e. image, a link etc) now has a prefix in this particular page.

Ex. older files: Images/flower.gif

e.g. <img src="Images/Top Panel/whats new.jpg" name="whats new" width="97" height="49" border="0">


Now changed to: ../../Images/flower.gif.

e.g. <img src="../../Images/Top Panel/whats new.jpg" name="whats new" width="97" height="49" border="0">


The new extension is found everywhere a file path is viewed or written. For example, it’s in the code and it’s in the url path when I am looking at an image source. This is really annoying because when I try to copy fields from my new web page to put in the older files, it includes this ../../ prefix which doesn’t exist in the older files. Even when I create a new page the prefix is now present.


My root folder is stored in my c drive along with everything else. My url is relative to the document and not the site root. This is the setting I always use. It’s the same on every page, even the new page with this additional prefix.

How do I get it back to the original path setting?

Thanks!!!

retxedz
09-17-2006, 05:04 PM
You may need to change to site directory. Create a virtual directory and use it as your DW8 site folder.

marjory
09-17-2006, 05:12 PM
Thanks for your response. I would prefer to keep the site directory like the older files. I don't see why I have to create a virtual directory when it was working fine before. I just want to go back to the original setting.

thanks,