The blog of Will GreshamMy opinions on topics of all flavours |
Domain redirects fixed, 301 redirect (3)
Submitted by Will Gresham on 23 April 2010 - 7:47pm
After reviewing the server logs (again) it seems I overlooked something in the htaccess rule I put in place :(
It transpires that if the address was www.(one of my domains).com then it would not redirect to www.willgresham.com Dx
So I have modified the rule to forward any subdomain through to www.willgresham.com.
Here is the modified rule:
- RewriteCond %{HTTP_HOST} ^([a-z0-9.]*)(elvenblade|torchhosting|lingerin|concertuner).co(m|.uk)$ [NC]
- RewriteRule ^(.*)$ http://www.willgresham.com/$1 [L,R=301]

Post new comment