I have a portfolio when I click on the filter button it gives me this error :
You don't have permission to access /wp-admin/admin-ajax.php
on this server.
Asked
Active
Viewed 9,379 times
2

Martijn Pieters
- 1,048,767
- 296
- 4,058
- 3,343

Mohammed
- 23
- 1
- 7
-
Can you explain a bit more? – Dieter Meemken May 26 '17 at 15:31
-
It's possibly a poorly written plugin, or theme that hasn't setup the AJAX call for use via the frontend, WordPress code using AJAX needs to be told whether to grant access via the frontend, backend or both. – Phill Healey May 26 '17 at 16:55
-
A link to the page in question would allow us to debug the process. – Phill Healey May 26 '17 at 16:55
1 Answers
0
You don't have permission to access that file.
That likely means that you need to log into your server and change the permissions on that file. If it's Linux, and you can get to command-line, just use chmod
:
chmod 774 /path/to/wp-admin/admin-ajax.php
If it's some other configuration, you may need to ask another question, or update this one with those details if you can't figure it out. A question like that may actually be better suited for StackOverflow's sister site, StackExchange.

samanime
- 25,408
- 15
- 90
- 139
-
"better suited for StackOverflow's sister site, StackExchange" - Which sister site is that? – MrWhite Aug 16 '19 at 16:59
-
@MrWhite That was a long time ago. I probably meant Server Fault https://serverfault.com/ – samanime Aug 16 '19 at 17:27