04-28-2008, 07: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, 04: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, 06:13 PM
Or, even better, do it with PHP