redbranchmedia

Redirect Incoming URL

Mar 28th, 2014
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. # perform redirect on incoming domain
  2. RewriteCond %{HTTP_HOST} ^www.incomingdomain.com$ [NC]
  3. RewriteRule ^(.*)$ http://domain.com/pathto/page/$1 [R=301,L]
Advertisement
Add Comment
Please, Sign In to add comment