PDA

View Full Version : Document vs. Site Relative


aestronza
04-27-2006, 03:22 PM
I am working in Dreamweaver 8 and have discovered a problem!!! Eeek!

It seems that somehow my ENTIRE SITE was changed from site relative to document relative. At this point how it happened doesn't matter to me. What matters is, FIXING it -- GLOBALLY! I have gone into site/manage site/edit and realized that somehow, someway, the site was set up as "document" relative. I have clicked the radio button for "site" relative hoping it would change all my image files, site-wide, to site relative. But to my dismay it didn't work. IS THERE A GLOBAL FIX so that I don't have to painfully go thru a site of over 300 pages?!?!?!

HEEEEEEeeeeeeeeeeeeeeellllp!!!! :(

davidj
04-27-2006, 03:25 PM
post an example of the link you want to edit

aestronza
04-27-2006, 03:36 PM
The page the problem was discovered on is: http://www.deborahfoundation.org/chapters/bike/bikers06_flyer.asp

Upon visiting the site you will be asked to register, just click "no."

However, I have discovered that this is a site-wide issue.

davidj
04-27-2006, 04:02 PM
In DW open a page and click ctrl + F

find and replace opens

settings for a global site wide change! >>>>

Find In : Entire Current Local Site
Search : Source Code
Find : (example .. http://www.deborah.org/images/image.jpg)
replace : images/image.jpg

this will replace every instance of http://www.deborah.org/images/image.jpg with images/image.jpg

click button Replace All

warning
this will do a global change to every page in your site.
if you get it wrong i dont want no tears

triple check you have everything right before you click that button

aestronza
04-27-2006, 04:12 PM
warning
this will do a global change to every page in your site.
if you get it wrong i dont want no tears

triple check you have everything right before you click that button


TRUST ME!!! I have learned this lesson!!! Better yet, I backed up the site in another location ... JUST IN CASE!!!! I'll give it a try. If it doesn't work, I'll b back. If it does, THANK YOU THANK YOU THANK YOU !!!!!