/ Published in: Apache
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ^123\.456\.789\.091 RewriteRule (.*)$ http://www.primarydomain.com/$1 [R=301,L]