/ Published in: Apache

Avoid penalties for duplicate content. Also see
<a href="http://sitening.com/blog/htaccess-redirects-to-a-single-hostname/">How to Stay Safe from Duplicate Content by Using .htaccess and 301 Redirects</a>.
<a href="http://sitening.com/blog/htaccess-redirects-to-a-single-hostname/">How to Stay Safe from Duplicate Content by Using .htaccess and 301 Redirects</a>.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} !^sitening.com RewriteRule (.*) http://sitening.com/$1 [R=301,L]
Comments
