zeldor.biz

Linux, programming and more

Copyright © 2023
Log in

Redirect incomming links with .htaccess

August 20, 2010 by Igor Drobot Leave a Comment

Redirect incoming links with .htaccess to prevent duplicate content penalties

Create a .htaccess file under htdocs, with following content

1
2
RewriteEngine on
RewriteRule ^(.*)$ http://www.zeldor.biz/$1 [L,R=301]

RewriteEngine on RewriteRule ^(.*)$ http://www.zeldor.biz/$1 [L,R=301]

Each request to your site will be redirected to www.zeldor.biz

Filed Under: Linux Tagged With: .htaccess, 301 redirect, redirect, RewriteRule