• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Using absolute links

New Here ,
May 10, 2023 May 10, 2023

Copy link to clipboard

Copied

Forgive me if this is a silly question. I haven't used Dreamweaver in quite a number of years and I am much more of a hobbiest than anything else.

I am maintaining my wife's photography site for her. The page header is common across all pages, while the content may, for my simplicity, run several layers deep in a heirarchy. I would like for things like css, scripts, common elements to be maintained in folders at the site level, so I can always reference the menu css as "/css/menu.css". This works fine in a webserver, but in the Dreamweaver live/split mode it does not find it.

I can force it to find the files by using relative links, but I'd prefer not to maintain these.

I have defined a local site path, and for images I have created the images folder in the advanced set up.

Is there something I am missing, or do I have to revert to relative links - certainly doable, but more maintenance.

Thanks

 

Views

311

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , May 10, 2023 May 10, 2023

There are three types of link paths:

https://helpx.adobe.com/dreamweaver/using/linking-navigation.html

 

If your local site folder is defined, Dreamwaver automatically manages link paths for you. 

Go to Site > Manage Sites > C:\MySite\

See screenshot.

 

image.png

 

I use Docume

...

Votes

Translate

Translate
Community Expert ,
May 10, 2023 May 10, 2023

Copy link to clipboard

Copied

There are three types of link paths:

https://helpx.adobe.com/dreamweaver/using/linking-navigation.html

 

If your local site folder is defined, Dreamwaver automatically manages link paths for you. 

Go to Site > Manage Sites > C:\MySite\

See screenshot.

 

image.png

 

I use Document Relative links.  They work well locally and on the server.  

Site-Root Relative links work on the server but may not work locally.  

Dreamweaver does NOT manage Absolute links for you.

 

Hope that helps.

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 10, 2023 May 10, 2023

Copy link to clipboard

Copied

LATEST

Thank you Nancy. My findings are consistent with what you have written "Site-Root Relative links work on the server but may not work locally." I will revert back to document relative links since that seems to be the only way I can see the changes in "Live" mode.

Thanks

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines