Solved

Udating Links when Loading to Server...

Posted on 2004-08-31
3
144 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Request.Querystring with Cookie 5 301
Dreamweaver Styles 7 391
unable to connect to host / dreamweaver cs3 11 143
Best code editor tool for PC 4 127
For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
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…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

772 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

14 Experts available now in Live!

Get 1:1 Help Now