|
Joomla - How to secure your Joomla website |
|
|
28.02.2010 |
- Change default Administrator username and Name: go to Site/User manager and change username to something other then admin or administrator. Joomla password should be different then one used for host/ftp/e-mail administration to prevent eventual intruder access to all your protected resources.
- If you have web site hosted on Linux server then make .htaccess file and upload it in /administrator sub-directory of your Joomla installation and limit access to only few IP addresses to your /administrator sub directory. See how to restrict access to web site by IP address.
- In root Joomla directory edit htaccess.txt and uncomment lines (remove # at start of each line):
<Files ~ "\.xml$"> Order allow,deny Deny from all Satisfy all </Files>
then rename htaccess.txt to the .htaccess. This Joomla .htaccess file will restrict access only to index.php and few additional types of the files. Test your site availability, if you experience problems, you can add additional file types in RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ line, e.g. to allow access to the *.asp files (does not make sense, but for example), just add one more OR condition at end of list after .raw: RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|\.asp|/[^.]*)$
- Additionally you can password protect access the /administrator sub-directory (see how to password protect web site directory). You should use username and password other then used for your website and Joomla administration.
See my advanced anti-hack guide on how to secure Joomla website advanced
See details on how to secure Joomla website at SiteGround
See list of all Joomla mini how to's from this site
|
|
|
|
|
Comments
I have a problem...
I am busy making a translated version of my existing website. I am accounting the following problem:
My first problem was that I was unable to make the top menu appear. I have now solved this problem but the top menu only shows on the front page. Once I click on one of the tabs taking me to an article the top menu disappear.
To view it visit www.semesterhusisydafrika.se , click on beskrivning or Pringle Bay – then you will see that the top menu disappears.
How do I make the top menu visible on all pages? I do not have this problem with my original site www.daydreams.co.za using a slightly older version of Joomla. I have compared all settings and they seem to be the same both on the menu and articles.
Hoping for a swift reply!
Catarina