Magento Error 403 Forbidden

Experienced Magento error 403, which was painful. Looked up Google and found it can happen in many case.

Mostly, the reason it happens is permission issue. If you see the file permissions is not 644 for files and 755 for directories, then you have to doubt permission issue.

The solution is running permission change command in SSH; however, Magento provides very simple solution.

Go to http://www.magentocommerce.com/wiki/groups/227/resetting_file_permissions

If you do not have access to SSH:

  1. Unzip magento-cleanup.php to the root directory where Magento is installed.