![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
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! ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: May 2001
Location: Baltimore, MD USA
Posts: 1,151
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Oct 2001
Location: LA
Posts: 162
|
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).] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
There can be only one
Industry Role:
Join Date: Aug 2001
Location: Somewhere else
Posts: 39,075
|
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: |
![]() |
![]() ![]() ![]() ![]() ![]() |