Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteEngine on
- RewriteCond %{HTTP_HOST} ^(.*).domain.com.xyz
- RewriteRule ^(.*)$ https://domain.com.xyz/subdomains/$1 [L,NC,QSA]
- RewriteRule ^subdomains/([A-Za-z0-9-]+)?$ subdomains/userpage.php?id=$1 [NC,L]
Add Comment
Please, Sign In to add comment