Solved

the fastest way to convert all links that are "relative to document" to "relative to site

Posted on 2004-09-28
3
173 Views
Last Modified: 2010-04-25
Hello

What would be the fastest way to convert all links that are "relative to document" to "relative to site"?  
 
if this is what i have right now:
<img src="CCImages/FinalCCImages/redbutton.gif">
 
I tried to change it to:
<img src="/CCImages/FinalCCImages/redbutton.gif">
 
but now all the images are not showing (just an X) including my navbar is gone.
 
Thanks
0
Comment
Question by:mdbbound
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
adilkhan earned 500 total points
ID: 12173662
> <img src="/CCImages/FinalCCImages/redbutton.gif">

by doing this it is assumed "CCImages/" Folder is within your Site ROOT folder (where the index Page is)?
if thats true then it should work, otherwise you have to define the Correct Path.(/Images/CCImages/.. etc)
0
 
LVL 23

Assisted Solution

by:adilkhan
adilkhan earned 500 total points
ID: 12173679
in most cases we do Global Search and Replace in DW.

Search for  - >    /CCImages/
Replace with - >  http://www.site.com/CCImages/

Good Luck
0
 

Author Comment

by:mdbbound
ID: 12173938
Thanks adilkhan
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
Webpage needs to float with gray border all around 7 256
Weird problem with dreamweaver CS5.5 3 545
Resume template for HTML/Dreamweaver website 9 513
CSS Layout Help 7 230
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

920 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

14 Experts available now in Live!

Get 1:1 Help Now