Site Restoration

#35212 Error 403 - Forbidden You don't have permission to access this resource.

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
CMS Type
CMS Version
Backup Tool Version
Kickstart version



On a clean new Joomla installation we can't restrore our site(s).

See here my reproduction path:

First I used the Reset Htaccess Maker Option Button and saved a new .htaccess file.

Then I created a back-up

Then I click on the Restore button in the toolbar and after a few screens
we finally see the screen with "Run the restoration script" (see screenshot 46)

When we click on that button we see the 403 error Forbidden You don't have permission to access this resource.

When we checked the .htaccess, we see this code.

 ##### Advanced server protection rules exceptions -- BEGIN
RewriteRule ^administrator\/components\/com_akeeba\/restore\.php$ - [L]
RewriteRule ^administrator\/components\/com_joomlaupdate\/restore\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !(\.php)$
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^\.well\-known/ - [L]
RewriteRule ^templates\/your_template_name_here/ - [L]
##### Advanced server protection rules exceptions -- END

Only after adding this line to the code, my issue was solved.

RewriteRule ^installation/ - [L]


My Question is: 

Why doesn't work it well for me by default?

I have this problem on multiple websites. Not one has gone well in recent months without this adjustment in the .htacces file.

I know I can add this installation directory to the "Allow direct access, including .php files, to these directories"
But I've never had to do that before.

Hope you can help me with this issue.

Kind regards,


Akeeba Staff


thank you for the report, I can confirm the issue. This happens because we do not replace current .htaccess anymore, since most of them have directives to set the PHP version. If we replace it, the website would break since it doesn't know anymore how to handle PHP files.

The downside is that if you have a custom .htaccess that blocks access to the installation page, you get a 403 error.

I'll start working on this issue, but it will take some time. In the meanwhile the only workaround available is the one you are currently using.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!

Summer vacations: Our support will be closed for replies and new tickets from August 6th to August 21st, 2022 due to summer vacations.