Title: Persistent noindex
Last modified: November 6, 2023

---

# Persistent noindex

 *  Resolved [ltrihan](https://wordpress.org/support/users/ltrihan/)
 * (@ltrihan)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/persistent-noindex/)
 * Hello,
 * On the site [https://www.frequence.tv/](https://www.frequence.tv/) the wrong 
   choice was made to index a waiting page and continue production in parallel, 
   online, but by deindexing all the pages (via noindex on the template header.php
   only) except the waiting page, declared as home page in WordPress in Settings
   > Reading.
 * Once production was complete, noindex (the only existing one) on the template
   header.php were removed, the real homepage was redefined via Settings > Reading.
   Despite everything, only the home page appears indexed, even today.
 * I think the problem comes from here [https://yoast.com/innovations/indexables/](https://yoast.com/innovations/indexables/)(
   after deactivating Yoast, my pages no longer appeared in noindex). It is clearly
   stated that indexing information is stored in the database, to subsequently be
   able to deliver the indexing information more quickly.
 * Except that even by following the advice to reset the indexing information: [https://yoast.com/help/how-to-reset-yoast-indexables/](https://yoast.com/help/how-to-reset-yoast-indexables/),
   the pages are still in noindex.
 * Could you please help us find out where the problem could be coming from?

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

 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/persistent-noindex/#post-17180440)
 * Hello [@ltrihan](https://wordpress.org/support/users/ltrihan/),
 * Thanks for reaching out about your site. At the moment, the Yoast SEO plugin 
   is not active on your site. **Can you activate it so I can troubleshoot what 
   you reported? **
 * As a sidenote, you mght want to check the CSS file of your current theme as the
   styling of your webpages is distorted/warped. [See screenshot](https://pasteboard.co/N7deiuoMkQHj.png).
    -  This reply was modified 2 years, 7 months ago by [Maybellyne](https://wordpress.org/support/users/maybellyne/).
 *  Thread Starter [ltrihan](https://wordpress.org/support/users/ltrihan/)
 * (@ltrihan)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/persistent-noindex/#post-17181359)
 * Hello [@maybellyne](https://wordpress.org/support/users/maybellyne/) ,
   Thanks
   for your reply and your sidenote.Is it ok for you now ?
 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/persistent-noindex/#post-17181403)
 * Yes. It looks better now – [https://pasteboard.co/qlE2wrrO8JeK.png](https://pasteboard.co/qlE2wrrO8JeK.png)
 *  [zhannaseravokaya](https://wordpress.org/support/users/zhannaseravokaya/)
 * (@zhannaseravokaya)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/persistent-noindex/#post-17181452)
 * I have similar issue, plus failing URLs (desktop) and no indexed videos.
 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/persistent-noindex/#post-17181601)
 * [@zhannaseravokaya](https://wordpress.org/support/users/zhannaseravokaya/) We
   are sorry you’re having the same issue. Please [open a new request](https://wordpress.org/support/plugin/wordpress-seo#new-post).
   That way, it’s easier to track issues and provide assistance. Thanks!
 *  Thread Starter [ltrihan](https://wordpress.org/support/users/ltrihan/)
 * (@ltrihan)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/persistent-noindex/#post-17183771)
 * > At the moment, the Yoast SEO plugin is not active on your site. **Can you activate
   > it so I can troubleshoot what you reported?**
 * [@maybellyne](https://wordpress.org/support/users/maybellyne/) so can you access
   to informations now ? I’m still having the issue of noindex on all pages except
   homepage.
   One ultimate solution could be to delete Yoast and erase all about 
   informations related to Yoast in my database, but there were a few hours of work
   to optimize certain pages. Without knowing what option or configuration is causing
   the problem, I cannot make a backup.I would really like to know where the problem
   comes from and how to fix it since I may have the same problem on another site
   😕
    -  This reply was modified 2 years, 7 months ago by [ltrihan](https://wordpress.org/support/users/ltrihan/).
 *  Thread Starter [ltrihan](https://wordpress.org/support/users/ltrihan/)
 * (@ltrihan)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/persistent-noindex/#post-17187497)
 * Issue fixed !
 * In fact, during production, I added a noindex in my header.php which I removed
   when it was finally uploaded.
 * The problem is that Yoast took over the noindex that I had placed in the header.
   php, so I had to add this code in the functions.php
 *     ```wp-block-code
       // Remove meta tag for pages except waiting page which is homepage
       function yoast_seo_robots_remove_index( $robots ) {
       	if ( !is_front_page() ) {
       	  return false;
       	} else {
       	  return $robots;
       	}
       }
       add_filter( 'wpseo_robots', 'yoast_seo_robots_remove_index' );
       ```
   
 * Once deleted, the pages are indexed again.
   Sorry for the inconvenience caused.
 * Have a good day !

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

The topic ‘Persistent noindex’ 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

 * [indexables](https://wordpress.org/support/topic-tag/indexables/)
 * [noindex](https://wordpress.org/support/topic-tag/noindex/)

 * 7 replies
 * 3 participants
 * Last reply from: [ltrihan](https://wordpress.org/support/users/ltrihan/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/persistent-noindex/#post-17187497)
 * Status: resolved