HighDots Forums  

Moving Web Pages in MX 2004

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Moving Web Pages in MX 2004 in the Macromedia Dreamweaver forum.



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

Default Moving Web Pages in MX 2004 - 11-01-2005 , 07:48 AM






I created a web page in the wrong folder
in my web site. Right now it is in the root folder.
I want to move it to a sub folder off the root.

However, all the relative paths to the images will
have to be changed if I move the web page. Currently
they are images/xxx.jpg, images/yyy.jpg, etc.

If I move the web page where it should be, the paths need to be
changed to ../images/xxx.jpg and ../images/yyy.jpg, etc.

Can Dreamweaver do this for me? I moved the page (cut and pasted)
to the correct folder, but all the image links were broken when I opened
it in Dreamweaver (of course). Is Dreamweaver smart enough to fix this
for me? I really don't want to change every image link on the page manually...

There is also the issue of links to this page from other pages,
but I don't want to expect too much from Dreamweaver.



Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Moving Web Pages in MX 2004 - 11-01-2005 , 08:17 AM






Quote:
Can Dreamweaver do this for me?
Yes. Drag and drop it.

Quote:
There is also the issue of links to this page from other pages,
but I don't want to expect too much from Dreamweaver.
You should. This is a common operation - and the cut and past should have
worked too.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(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
==================


"JPR" <jakbobNOSPAM (AT) hotmail (DOT) net> wrote

Quote:
I created a web page in the wrong folder
in my web site. Right now it is in the root folder.
I want to move it to a sub folder off the root.

However, all the relative paths to the images will
have to be changed if I move the web page. Currently
they are images/xxx.jpg, images/yyy.jpg, etc.

If I move the web page where it should be, the paths need to be
changed to ../images/xxx.jpg and ../images/yyy.jpg, etc.

Can Dreamweaver do this for me? I moved the page (cut and pasted)
to the correct folder, but all the image links were broken when I opened
it in Dreamweaver (of course). Is Dreamweaver smart enough to fix this
for me? I really don't want to change every image link on the page
manually...

There is also the issue of links to this page from other pages,
but I don't want to expect too much from Dreamweaver.




Reply With Quote
  #3  
Old   
James Shook
 
Posts: n/a

Default Re: Moving Web Pages in MX 2004 - 11-01-2005 , 08:21 AM



Outside of DW, move the page back where it was so all of the links will
be correct again. Check all the links to make sure, and check the other
pages that link to the page.

Now, open DW, recreate the site's cache (just for good measure), and
open the site window. Pick up and move the icon in the site widow that
represents the page you want to move. Once you have dropped it into the
new location, DW will ask you if you want all of the links updated. Say
yes. DW should remake the links within the page so that they are
adjusted to the page's new location, and adjust the links in any other
pages that point to this page.

--
James M. Shook
http://www.jshook.com

Reply With Quote
  #4  
Old   
James Shook
 
Posts: n/a

Default Re: Moving Web Pages in MX 2004 - 11-01-2005 , 08:40 AM



Or...

Just open the page in DW and save it to the location where you want it
to be. DW will adjust all of the links for you.

--
James M. Shook
http://www.jshook.com

Reply With Quote
  #5  
Old   
JPR
 
Posts: n/a

Default Re: Moving Web Pages in MX 2004 - 11-01-2005 , 09:20 AM



So easy.... It worked. Thanks much!


"James Shook" <jshook (AT) dont_mail (DOT) com> wrote

Quote:
Outside of DW, move the page back where it was so all of the links will be correct again. Check
all the links to make sure, and check the other pages that link to the page.

Now, open DW, recreate the site's cache (just for good measure), and open the site window. Pick up
and move the icon in the site widow that represents the page you want to move. Once you have
dropped it into the new location, DW will ask you if you want all of the links updated. Say yes.
DW should remake the links within the page so that they are adjusted to the page's new location,
and adjust the links in any other pages that point to this page.

--
James M. Shook
http://www.jshook.com



Reply With Quote
  #6  
Old   
James Shook
 
Posts: n/a

Default Re: Moving Web Pages in MX 2004 - 11-01-2005 , 10:08 AM



James Shook wrote:
Quote:
Or...
Should have been: As before, outside of DW move the file back to its
original location, then

Quote:
Just open the page in DW and save it to the location where you want it
to be. DW will adjust all of the links for you.

--
James M. Shook
http://www.jshook.com


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.