Dreamweaver and absolute paths

brightsusan
brightsusan used Ask the Experts™
on
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?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
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
Jason C. LevineDon't talk to me.

Commented:
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.

Commented:
to make it easy use notepad and just copy and paste when required into dreamwaever
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Jason C. LevineDon't talk to me.

Commented:
Ian, how is that easier?  Seriously, dude.  Learn DW's features...

Author

Commented:
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"
Jason C. LevineDon't talk to me.

Commented:
There is no way to do it in Dreamweaver automatically.  You will be hand-typing each one.
Commented:
no yu cannot do it in dreamweaver I do in in notepad and copy and paste to get the right url

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial