hello everyone i have a site like https://www.example.com/blog problem is that when i open my wordpress blog shows following error : 403 - Forbidden The Web server is configured to not list the contents of this directory or you do not have enough permissions to access the resource
403 forbidden issue solved: it is because of the .htaccess corrupted file. How?
Downloaded the .htaccess from Cpanel (public_html) to have a backup of it. and then, delete the file.
Generate a fresh .htaccess file, by login to the WordPress dashboard, and click on Settings › Permalinks.
3)Without making any changed, click on the save changes button at the bottom of the page.
and it will generate a fresh .htaccess file for you
And refresh the site, the issue will be fixed.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.