/ Published in: Apache
URL: http://stackoverflow.com/questions/5405644/htacces-rewrite-tld-without-changing-subdomain-or-dirs
Expand |
Embed | Plain Text
RewriteEngine On RewriteCond %{HTTP_HOST} !example\.nl$ RewriteCond %{HTTP_HOST} ^([^.]+\.)?example\. RewriteRule ^ http://%1example.nl%{REQUEST_URI} [NC,L,R=301]
You need to login to post a comment.
