The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Other › WordPress change access-control
I’m having a problem with this ajax call because of my access control.
The error is fired in “admin-ajax.php” file, in wp-admin folder.
I don’t want to change headers in that file because of future updates of WordPress so I wonder if it’s possible to do it by some other way, maybe .htaccess? Couldn’t find any answer for this.
Thanks in advance.
Solved! When I tried to change headers in the called file I entered the wrong url. Now it’s working.