• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 183
  • Last Modified:

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

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
mdbbound
Asked:
mdbbound
  • 2
2 Solutions
 
Saqib KhanSenior DeveloperCommented:
> <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
 
Saqib KhanSenior DeveloperCommented:
in most cases we do Global Search and Replace in DW.

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

Good Luck
0
 
mdbboundAuthor Commented:
Thanks adilkhan
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now