Link to home
Start Free TrialLog in
Avatar of brightsusan
brightsusanFlag for United States of America

asked on

Dreamweaver and absolute paths

Is there a way to set up dreamweaver to automatically use an absolute path instead of the relative path?

for instance instead of  "about.html" I would like it to be "http://www.brightideaswebdesign.com/about.html"

Is there a way to do that automatically or an easier way than typing it in each time?
Avatar of IanTh
IanTh
Flag of United Kingdom of Great Britain and Northern Ireland image

yes you can by typing it over dreamweavers default settings however is that when your testing or deployed as I would leave it well alone if your just testing as its a problem in dreamweaver if you start messing the paths up
Avatar of Jason C. Levine
Hi Susan,

Sort of.  You can use an absolute path by default but not a full URL (which is what you have above).

Go to the Site Definition | Local Info (found under Advanced in CS5) and select Links Relative To: Site Root.

That will write all links as:

/about.html

which will work no matter what level of directory the user is in.

to make it easy use notepad and just copy and paste when required into dreamwaever
Ian, how is that easier?  Seriously, dude.  Learn DW's features...
Avatar of brightsusan

ASKER

Not really what I was looking for.  I am working on SEO and it says that it is best to use the full URL instead.  I just wanted to know if there was an easier way to automatically do the URL without having to go in a type "http://www.brightideaswebdeisgn.com" before every link.

So basically I want the link to be "http://www.brightideaswebdesign.com/about.html" instead of "/about.html" or "../about"
There is no way to do it in Dreamweaver automatically.  You will be hand-typing each one.
ASKER CERTIFIED SOLUTION
Avatar of IanTh
IanTh
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial