Solved

full path

Posted on 2003-11-18
7
309 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
[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
  • 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

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