There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Web Design & Development
Tag Cloud
access acer asus bios bsod computer crash drive driver drivers error ethernet excel freeze games gaming graphics hard drive hardware hdmi internet laptop malware memory monitor motherboard netgear network printer problem ram random registry router slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless xbox
Search
Search for:
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Solved: Best way for Domain redirection

Reply  
Thread Tools
TheTrueMaverick's Avatar
Computer Specs
Member with 33 posts.
 
Join Date: Aug 2006
Location: Japan
Experience: Intermediate
30-Jun-2009, 07:46 PM #1
Solved: Best way for Domain redirection
Greetings,

I have been googling about this matter myself, but I can't seem to justify what the best way to do this.

I have just bought a domain, and will be ready to be used soon. And I also own an old domain still, and what I want to do is, when people visit the old url, I want it to redirect to the new domain. So in the address bar, it changes from www.domainold.com to www.domainnew.com as soon as it gets hit.

In other words, I don't want the old url to stay in the address bar, and be switched to the new one if someone arrives with an old URL.

What's the best way to do this?

Thank you kindly for the help as usual!

/ S.

Last edited by TheTrueMaverick; 30-Jun-2009 at 07:54 PM..
Cid2's Avatar
Senior Member with 226 posts.
 
Join Date: Apr 2005
Experience: Intermediate
30-Jun-2009, 08:29 PM #2
<meta HTTP-EQUIV="REFRESH" content="0; url=http://YOURURLHERE">
toss that into the beginning of your index.html
TheTrueMaverick's Avatar
Computer Specs
Member with 33 posts.
 
Join Date: Aug 2006
Location: Japan
Experience: Intermediate
30-Jun-2009, 08:30 PM #3
Brilliant, will give it a go once the domain is ready -- cheers!
wpgwiggum's Avatar
Junior Member with 2 posts.
 
Join Date: May 2004
Experience: Advanced
01-Jul-2009, 06:11 PM #4
An alternative would be to setup 301 redirects for your olddomain.

Search engines appreciate this a bit more, and it is a bit quicker than downloading an html page that tells the user to redirect.
techSeekerX's Avatar
Member with 38 posts.
 
Join Date: Apr 2007
Experience: Intermediate
09-Jul-2009, 09:16 AM #5
IMHO the best and the quickest way is to use redirect directive in .htaccess file of your old domain.

hope it helps.
TheTrueMaverick's Avatar
Computer Specs
Member with 33 posts.
 
Join Date: Aug 2006
Location: Japan
Experience: Intermediate
20-Jul-2009, 05:12 PM #6
Sorry for the late reply. Thanks for all the suggestions!

I decided to go with the 301 redirect for now, it works like a charm!

Cheers!
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 03:49 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.