Link to home
Start Free TrialLog in
Avatar of m-coon
m-coon

asked on

How can I "easily" change all the web addresses in my code from one server to another?

How can I "easily" change all of the web addresses in my code from one server to another? I thought there was a command that would go through the code and change all of the addresses automatically??? Please let me know.

thanks,
m-coon
Avatar of aarontwc
aarontwc

If you use absolute path. There is no need for conversion.

I mean.. if you use this:

images/image.gif

instead of

http://www.yoursite.com/images/image.gif


It will not matter if you change server, just make sure the directories are within their respective directory.




So, just in case you have your site done in the second way.. of typing the full URL.

My way was to use the REPLACE function within frontpage..

So what you do is..

1.) OPEN THE WEBPAGE
2.) GO TO HTML VIEW
3.) REPLACE (CTRL + H)
4.) So.. type here..

REPLACE: http://www.yournewsite.com
WiTH: http://www.yoursite.com

* don't put images/image.gif, else they will only replace that file :-)

What we want is to mass edit here, within a few secs.

Thanks
Aaron
http://www.eshock.org
Avatar of m-coon

ASKER

Can you explain the REPLACE feature you spoke of here, please??? I'm not sure I follow you...

Thanks,
m-coon
You see,

What we do is that we REPLACE..

Perhaps dude..

Give me the urls.. post it here

Your existing url and the url you want to convert to.

Basically the idea.. is to replace all the image links or ahref links within your document to your new url :-)

Thanks
Aaron
Avatar of m-coon

ASKER

Current is:
http://www.e-lixirweb.com/mcoon/images/bullet.gif
Needs to be:
http://www.gnt.net/~m-coon/bullet.gif

Does this help you?
There are about 100 or more of these links - I don't want to do them one at a time!!!

Thanks,
m-coon

ASKER CERTIFIED SOLUTION
Avatar of aarontwc
aarontwc

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