I was trying to figure out why I had so many 302 redirects on my site (94%!!!) when I realized I had multiple domain aliases.
Is there any way for these domain 302’s to be turned into 301’s?
On an earlier post on this
Which is a good point.
The control panel should be making this a 301 permanent redirect. 302 Doesn’t make any sense at all for this purpose and may even harm search engine ranks.
I tired adding the following to my .htaccess :
RewriteCond %{HTTP_HOST} ^example.biz [NC]
RewriteCond %{HTTP_HOST} ^example.info [NC]
RewriteCond %{HTTP_HOST} ^example.org [NC]
RewriteCond %{HTTP_HOST} ^example.biz [NC]
RewriteCond %{HTTP_HOST} ^example.net [NC]
RewriteCond %{HTTP_HOST} ^example.us [NC]
RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]
I’m not sure if that’s valid or not (seems to not cause any errors), but I don’t know if it works.
Can this work without digging into H-Sphere configrations?
Are there any plans to fix this?