Solved

full path

Posted on 2003-11-18
7
296 Views
Last Modified: 2010-04-25
How do I make dreamweaver MX automatically use the full path of a link img src etc.  Also is there a way to make it go back and put in the full path of anything already done.  

ie: change all the /cgi-bin to http://www.asdf.com/cgi-bin

thanks
0
Comment
Question by:livegirllove
  • 3
  • 3
7 Comments
 
LVL 8

Accepted Solution

by:
klykken earned 500 total points
ID: 9775623
Unfortunately, there is no feature in Dreamweaver MX to change all your links to absolute links.

You can add absolute source of an image manually by typing in the full url in the Image Properties Panel 'Src'.

-klykken
0
 
LVL 1

Author Comment

by:livegirllove
ID: 9775653
Ok not the answer I was looking for but oh well.  I'll leave this open for a day or so.  If I get no other answers I'll award you the points.

For all the rest of you out there, find and replace doesn't count!!!!
0
 
LVL 8

Expert Comment

by:klykken
ID: 9779864
livergirllove,
In the mean time, can I ask you why you would like to have all your urls to be absolute? :-)
Maybe there's other options.

-klykken
0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 23

Expert Comment

by:Saqib Khan
ID: 9780478
livegirllove there is a Very EASY way to go around this problem And I am sure it will work.

Do a Search and Replace for the Whole Site/Page

Search for    > /cgi-bin
Replace with >  http://www.asdf.com/cgi-bin

And Viola with one Click everything is changed:)
0
 
LVL 1

Author Comment

by:livegirllove
ID: 9780894
Klykken-
I have a page in my root folder and now it has to go into a subfolder so all the urls will be wrong to everything.  So I could do a find/replace for /images /cgi-bin and /gallery and a few other folders.  But I just wanted to know if it cold be done with a command.  Also is there a reason why absolute paths are not used.  Is it faster.  The amount of charachters it takes to add full url can't affect page load speed too much, can it?

0
 
LVL 8

Expert Comment

by:klykken
ID: 9781548
One reason for not using abolute paths, is like you mentioned, that the url will be shorter, often less than half. It also makes it easy for you to for example move all your files to a new domain, or browse through your website through your ip adress before a new dns change has resolved.

In Dreamweaver there is another good reason to use relative paths. DW keeps a Site Cache with information abuot how all the file relate to eachother. Of you are draggin and dropping a html file from within Dreamweaver to a new folder, DW will ask you if you want to update the link to that file throughout the whole site. Pretty neat.

You can try to do this with one file, and dreamweaver should ask you if you want to update all the links pointing to that file.

Let me know if this helps!

-klykken
0
 
LVL 1

Author Comment

by:livegirllove
ID: 9781878
Yeah your right I do that all the time and it does make it easier.  Here are the points.  I was just trying to take the easy road.

thanks
all
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

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…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

831 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