Solved

Udating Links when Loading to Server...

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

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…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

785 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