P
PatO
Guest
A subdomain of mine has moved, and in terms of SEO, I need to setup a 301 redirect.
This was easily achievable with a standard httpd.conf, however with Plesk I am confused as to where to put the following directive. I have placed it into my /var/www/vhosts/domain/conf/vhosts.conf, but it is not working.
Can someone help? Thanks
<VirtualHost 1.2.3.4:80>
ServerName blog.domain.com
ServerAlias www.blog.domain.com
Redirect 301 / http://www.domain.com/
</VirtualHost>
This was easily achievable with a standard httpd.conf, however with Plesk I am confused as to where to put the following directive. I have placed it into my /var/www/vhosts/domain/conf/vhosts.conf, but it is not working.
Can someone help? Thanks
<VirtualHost 1.2.3.4:80>
ServerName blog.domain.com
ServerAlias www.blog.domain.com
Redirect 301 / http://www.domain.com/
</VirtualHost>