Plesk rewrite url R301
Posted by Francois Rufli, Last modified by Francois Rufli on 11 November 2011 05:47 AM

Create a .htaccess file with the content below and place it at httpdocs folder.

RewriteEngine on
RewriteCond %{SERVER_NAME} subdomain_address_here [OR]
RewriteCond %{SERVER_NAME} www.subdomain_address_here
RewriteRule ^.*$ http://redirect_address_here [R=301]


( replace subdomain_address_here with your source url, replace http://redirect_address_here with your taget url)

(0 vote(s))
Not helpful

Comments (0)