Domain Name Divert

Please support our Site Layout and Usability advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Nov 2004
Posts: 66
Reputation: GR Web FX is an unknown quantity at this point 
Solved Threads: 0
GR Web FX's Avatar
GR Web FX GR Web FX is offline Offline
Junior Poster in Training

Domain Name Divert

 
0
  #1
Jun 8th, 2005
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,244
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 492
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: Domain Name Divert

 
0
  #2
Jun 9th, 2005
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
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 764
Reputation: DaveSW is on a distinguished road 
Solved Threads: 17
DaveSW's Avatar
DaveSW DaveSW is offline Offline
Master Poster

Re: Domain Name Divert

 
0
  #3
Jun 14th, 2005
your hosting provider should allow you to do it in your domain configuration settings.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Site Layout and Usability Forum
Thread Tools Search this Thread



Tag cloud for Site Layout and Usability
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC