HighDots Forums  

Change links from site relative to document relative

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Change links from site relative to document relative in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
davecheet
 
Posts: n/a

Default Change links from site relative to document relative - 04-30-2006 , 01:03 PM






Hi Folks,

I'm afraid I've messed up again! I've churned out a pile of pages - master,
detail confirmation etc etc for an adim menu and in my haste I waited til the
end to test them.

To my horror I now find all the links are site relative and not document
relative as I need.

Does anyone know a quick way I can change this or do I need to work through
each link by hand?

Cheers


Dave


Reply With Quote
  #2  
Old   
Josie1one
 
Posts: n/a

Default Re: Change links from site relative to document relative - 04-30-2006 , 01:21 PM






Edit > Preferences > Manage Sites > (Select site in question) > Advanced
Tab, click on Links relative to Document.
Or Site/manage sites, same thing.
I'm fairly sure this will change all your files as I did the same thing. If
it doesn't somebody will correct me.
Jo

"davecheet" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi Folks,

I'm afraid I've messed up again! I've churned out a pile of pages -
master,
detail confirmation etc etc for an adim menu and in my haste I waited til
the
end to test them.

To my horror I now find all the links are site relative and not document
relative as I need.

Does anyone know a quick way I can change this or do I need to work
through
each link by hand?

Cheers


Dave




Reply With Quote
  #3  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Change links from site relative to document relative - 04-30-2006 , 01:32 PM



Why do you feel you need document relative links?

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"davecheet" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi Folks,

I'm afraid I've messed up again! I've churned out a pile of pages -
master,
detail confirmation etc etc for an adim menu and in my haste I waited til
the
end to test them.

To my horror I now find all the links are site relative and not document
relative as I need.

Does anyone know a quick way I can change this or do I need to work
through
each link by hand?

Cheers


Dave




Reply With Quote
  #4  
Old   
skoolydee
 
Posts: n/a

Default Re: Change links from site relative to document relative - 06-07-2006 , 01:24 AM



Guys,
I have a similar problem - I've inherited an intranet "site" (btw it runs off
a shared network drive - ie not a server, if that makes a difference).

Some of the links are doc-relative, some are absolute. It's a total mess.
The main problem is dead links - eg I find links like
'file:///C:/Some_guys_local_folder/etc' peppered through the site.

Is there way to convert all absolute paths within a given site into doc
relative, or will I have to do it by hand? (I can't find "Links relative to
Document" in Jo's post).

More info - The pages weren't created in DW originally (probably Front Page,
or by people converting Word docs to HTML). I've tried to bring some order in
by defining a site in DW, and using doc-relative paths for new pages, but these
'remnants' are taking a lot of time to clean out. At what point do I say to my
manager, "Let's just wait until I get the new site finished"?

Cheers,
D.


Reply With Quote
  #5  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Change links from site relative to document relative - 06-07-2006 , 07:15 AM



Quote:
At what point do I say to my
manager, "Let's just wait until I get the new site finished"?
Now? No, I didn't think you'd go for that.... 8)

Get and install this extension:
relativity from Jason Delgarno

http://e7x.com/dw/

It has a dialog box and help files and it will change a single page, folder,
or sitewide from one method to the other.



--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"skoolydee" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Guys,
I have a similar problem - I've inherited an intranet "site" (btw it runs
off
a shared network drive - ie not a server, if that makes a difference).

Some of the links are doc-relative, some are absolute. It's a total
mess.
The main problem is dead links - eg I find links like
'file:///C:/Some_guys_local_folder/etc' peppered through the site.

Is there way to convert all absolute paths within a given site into doc
relative, or will I have to do it by hand? (I can't find "Links relative
to
Document" in Jo's post).

More info - The pages weren't created in DW originally (probably Front
Page,
or by people converting Word docs to HTML). I've tried to bring some
order in
by defining a site in DW, and using doc-relative paths for new pages, but
these
'remnants' are taking a lot of time to clean out. At what point do I say
to my
manager, "Let's just wait until I get the new site finished"?

Cheers,
D.




Reply With Quote
  #6  
Old   
skoolydee
 
Posts: n/a

Default Re: Change links from site relative to document relative - 06-07-2006 , 08:59 PM



Guys,

That extension works a treat!! I've tested on my sandpit site and all is well, thanks again.

D

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.