301 redirect issue
-
- Posts: 11
- Joined: Thu Sep 04, 2014 5:41 am
301 redirect issue
Hi,
I have set up a .htaccess with a 301 redirect from one of my sites .com.au domain to their .com.hk domain but when going to the .com.au domain I get redirected to a different site on my server. Has anyone come across this issue before?
Here is what I have in the htaccess file
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://domain.com.hk/$1 [R=301,L]
I have set up a .htaccess with a 301 redirect from one of my sites .com.au domain to their .com.hk domain but when going to the .com.au domain I get redirected to a different site on my server. Has anyone come across this issue before?
Here is what I have in the htaccess file
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://domain.com.hk/$1 [R=301,L]
-
- Posts: 11
- Joined: Thu Sep 04, 2014 5:41 am
Re: 301 redirect issue
Looks like this issue has something to do with nginx, I just turned off nginx support for the domain and the redirect works fine.
This site won't really benefit from nginx much so I am happy to leave it off, but if anyone has a fix, I would still like to know.
Thanks :)
This site won't really benefit from nginx much so I am happy to leave it off, but if anyone has a fix, I would still like to know.
Thanks :)