Google

redirect website in plesk

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).

But, thats not work for my server. So, I just try to use simple way. just make .htaccess in httdocs and write this :

RedirectPermanent / http://destination-redirect-domain.com

change http://destination-redirect-domain.com with your destination domain. And don’t forget to chmod 755 .htaccess

del.icio.us Digg Technorati Google Yahoo

Tags: , ,

Leave a Reply