Title: Request for adding nocache_headers function
Last modified: July 19, 2025

---

# Request for adding nocache_headers function

 *  Resolved [raywjohnson](https://wordpress.org/support/users/raywjohnson/)
 * (@raywjohnson)
 * [10 months ago](https://wordpress.org/support/topic/request-for-adding-nocache_headers-function/)
 * Greetings,
 * Most excellent plugin. Simple, direct, and works. Nice.
 * So this issue is not the plugin. It is the stupid browser caching the 302 redirects.
 * Here is what happens. I use the hidden link, login, all good.
 * An hour later, I use the hidden link, redirects to /wp-admin/ (as it should, 
   as I am already logged in).
 * But, the browser then cached that redirect. So the next time (not logged in),
   when I use the hidden link, the BROWSER redirects to /wp-admin/ and I get a 404
   page. Only clearing the browser cache fixes this.
 * So, could you add the WP “nocache_headers()” function before doing any redirections?
 * –RayJ

The topic ‘Request for adding nocache_headers function’ is closed to new replies.

 * ![](https://ps.w.org/wps-hide-login/assets/icon-256x256.png?rev=1820667)
 * [WPS Hide Login](https://wordpress.org/plugins/wps-hide-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wps-hide-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wps-hide-login/)
 * [Active Topics](https://wordpress.org/support/plugin/wps-hide-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wps-hide-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wps-hide-login/reviews/)

 * 8 replies
 * 4 participants
 * Last reply from: [raywjohnson](https://wordpress.org/support/users/raywjohnson/)
 * Last activity: [8 months ago](https://wordpress.org/support/topic/request-for-adding-nocache_headers-function/page/2/#post-18641710)
 * Status: resolved