homepage Welcome to WebmasterWorld Guest from 54.227.77.237
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
Why does DW make my relative links absolute?
Rolf21




msg:3050415
 6:57 pm on Aug 17, 2006 (gmt 0)

Hi all,

don't know if this is a bug in DW or not, I'm hoping there's a setting I'm missing.

Sometimes, but not always, when I make a relative link (such as to ../a-file.html) DW saves it as absolute (like C:\local folder\local folder\a-file.html) - it's more than a bit of a pain, especially when the link is in a non-editable region of a template!

I always find a work around but I was wondering if anyone else has this and knows why, or how to stop it.

Thanks in advance

Rolf

 

jessejump




msg:3052155
 9:23 pm on Aug 18, 2006 (gmt 0)

One thing that helps is to Save the page before adding any links or images. Before the page is saved, DW doesn't know where the page will be, so it puts local paths.

Bewenched




msg:3052175
 9:47 pm on Aug 18, 2006 (gmt 0)

What version of DW are you using. I use 2.0 if i feel lazy about doing some tables and stuff else I do code edits with a text editor. I found using some of the newer versions it kept trying to rewrite code and turning & into &amp which is really annoying in asp.

Rolf21




msg:3052618
 11:49 am on Aug 19, 2006 (gmt 0)

Thanks for the replies.

I'm using 2004MX - although I'm less and less into it the more I use php and CSS. On top of the problem I posted about it seems to render things oddly a lot of the time, so I'm open to any suggestions of what versions (or other programs) might be better.

Someone told me the latest version is great for php/css so I'm considering an upgrade but the whole adobe takeover thing makes me uncertain about a)how much effort has been put into the latest version and b)what the future holds for dw in terms of support.

On the other point, I encoutered the porblem a few times when I putt links in before saving, but after figuring it out I made saving any new document the first part of my process. It certainly happens a lot less but unfortunately still happens - thanks for the suggestion though :-)

DerekH




msg:3053356
 9:34 am on Aug 20, 2006 (gmt 0)

Rolf21, in Dreamweaver MX for Mac, when you press on the Link symbol in the Properties window, you are taken to a file-explorer window where you can navigate to the file you want to link to.

On the Mac, at the bottom left hand corner is a pulldown that lets you make a relative (to document) or absolute (to site root) link....

That's what you need to change. Saving a file before adding links is, I believe, a red herring - I save when I feel like it :-)

DerekH

Rolf21




msg:3053376
 10:42 am on Aug 20, 2006 (gmt 0)

Derek - you are a genius! thankyou :-)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved