Solved

Udating Links when Loading to Server...

Posted on 2004-08-31
3
175 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
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…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

630 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