I am using WordPress 4.6.1 .
Everything was working fine then suddenly I started getting a error message " 403 Access Denied " when I tried to access new post using link of post. I tried different method to check what is causing the error but not able to find.
No error is coming in old, Only getting error in new post that I am posting from last one week.
Here is my Error Log which I found on my web hosting site-
Thu, 20 Oct 2016 15:45:22 -0500 AH01797: client denied by server configuration: /home/vol1_4/byethost5/b5_18545859/example/htdocs/chatbot
Thu, 20 Oct 2016 15:45:32 -0500 AH01797: client denied by server configuration: /home/vol1_4/byethost5/b5_18545859/example/htdocs/build-a-chatbot-without-coding
Here is my .htaccess file details-
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
I am using WordPress 4.6.1 .
Everything was working fine then suddenly I started getting a error message " 403 Access Denied " when I tried to access new post using link of post. I tried different method to check what is causing the error but not able to find.
No error is coming in old, Only getting error in new post that I am posting from last one week.
Here is my Error Log which I found on my web hosting site-
Thu, 20 Oct 2016 15:45:22 -0500 AH01797: client denied by server configuration: /home/vol1_4/byethost5/b5_18545859/example/htdocs/chatbot
Thu, 20 Oct 2016 15:45:32 -0500 AH01797: client denied by server configuration: /home/vol1_4/byethost5/b5_18545859/example/htdocs/build-a-chatbot-without-coding
Here is my .htaccess file details-
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Share
Improve this question
edited Dec 16, 2020 at 21:35
freshvibes
asked Oct 21, 2016 at 19:09
freshvibesfreshvibes
111 silver badge6 bronze badges
1
- You may need to change the file/folder permission. Changing File Permissions – admcfajn Commented Nov 23, 2018 at 8:46
2 Answers
Reset to default 1Generate your .htaccess
again. For that go to Settings >> Permalinks
then hit Save Changes
button. It will re-generate your .htaccess
file. If it's no resolved, you can try the FTP
described in comment by @Benoti. If that's also not worked please try this blog.
I've come across a similar problem before. I suggest disabling all plugins and seeing if this resolves the problem. If it does, re-enable each one until you come across the error again and hopefully you'll find the culprit.
Of course, this won't solve your issue entirely but if it does work then it will help too narrow the cause.