![]() |
Need help w/ dreamweaver?
I have a site with 588 pages.
I moved this site to another host! I don't want to lose traffic from the se links & other listings.. Is there a way to use dreamweaver to change ALL pages within that site ALL at the same time.. I want to leave all the pages on the old host, but change them to This site has moved, with a link to the new page on new host & include a javascript redirect or meta refresh ="0" tag to redirect.. How can I get dreamweaver to do this automatically? I'd hate to do all this manually!! Any help is greatly appreciated! http://bbs.gofuckyourself.net/board/biggrin.gif |
You could do it using find and replace - use find and replace like this (conceptually):
Find [HEAD] Replace with [HEAD] and your javascript Since every page has the head tag - you would be putting the java script in the header tag - get it? To do the notification - you would have to put it at the top (at least this would be the easy way). Find [body] Replace with [body] and text that this site has moved. Same principle. Dreamweaver will allow you to find and replace a whole site at once. I have used this techniques to add javascript to all my pages in a site - or even to add banners. Just make sure you do a back up first. ------------------ TopBucks.com - Converting at better than 1:130 David Lace Content - Highest Quality Teen Content ConversionCash.com - Make Money off your WebTV Traffic |
if u have shell access to a unix box ...
tup all files into a folder called tmp_files then do this: for x in `ls *.*` ; do echo "meta http-equiv='Refresh' content='0; URL=http://NEW-HOST/$x'" ./tmp_folder/$x; done then he put for each file a refresh file insde the tmp_folder ... yust copy them ... andreas --- and meta http- .. must be the html tag ... but if i write it here .... the msg board tont like it [This message has been edited by awechen (edited 12-03-2001).] [This message has been edited by awechen (edited 12-03-2001).] |
Yes... use the Find & Replace feature... make sure you get it exact. Choose a space or phrase that is exactly the same in every doc. Then test it on one to make sure it's putting the code how you want it.... once it's cool, set it to run through the whole directory... it'll take about 20 seconds to do that many pages, so be patient. Then upload your new html docs.
Then format c: |
All times are GMT -7. The time now is 05:00 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123