Skip to content
MrAnt
  • Home

Rewrite all domains to .co.uk .com .net

December 18, 2022June 9, 2014 by MrAnt

This will redirect

domain.com
www.domain.com
domain.co.uk
www.domain.co.uk
www.domain.net

to domain.net


RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^excludedsubdmain.(.*)$ [NC]
RewriteCond %{HTTP_HOST} ^((www.)?domain.(com|co.uk)|www.domain.net) [NC]
RewriteRule ^(.*)$ http://domain.net/$1 [L,R=301]

Categories Uncategorized
Show vehicle positions with the Google Maps v3 API
Virtual Server Hosting Comparison

Recent Posts

  • Free print at home Xmas Present Game
  • The Dogs Doodahs UK
  • Large Screen Laptops UK
  • Lightweight Laptops UK
  • Gaming Laptops UK
Copyright © MrAnt 2023