Solved

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

Posted on 2004-09-28
3
178 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
[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
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
Saqib Khan 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:Saqib Khan
Saqib Khan 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Record Button 3 233
Lock Form Controls 3 315
Debug PHP with Dreamweaver 6 983
CS6 Adobe Dreamweaver Alphanumeric list 4 144
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

732 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