Apache redirect domain to another domain
Posted: Sun Aug 07, 2011 8:02 pm
Hi,
I want to redirect domain.net to domain.com.
How can I best do this with Apache.
I know ho to do it with javascript, but then I have to do it on every page.
I don't want that.
I want to redirect domain.net to domain.com.
How can I best do this with Apache.
I know ho to do it with javascript, but then I have to do it on every page.
Code: Select all
<meta http-equiv="Refresh" content="3; URL=http://www.domain.com/index.php"/>