Please amend your bookmarks accordingly. /
Vær venlig at rette dine bogmærker i overensstemmelse hermed.
*
Please wait a moment and the browser will automatically redirect to your requested page... /
Vent et øjeblik og browseren vil automatisk omdiriger til din ønskede side...
http://www.erikoest.dk/moved_to.htm
Erik Østergaard - New Home Page Redirect Text
Paragraph text.
Paragraph text.
To automatically make the redirect changes to all your pages as shown above use for example:
[ For the program "Search and Replace" from Funduc Software at: http://www.funduc.com ]
Warning! Always make a backup copy of your files before running this type of code.
TextPad Syntax File
I'm also making available the TextPad Syntax highlighting file that I use to highlight key words in different colors.
Download the TextPad syntax definition add-on file for *.srs (Search and Replace Script) files from my Download page.
Step 1:
Remove all Meta "Refresh" tags from all your pages in all your folders.
SR Script File (*.srs) extract:
Search_subdir=1
[Search /ix]
<META HTTP-EQUIV="Refresh" CONTENT="*[0-9]; URL=*[].htm"></META>
[Replace]
Conventions used for: Source code syntax highlighting. / Regler brugt til: Kildekode syntaks fremhævning.
Step 2:
Add new redirect Meta "Refresh" tags to all your pages in one folder at the same time. With the exception of the root folder make sure to add your sub folder name in front of "%%srfile%%" ("%%srfile%%": Returns the file name). You find one occurrence of "%%srfile%%" in the first "Replace" section and two occurrences in the second "Replace" section. At the same time insert a "Moved To" text at the top of all your pages.
SR Script Files (*.srs) extract:
Search_subdir=0
[Search /ix]
</HEAD>$
[Replace]
\r\n\<META HTTP-EQUIV="Refresh" CONTENT="20; URL=http://www.erikoest.dk/%%srfile%%"\>\</META\>\r\n\r\n\</HEAD\>
[Search /ix]
<BODY*[]>$
[Replace]
\<BODY%1\>\r\n\r\n\<!-- Moved To Text Start --\>\r\n\<h2 align="center"\>My Home Page has moved to... / Min Hjemmeside er flyttet til...\</h2\>\r\n\<p align="center"\>\<big\>\<big\>\<a href="http://www.erikoest.dk/"\>http://www.erikoest.dk\</a\>\</big\>\</big\>\</p\>\r\n\<p align="center"\>Please amend your bookmarks accordingly. / \<br\>Vær venlig at rette dine bogmærker i overensstemmelse hermed.\</p\>\r\n\<p align="center"\>*\</p\>\r\n\<p align="center"\>Please wait a moment and the browser will automatically redirect to your requested page... / \<br\>Vent et øjeblik og browseren vil automatisk omdiriger til din ønskede side...\</p\>\r\n\<p align="center"\>\<a href="http://www.erikoest.dk/%%srfile%%"\>http://www.erikoest.dk/%%srfile%%\</a\>\</p\>\r\n\<p align="left"\> \</p\>\r\n\<hr\>\r\n\<hr\>\r\n\<p align="left"\> \</p\>\r\n\<!-- Moved To Text End --\>\r\n\r\n
Conventions used for: Source code syntax highlighting. / Regler brugt til: Kildekode syntaks fremhævning.
Result:
The result from the above-mentioned 2 steps should be that all eventual existing Meta "Refresh" tags have been removed from all your Homepage's (Website's) pages in all your folders and that the new redirect Meta "Refresh" tag have been inserted in the Head section of all your pages just above the tag "</HEAD>" like this:
<META HTTP-EQUIV="Refresh" CONTENT="20; URL=http://www.erikoest.dk/moved_to.htm"></META>
Conventions used for: Source code syntax highlighting. / Regler brugt til: Kildekode syntaks fremhævning.
Of course the link file name "moved_to.htm" above will be the actual file name of each individual page.
In addition the HTML code with the "Moved To" text and links have been added in the Body section of all your Homepage's (Website's) pages just below the tag "<BODY>" like this:
<!-- Moved To Text Start -->
<h2 align="center">My Home Page has moved to... / Min Hjemmeside er flyttet til...</h2>
<p align="center"><big><big><a href="http://www.erikoest.dk/">http://www.erikoest.dk</a></big></big></p>
<p align="center">Please amend your bookmarks accordingly. / <br>Vær venlig at rette dine bogmærker i overensstemmelse hermed.</p>
<p align="center">*</p>
<p align="center">Please wait a moment and the browser will automatically redirect to your requested page... / <br>Vent et øjeblik og browseren vil automatisk omdiriger til din ønskede side...</p>
<p align="center"><a href="http://www.erikoest.dk/moved_to.htm">http://www.erikoest.dk/moved_to.htm</a></p>
<p align="left"> </p>
<hr>
<hr>
<p align="left"> </p>
<!-- Moved To Text End -->
Conventions used for: Source code syntax highlighting. / Regler brugt til: Kildekode syntaks fremhævning.
Of course the link file name "moved_to.htm" and the link text file name "moved_to.htm" above will both be the actual file name of each individual page.
Finally it should appear as you can see at the top of this page.
Use your back key to return - or please choose Return.