• Stop being a LURKER - join our dealer community and get involved. Sign up and start a conversation.

Dreamweaver question

Rick Buffkin

Sausage King of Chicago
Oct 29, 2009
745
852
Awards
8
First Name
Rick
Any of you guys thats using Dreamweaver know of a easy way to set up Absolute paths for images / links instead of relative links / paths. I know I can do a search and replace in my document, but I was thinking theres got to be an easier way. Maybe I'm missing something here. I've been searching Google and I can't find a easy way to do this. I was thinking there was a check box or a site setting somewhere I could set up so that after I insert my images into my document, upload the document & images to my server, I can go the the live page, view the source and there's the absolute link to my images. Right now I'm only showing relative links for the image paths.

Maybe I should just upload all the images to the server first.

Any ideas???
 
I don't think you can. But you can get closer by using "Links relative to Site Root" instead of document and then completing a find and replace of href="/ to href="http://www.sitename.com/

Edit: the site reference change is not retroactive, you will have to change all your already created pages manually.
 
Last edited:
PHP is your friend! I've stopped using Dreamweaver years ago and have turned into a Sublime Text junkie. You can also setup a simulated server on your PC using WAMP, and put the paths in there, using your windows Hosts file to redirect to your live WAMP directory