code_junkie

Mapping a subdomain to a Wordpress page

Nov 14th, 2011
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. http://my-page.mydomain.com -> http://mydomain.com/my-page
  2.  
  3. RewriteEngine on
  4. RewriteRule (.*) http://mydomain.com/my-page$1 [P,L]
Add Comment
Please, Sign In to add comment