This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > September 2005 > Site-Wide Link Problems
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Site-Wide Link Problems
|
|
| exodust 2005-09-25, 3:17 am |
| In dreamweaver, I have changed the links on the (common) navigation bar so that
they are in the format of (folder/file.htm)
For example the link to the contacts page would read "company/contacts.htm".
The theory is, then they will stil work when I ftp them.
HOWEVER...
when I test the site at home in IE or Mozilla and click on the same link
mentioned above, it looks for:
file:///C:/Documents%20and%20Settings/myname/Desktop/Enterpriseco//company/conta
cts.htm
which it cannot find.
Why is it doing this? Is it to do with how I set up my home folder? I have
tried several options when setting up the site home folder, the settings I am
currently using are "during development, edit copies on my own machine", and
connect to the remote server by "local/network".
Any sugestions would really be appreciated.
| |
| Murray *TMM* 2005-09-25, 6:20 pm |
| Try this -
1. Create a new page in DW after selecting *any* site you have defined.
2. Insert an image from within that site into the page.
3. Look at the code (before saving the page) and you will see a link that
points to the file on your hard drive. This is because DW doesn't know
where you are going to save that file yet, hence it cannot write the link as
it will be in the final page.
4. Save the page within the site you are using currently and look at the
code again. Note that the link style has changed now that DW knows where
the page is to be located within the site.
5. Now, save the page *outside* the defined site (you can use the global
icons at the top of your site list to do this), and look at the code again.
Note that the link has reverted to the original form (and will therefore be
broken when you upload the file) because DW cannot track that image file as
a function of the root of the site anymore (not knowing where the root is in
relation to where you have now saved the page).
That's usually why.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"exodust" <webforumsuser@macromedia.com> wrote in message
news:dh5atg$3bm$1@forums.macromedia.com...
> In dreamweaver, I have changed the links on the (common) navigation bar so
> that
> they are in the format of (folder/file.htm)
> For example the link to the contacts page would read
> "company/contacts.htm".
> The theory is, then they will stil work when I ftp them.
>
> HOWEVER...
>
> when I test the site at home in IE or Mozilla and click on the same link
> mentioned above, it looks for:
>
>
> file:///C:/Documents%20and%20Settings/myname/Desktop/Enterpriseco//company/conta
> cts.htm
>
> which it cannot find.
>
> Why is it doing this? Is it to do with how I set up my home folder? I have
> tried several options when setting up the site home folder, the settings I
> am
> currently using are "during development, edit copies on my own machine",
> and
> connect to the remote server by "local/network".
>
> Any sugestions would really be appreciated.
>
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|