Link to home
Start Free TrialLog in
Avatar of bower515
bower515

asked on

How do I change links sitewide with just one command?

I'm looking to update a large number of pages at the same time.  The pages have been moved from one directory to another and the links need to be updated.  I'm looking to do this with one command rather than having to open up each page by hand and do it that way.  Is there a command that will do it for me so I can save a large amount of time?  Thanx in advance.

Matt
Avatar of Havin_it
Havin_it

If you're working in DWMX or better, this is a doddle.  Just re-define the site and set its root according to the changed location of the new pages, and the rest should be done automatically.  If you haven't yet defined a site for the pages you're working on, I think it's still relatively easy so get back to me in that case.
Well it depends.  If you used relative links then Havin_it's suggestion may work.

If you used absolute links then you will most likely have to do a find and replace site wide.  It also depends on if they have moved to a completely new location or just up/down in the existing directory structure.
ASKER CERTIFIED SOLUTION
Avatar of Esopo
Esopo
Flag of United States of America 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
I am confused as to why you simply accepted Esposo's answer without splitting the points since he just agreed with my solution, but gave some more details as to the exact buttons to click.

I could have provided this, but you did not ask.