I'm ahving a problem with a rewrite I want to do. Basically, I want to redirect traffic from a certain site to a specific page on my site. I won't see hwo this would be any different than redirecting to a customized homepage according to the user agent (except for the RewriteCond, but it doesn't work.
This is the code:
- Code: Select all
RewriteEngine on
#Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_REFERER} ^http://www.originating-site\.com [NC]
RewriteRule ^.*$ /target-page-on-my-site.html [R]

English |
French
