Title: Plugin auto-disables date-based archives!
Last modified: August 21, 2016

---

# Plugin auto-disables date-based archives!

 *  [Niramaya](https://wordpress.org/support/users/niramaya/)
 * (@niramaya)
 * [13 years ago](https://wordpress.org/support/topic/plugin-auto-disables-date-based-archives/)
 * Hello – Have had Yoast activated for some time and just noticed that trying to
   access date archives redirects to blog homepage. I made sure that in “Date Archive”
   settings, “Disable the date-based archives” is NOT checked/enabled. What could
   be causing this? I know for certain it’s yoast as I de/re-activated all plugins
   and it’s the culprit 🙁
 * Pls advise!
 * [http://wordpress.org/extend/plugins/wordpress-seo/](http://wordpress.org/extend/plugins/wordpress-seo/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [Niramaya](https://wordpress.org/support/users/niramaya/)
 * (@niramaya)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/plugin-auto-disables-date-based-archives/#post-3658347)
 * Update: Have tried deactivating plugin, flushing W3TC & browse cache + activating..
   same results.
 *  Thread Starter [Niramaya](https://wordpress.org/support/users/niramaya/)
 * (@niramaya)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-auto-disables-date-based-archives/#post-3658372)
 * Would anyone advise that I delete the plugin entirely and start over? Really 
   hoping to get some pointers. Have searched forums over and over and nothing seems
   to fix this issue. Thanks again!
 *  Thread Starter [Niramaya](https://wordpress.org/support/users/niramaya/)
 * (@niramaya)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-auto-disables-date-based-archives/#post-3658390)
 * Still no luck over here. Beginning to think finding a workaround/solution is 
   not possible. Hate the prospect of having to deactivate/uninstall 🙁
 *  [oxfordian3](https://wordpress.org/support/users/oxfordian3/)
 * (@oxfordian3)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/plugin-auto-disables-date-based-archives/#post-3658430)
 * I had this problem, even with the latest version of WP SEO (1.4.15).
 * The “Disable the date-based archives” checkbox was on, and I turned it off, but
   the archives continue to get redirected to the home page.
 * I put in some debug code, checking the value of:
 *     ```
       isset( $options['disable-date'] ) && $options['disable-date']
       ```
   
 * and it reported that disable-date was still On.
 * I never found out how the option value could return On when the checkbox was 
   Off, but in the end I just disabled archive_redirect, by putting the following
   in my theme’s functions.php:
 *     ```
       add_action('plugins_loaded','my_plugins_loaded');
       function my_plugins_loaded() {
       	global $wpseo_front;
       	remove_action( 'wp', array( $wpseo_front, 'archive_redirect' ), 1 );
       }
       ```
   

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Plugin auto-disables date-based archives!’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [archives](https://wordpress.org/support/topic-tag/archives/)
 * [Yoast](https://wordpress.org/support/topic-tag/yoast/)

 * 4 replies
 * 2 participants
 * Last reply from: [oxfordian3](https://wordpress.org/support/users/oxfordian3/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/plugin-auto-disables-date-based-archives/#post-3658430)
 * Status: not resolved