301 Redirect

Eksith

Guppy
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
Creating the redirect in the control panel as suggested, it will give a 302(temporary) redirect.

A 301(permanent) is the recommended and proper way and if it is done through ASP, PHP, CFM or other then that would be the best option.

I still don't understand why many control panels return a 302 rather than a 301.

Good luck.

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 :
Code:
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?
 
Back
Top