Forum Discussion
block wordpress administration
Hi, I have a problem and I don't know how to fix it.
I have migrated a web page from http to https with a valid certificate.
The problem is that when the page was in http, the Wordpress site could not be managed from the internet, now that the service is in https the administration if possible, which I do not want and I do not know how to avoid the administration of Wordpress from f5 without affecting the https service.
Your help is appreciated.
- nathe
Cirrocumulus
Icaroca,
An irule will help you here. Something like this:
when HTTP_REQUEST { if { [string tolower [HTTP::uri]] equals "/admin" } { HTTP::respond 404 noserver return } }
Or you could simply drop.
If you want to block from public ips then you can also do this. Search DC for blocking a URI and you should find an example.
Hope this helps,
N
- lcaroca
Nimbostratus
Thank you very much Nathe, I'll try the Irule.
I tell you how it goes.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com