Tag-Archive for » server «

I am affraid using third party for control panel, for example plesk and cpanel. Because in cpanel, I can’t use .htacces, it make error page.

So, for redirect domain in plesk, I was searching in google and I found this tutorial, he said for using this script in .htaccess :

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

Note: $domain match the $domain above (e.g. mywebsite.com.au) and $Redirect_To_Domain should be the domain to which you are redirecting to (e.g. mynewwebsite.com.au).


Category: techie  Tags: , ,  Leave a Comment