•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Site Layout and Usability section within the Web Development category of DaniWeb, a massive community of 426,024 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,703 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Site Layout and Usability advertiser: Programming Forums
Views: 2325 | Replies: 2
![]() |
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
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
•
•
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,453
Reputation:
Rep Power: 11
Solved Threads: 296
•
•
•
•
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)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
your hosting provider should allow you to do it in your domain configuration settings.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Site Layout and Usability Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- can't access domain (Web Browsers)
- How can I set up my own email a/c with a domain name using microsoft outlook/express (Web Browsers)
- Detect all computer names on netword - domain (Visual Basic 4 / 5 / 6)
- Multiple Domain Web Site Hosting by HforHosting.com (Website Reviews)
Other Threads in the Site Layout and Usability Forum
- Previous Thread: PHP question i think!
- Next Thread: Need help with frames



Linear Mode