Forums
This topic is locked
Template not linking to files in folders
Posted 25 Oct 2006 21:16:58
1
has voted
25 Oct 2006 21:16:58 Tom Windeknecht posted:
Hi,I have a template that is for about 5 folders. Each folder has 3 html files in it. All the files in these folders are identical.
The template has links set to go directly to those identical pages in each folder.
For example:
Template
- home
- about
- contact
Folder
- home.html
- about.html
- contact.html
The problem, is that when I save and post, Dreamweaver is adding /Templates/ into the link:
/Templates/home.html
How can I set the link, so that it stays in the same directory/folder? I have tried ../ but this will take it to the root directory.
Any help is appreciated!
Thanks.
Replies
Replied 26 Oct 2006 18:20:54
26 Oct 2006 18:20:54 kelly redd replied:
have you tried hard coding the entire url or file path when linking to the files?
what should the links look like? www.yoursite.com/folder1/home.html?
could it be that you may have your site prefs set up to make your links relative to the site instead of the document?? that may have nothing to with it.
what should the links look like? www.yoursite.com/folder1/home.html?
could it be that you may have your site prefs set up to make your links relative to the site instead of the document?? that may have nothing to with it.