<VirtualHost *:80>
ServerAdmin noc@domain.co.uk
ServerName www.domain.co.uk
ServerAlias domain.co.uk
RewriteCond %{HTTP_HOST} !=www.domain.co.uk
RewriteRule ^ http://www.domain.co.uk%{REQUEST_URI} [R=301,L]
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
DocumentRoot /www/www.domain.co.uk/wordpress
ErrorLog logs/www.domain.co.uk.error.log
CustomLog logs/www.domain.co.uk.access.log combined env=!dontlog
<Directory /www/www.domain.co.uk/wordpress>
Options FollowSymLinks
AllowOverride all
Require all granted
</Directory>
</VirtualHost>