943,641 Members | Top Members by Rank

Ad:
Jun 8th, 2005
0

Domain Name Divert

Expand Post »
Hey People,

I have a quick question which i think is pretty simple but just wanna chack with you guys.

Im creating a site called www.mobilefantastic.com. The client also owns mobilesfantastic.com and mobilefantastic.co.uk. www.mobilefantastic.com is the domain where the content will be, but i want to set up an automatic divert so if someone was to miss spell the domain as mobilesfantastic or mobilefantastic.co.uk, they will automatically be sent to www.mobilefantastic.com.
Does that make sense?

Thanks a lot
GR Web FX
Similar Threads
Reputation Points: 11
Solved Threads: 0
Junior Poster in Training
GR Web FX is offline Offline
66 posts
since Nov 2004
Jun 9th, 2005
0

Re: Domain Name Divert

Quote originally posted by GR Web FX ...
Im creating a site called www.mobilefantastic.com. The client also owns mobilesfantastic.com and mobilefantastic.co.uk. www.mobilefantastic.com is the domain where the content will be, but i want to set up an automatic divert so if someone was to miss spell the domain as mobilesfantastic or mobilefantastic.co.uk, they will automatically be sent to www.mobilefantastic.com.
If understand you, you whant to redirect mobilesfantastic.com and mobilefantastic.co.uk to mobilefantastic.com.. What you have to do is to put on both pages code which is bellow with some sensible message

<meta http-equiv= "Refresh"
      content   = "2; URL=http://www.mobilefantastic.com">

Content is time in seconds

or other option
<html>
<head>
<script type="text/javascript">
<!--
function delayer(){
document.location = "../javascriptredirect.html"
}
//-->
</script>
</head>
<body onLoad="setTimeout('delayer()', 5000)">
<h2 >Prepare to be redirected!</h2>

</body>
</html>

setTimeout works in clicks where 1sec=1000 clicks so in this case delay is 5 sec
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 871
Code tags enforcer
peter_budo is offline Offline
6,654 posts
since Dec 2004
Jun 14th, 2005
0

Re: Domain Name Divert

your hosting provider should allow you to do it in your domain configuration settings.
Reputation Points: 54
Solved Threads: 20
Master Poster
DaveSW is offline Offline
765 posts
since Jul 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Site Layout and Usability Forum Timeline: PHP question i think!
Next Thread in Site Layout and Usability Forum Timeline: Need help with frames





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC