Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

full path

Posted on 2003-11-18
7
Medium Priority
?
313 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 2000 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
[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

 
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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

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 …
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…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses
Course of the Month5 days, 20 hours left to enroll

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