Saturday, May 25, 2013

Internal Server Error 500 when you enable .htaccess file on Joomla! 3

It's a file permission problem. Default file permission on the files in the installation is 664 and should be 644. Or I should say that on hostgator servers, the default file permissions need to be 755 for directories and 644 for files, otherwise you get the Internal Server Error.

 If you have shell (ssh) access you can run the following commands to correct directory and file permissions. If you don't have shell access, call your host and ask them to change the permissions for you on all directories and files in the 3.0 directory. Run the following commands in the Joomla 3.0 directory:

Change all files to 644:
find . -type f -exec chmod 644 {} \;
Change or dirs to 755:
find . -type d -exec chmod 755 {} \;

Disqus Comments