Suddenly, one of my wordpress site got this error in the header. “Forbidden Request forbidden by administrative rules”.
When searching on this, got the solution at
If you are getting the 403 Forbidden Request forbidden by
administrative rules on your WordPress install try this:
Go to editor – open the header.php code page.
Look for this line in the code:
This url is the culprit. Test it by entering it into your browser. If it’s bad you’ll get the 403 message.
I just deleted the url. Don’t delete the whole code line or you might have other problems.
As usual there might be other fixes, but this one worked for me.
Hope this helps.
Thanks gibson019 for providing the fix.
It fixed my error.