Secure Joomla!’s Administrator

March 16, 2008 by Octav

If you have a SSL certificate and want to secure your /administrator/ directory, to be sure that it can be accessed only by HTTPS create a new file and paste:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Now save this file with the name .htaccess and upload it to your /administrator/ directory.

Explanation: for example, if someone is trying to access the url
http://www.halcyon-solutions.com/administrator/index.php
he is redirected to
https://www.halcyon-solutions.com/administrator/index.php.

You must be logged in to post a comment.