403 Forbidden - he website’s configuration prevents you from accessing this page

Hi,

On my localhost, All the php files are working fine and then I uploaded them here and now two of them are redirecting me to 403 - Forbidden . All php files are in folder named “includes” which according to many here would be the reason for issue but then I tried changing folder name it didnt help.

I tried clearing cache as well but no use. I found that changing script names sometimes help but I tried that as well and again no use. Please find below the links redirecting to 403 - Forbidden and please let me know what can be done as this is quite frustrating.

Link 1: http://mybabybite.com/includes/notify.php &
Link 2: http://mybabybite.com/includes/messages.php

Please help with this.

Thanks

The includes folder in URLs has been blocked for security reasons. Normally, files in an includes folder are meant to be included (or required) in other PHP scripts, which are not for web accessible pages. And sometimes, accessing such files directly exposes private information, so there are good reasons to restrict access to such folders.

Simply rename the includes folder to something else and you should be able to access these pages.

Thanks For a quick reply !!! Changing the folder name actually worked for me.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.