Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
Thread: .htaccess Redirect
04-28-2008, 08:42 AM #1
- Join Date
- Mar 2006
- Thanked 0 Times in 0 Posts
Hi all... I know how to do a redirect to a new URL usinga .htaccess file if I am pointing to a different server, however both domain.com and domain.com.cn are pointing to the same server, I just am wondering what I would add into my .htaccess file to get it to redirect from domain.com.cn to domain.com?
04-28-2008, 05:20 PM #2
There's a way to get around it without .htaccess... it just needs to go in the <head> part of your HTML document...
Here is the code:
<meta http-equiv="refresh" content="5;url="domain.com">
It's alot quicker and easier to access and modify. Just plop this on domain.com.cn index.html file (or php etc..)
04-28-2008, 07:13 PM #3