On 18/07/14 10:06, Tony Cowderoy wrote:
Use mod_rewrite and return a 301 HTTP status. See
http://httpd.apache.org/docs/current/rewrite/remapping.html
This!
To be specific:
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.example\.com [NC]
RewriteRule ^(.*)$ http://example.co.uk$1 [R=301,L]
I've typed that enough times I don't really have to think about it
anymore ;)
Johnathon
--
All postal correspondence to:
The Positive Internet Company, 24 Ganton Street, London. W1F 7QY
*Follow us on Twitter* @posipeople
The Positive Internet Company Limited is registered in England and Wales.
Registered company number: 3673639. VAT no: 726 7072 28.
Registered office: Northside House, Mount Pleasant, Barnet, Herts, EN4 9EE.
_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro