There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Web Design & Development
Tag Cloud
adware audio bios blue screen boot bsod computer crash dell driver email error excel firefox freeze freezing google hard drive hardware hijackthis install internet laptop linux malware network no sound outlook problem reboot router screen server slow sound speakers spyware startup trojan usb video virus vista vundo webcam windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Solved: Best way for Domain redirection

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
TheTrueMaverick's Avatar
Computer Specs
Member with 32 posts.
 
Join Date: Aug 2006
Location: Japan
Experience: Intermediate
30-Jun-2009, 06: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 06:54 PM.
Cid2's Avatar
Senior Member with 226 posts.
 
Join Date: Apr 2005
Experience: Intermediate
30-Jun-2009, 07: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 32 posts.
 
Join Date: Aug 2006
Location: Japan
Experience: Intermediate
30-Jun-2009, 07: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, 05: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, 08: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 32 posts.
 
Join Date: Aug 2006
Location: Japan
Experience: Intermediate
20-Jul-2009, 04: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!
Closed Thread Bookmark and Share

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.

Smart Search

Find your solution!



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


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 08:33 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.