Solved

full path

Posted on 2003-11-18
7
293 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 Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 23

Expert Comment

by:adilkhan
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
problems opening dw files with cs6 8 288
multiple selection list and png image 5 364
Responsive CSS Layout? 6 44
Best code editor tool for PC 4 132
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…
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…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

867 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now