View Full Version : .htaccess Redirect
04-28-2008, 08:42 AM
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
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
Or, even better, do it with PHP
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.