Redirection page for a website?
#1
Scooby Regular
Thread Starter
iTrader: (3)
Join Date: Dec 1999
Location: UK
Posts: 13,274
Likes: 0
Received 0 Likes
on
0 Posts
I've never done this before, but how do you create a redirection page?
Company has two domain names, and I want one that isn't used (no website, only emails) to redirect to the one that is.
Cheers
Andy
Company has two domain names, and I want one that isn't used (no website, only emails) to redirect to the one that is.
Cheers
Andy
#2
Scooby Regular
Join Date: Sep 2001
Location: Kingston ( Surrey, not Jamaica )
Posts: 4,670
Likes: 0
Received 0 Likes
on
0 Posts
quick and dirty method below ...
<HTML>
<!--this is here to make the file greater than 512 bytes .****************************************
************************************************** ***********************************************
************************************************** ***********************************************
************************************************** ***********************************************
************************************************** ***********************************************
-->
<HEAD>
<SCRIPT language="JavaScript1.1">
<!--
location.replace("http://www.somedomain/index.cfm");
//-->
</SCRIPT>
<NOSCRIPT>
<META http-equiv="Refresh" content="0; URL=http://www.somedomain.com/index.cfm">
</NOSCRIPT>
</HEAD>
<BODY>
</BODY>
</HTML>
<HTML>
<!--this is here to make the file greater than 512 bytes .****************************************
************************************************** ***********************************************
************************************************** ***********************************************
************************************************** ***********************************************
************************************************** ***********************************************
-->
<HEAD>
<SCRIPT language="JavaScript1.1">
<!--
location.replace("http://www.somedomain/index.cfm");
//-->
</SCRIPT>
<NOSCRIPT>
<META http-equiv="Refresh" content="0; URL=http://www.somedomain.com/index.cfm">
</NOSCRIPT>
</HEAD>
<BODY>
</BODY>
</HTML>
#4
Scooby Regular
Join Date: Sep 2001
Location: Kingston ( Surrey, not Jamaica )
Posts: 4,670
Likes: 0
Received 0 Likes
on
0 Posts
IE 5 will replace any server error messages with it's own default ones if the file is less than 512 bytes.
When we wrote this we called this page as an 'error page' within the netscape config.
Steve
When we wrote this we called this page as an 'error page' within the netscape config.
Steve
#6
Scooby Regular
Join Date: Sep 2001
Location: Kingston ( Surrey, not Jamaica )
Posts: 4,670
Likes: 0
Received 0 Likes
on
0 Posts
if it would ignore the javascript and meta then yes, probably.
Can't see it realistically happening though - like I said it was quick & dirty.
Steve
Can't see it realistically happening though - like I said it was quick & dirty.
Steve
Trending Topics
Thread
Thread Starter
Forum
Replies
Last Post
jobegold@hotmail.co.uk
ScoobyNet General
2
27 September 2015 09:44 PM