• This thread is just the tip of the iceberg.The people ahead of the curve aren't Googling for answers — they're already in here, having the conversations you haven't found yet. DealerRefresh is free.Get the full picture →

Dreamweaver question

Rick Buffkin

Sausage King of Chicago
Oct 29, 2009
774
919
Awards
10
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
 

✨ AI Highlights

Rick Buffkin asks about converting relative image and link paths to absolute paths in Dreamweaver, hoping for a built-in setting or checkbox rather than manual search-and-replace. Karen Ann explains there's no automatic solution but suggests using "Links relative to Site Root" combined with find-and-replace, while Jason Petkov recommends abandoning Dreamweaver altogether in favor of modern tools like Sublime Text and local server environments like WAMP.

Replies Views 4 3,342 Started Last Reply