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

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY DNS Fedora FTP Fun Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID rsync Samba security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *