Forum Discussion
Per_Hagstrom
Feb 28, 2019Nimbostratus
Simple WordPress login protection, using cookie insert
I'm trying to deny access to the default login page on our WordPress site, when going straight to the login page (/wp-login.php), by redirecting you to /access-denied. But if you know the "secret" pa...
iaine
Feb 28, 2019Nacreous
Hi
You need to set your cookie in your response so that the browser will present it when it next requests an object. Have a look at the first example in HTTP::respond for an example on how to do this
Recent Discussions
Related Content
Â
DevCentral Quicklinks
* 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
Discover DevCentral Connects