nguyenmp/mark-nguyen/master/.htaccess - Htaccess File

nguyenmp/mark-nguyen/master/.htaccess

RewriteEngine On

RewriteCond %{HTTP_HOST} !^.*.nguyenmp.com$ 
RewriteRule (.*) http://www.nguyenmp.com/$1 [R=302,L]
RewriteCond %{HTTP_HOST} ^mpnguyen.ninja$ [OR]
RewriteCond %{HTTP_HOST} ^www.mpnguyen.ninja$
RewriteRule ^/?$ "http://nguyenmp.com" [R=302,L]

RewriteCond %{HTTP_HOST} ^mpnguyen.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.mpnguyen.com$
RewriteRule ^/?$ "http://nguyenmp.com" [R=302,L]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST

Comments

Apache