Solved

Udating Links when Loading to Server...

Posted on 2004-08-31
3
149 Views
Last Modified: 2010-04-25
I have a site that I'm creating in dreamweaver.  I've set up the site with the url that will be used once all files are uploaded to the server.  As long as I just create links within the file structure for now, will the links update when I post them to the server?  Will I have to recreate all paths before uploading to the server?
0
Comment
Question by:johnson00
  • 2
3 Comments
 
LVL 10

Expert Comment

by:rockmansattic
ID: 11951407
Dont really understand the question?
It is best to have all paths relative.  This way, you can change the location of the site and everything will still work.
dont use absolute links for html pages.  Also, DW will update them for you AS YOU MOVE THEM on the local side.

Let me know if this helps.
An example would be good.

Rockman
0
 
LVL 2

Author Comment

by:johnson00
ID: 11951897
For example, I have links pointing to file://H|location/filename.htm while the site is being created without being live.  Once I make the site live, I don't want to have to change all of these links from pointing to file locations to an http://www.location/filename.htm.  I'm wondering if Dreamweaver will take care of that for me when I move the files to the server.  Does that make more sense?
0
 
LVL 10

Accepted Solution

by:
rockmansattic earned 250 total points
ID: 11951950
Yes.
and no DW will not change the code like that.
When you make links to files as well as other pages, they NEED to be relative, not absolute.  
<a href="h:locations/filename.exe">
should be
<a href="../location/filename.exe">
or whatever the relative path.

This way, when you do upload the files and the pages, it all works.

*the only time DW does update this code is when you are using Templates and you have not yet saved the page.

Rockman
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now