Title: Error: Max-age is 0
Last modified: January 17, 2021

---

# Error: Max-age is 0

 *  [sedrs](https://wordpress.org/support/users/sedrs/)
 * (@sedrs)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/error-max-age-is-0/)
 * Hellooooou,
 * What I am trying to achieve is on [https://hstspreload.org/](https://hstspreload.org/)
   make preload of [https://www.restauracesport.cz/](https://www.restauracesport.cz/)
 * > Error: Max-age is 0
   >  The max-age must be at least 31536000 seconds (≈ 1 year),
   > but the header currently only has max-age=0. If you are trying to remove this
   > domain from the preload list, please visit [https://hstspreload.org/removal/](https://hstspreload.org/removal/)
 * Dunno where is the problem even in the plugin I have set:
 * > HSTS
   >  Max age: 31536000 seconds (86400 = one day, 31536000 = one year, 2592000(
   > recommended)
 * Thanks a lot! <3

The topic ‘Error: Max-age is 0’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/http-security.svg)
 * [HTTP headers to improve web site security](https://wordpress.org/plugins/http-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/http-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/http-security/)
 * [Active Topics](https://wordpress.org/support/plugin/http-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/http-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/http-security/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [sedrs](https://wordpress.org/support/users/sedrs/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/error-max-age-is-0/)
 * Status: not resolved