lendir
Registered Member
- Oct 11, 2012
- 83
- 10
hello guys
so im thinking to change my domain name to different domain for better branding name purpose,on my previous domain the site all ready had success and has steady organic traffic
, so i set up htaccess on my 1rst domain and setup 301 redirect to my new domain (that 4 month ago )
the htaccess code is something like this
is this the correct htaccess code? previously on my first domain let say i get 500 dailly organic visit from SE ,but after doing 301 i get around 350-400 organic visit dailly
also i noticed after that the http header is result like this
isn't i should expecting response like this
Thank you
so im thinking to change my domain name to different domain for better branding name purpose,on my previous domain the site all ready had success and has steady organic traffic
, so i set up htaccess on my 1rst domain and setup 301 redirect to my new domain (that 4 month ago )
the htaccess code is something like this
PHP:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain1.net [NC,OR]
RewriteCond %{HTTP_HOST} ^www.domain1.net [NC]
RewriteRule ^(.*)$ http://newdomain.com/$1 [L,R=301,NC]
is this the correct htaccess code? previously on my first domain let say i get 500 dailly organic visit from SE ,but after doing 301 i get around 350-400 organic visit dailly
also i noticed after that the http header is result like this
HTML:
SERVER RESPONSE: HTTP/1.1 301 Moved Permanently>>SERVER RESPONSE: HTTP/1.1 403 Forbidden
isn't i should expecting response like this
HTML:
SERVER RESPONSE: HTTP/1.1 301 Moved Permanently>>SERVER RESPONSE: HTTP/1.1 200 OK
Thank you