admin管理员组文章数量:1126350
When I try to make a backup of my wordpress website through plugin I recieve the following error:
"403 Forbidden - You don't have permission to access /wp-admin/admin-ajax.php on this server."
This error also appears sometimes during installation of plugins.
My htaccess file:
# 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
Structure of Server:
-/
-/wordpress
-/oldfiles
-/other
inside /wordpress my entire wordpress website exists as:
-/wordpress
-/wp-admin
-/wp-content
-/.htaccess
etc etc.....
Things I've tried:
-Used different plugins for backup (1 Updraft, 2 Duplicator) both show the same error.
-Change file permissions from ftp client.
Set 755 permission to wp-admin, wp-includes, wp-content directories
Set 644 to all files inside the directories and 755 to all the sub-folders.
-I even changed the folder permission of /wp-admin to 755 and admin-ajax.php to 777 but still getting the same error
-Made modification in .htaccess file as follows:
# BEGIN WordPress
<Files admin-ajax.php>
Order Deny,Allow
Deny from all
Allow from all
</Files>
<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
-Disabled all plugins and enabled only the backup creating plugins, same error.
-Deleted .htaccess file
-Made a temporary 301 redirect in .htaccess file to be sure I was working on the right .htaccess file
-Disabled "Wordfence security" plugin
When I try to make a backup of my wordpress website through plugin I recieve the following error:
"403 Forbidden - You don't have permission to access /wp-admin/admin-ajax.php on this server."
This error also appears sometimes during installation of plugins.
My htaccess file:
# 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
Structure of Server:
-/
-/wordpress
-/oldfiles
-/other
inside /wordpress my entire wordpress website exists as:
-/wordpress
-/wp-admin
-/wp-content
-/.htaccess
etc etc.....
Things I've tried:
-Used different plugins for backup (1 Updraft, 2 Duplicator) both show the same error.
-Change file permissions from ftp client.
Set 755 permission to wp-admin, wp-includes, wp-content directories
Set 644 to all files inside the directories and 755 to all the sub-folders.
-I even changed the folder permission of /wp-admin to 755 and admin-ajax.php to 777 but still getting the same error
-Made modification in .htaccess file as follows:
# BEGIN WordPress
<Files admin-ajax.php>
Order Deny,Allow
Deny from all
Allow from all
</Files>
<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
-Disabled all plugins and enabled only the backup creating plugins, same error.
-Deleted .htaccess file
-Made a temporary 301 redirect in .htaccess file to be sure I was working on the right .htaccess file
-Disabled "Wordfence security" plugin
Share Improve this question asked Aug 15, 2019 at 10:59 Moiz NadeemMoiz Nadeem 211 gold badge1 silver badge4 bronze badges 4 |1 Answer
Reset to default 3This sounds like it's probably caused by mod-evasive (or similar) plugin in Apache (or similar), blocking multiple consecutive requests as it thinks you are trying to run a denial of service (DOS) attack against the server. Try disabling any security plugins (Apache / web server ones, not WordPr
本文标签: plugins403 ForbiddenYou don39t have permission to access wpadminadminajaxphp on this server
版权声明:本文标题:plugins - 403 Forbidden - You don't have permission to access wp-adminadmin-ajax.php on this server 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736684203a1947578.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
/wordpress
subdirectory, the WordPress.htaccess
file appears to load/index.php
in the document root? The error msg that you stated also references/wp-admin/....
in the document root? – MrWhite Commented Aug 15, 2019 at 11:28/wp-admin/admin-ajax.php
(or/wordpress/wp-admin/admin-ajax.php
) directly? What about the file's "group"? I would check if there are any Apache security modules that might be interfering: mod_security, mod_evasive, etc.? – MrWhite Commented Aug 16, 2019 at 20:48.htaccess
file that rewrites the request directly to/wordpress/index.php
? That maybe so, but it doesn't make the/wordpress/.htaccess
file correct - either there would seem to be an additional / unnecessary rewrite going on here or the front-controller in/wordpress/.htaccess
is being bypassed? (Would need to see the parent.htaccess
file to know for sure how your WP URLs are being routed.) Although this is unlikely to have anything to do with your "permissions" issue. – MrWhite Commented Aug 16, 2019 at 20:56