I have a bunch of web pages structed within different directories on a site, since now I wish to move all of them to another site. I wish i can change all the URLs in HTML source code of these pages to another URL, which UNIX/linux COMMAND can do this. Or if I need a script, can you give a help on it?
This is not a problem to create such scipt in e.g. php. But if the number of the pages is not overhelming, it will be probable faster to use an editor with suitable find/replace function and change all urls to relative so you will not face the same problem next time you move.
Sorry for not being able to help with the shell scripting.
My SEO related website: SEO
The source of plagiarism: The number of bright people exceeds the possible number of bright ideas.
Thanks for your help! But this does not solve all my problems. Since I have a lot of files, so just use search and replace use html editor may take me a lot of time. i do not have mysql installed, is there any other way to do this?