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
Solved

Udating Links when Loading to Server...

Posted on 2004-08-31
3
160 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
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 …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

839 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