Comments lkmweb started the conversationSeptember 30, 2022 at 11:08pmI do not want to discourage google from indexing the site, just specific pages. Other than making them private/password protected, is there a way to protect the content page-by-page? 7,092Oliver repliedOctober 3, 2022 at 9:28amHI,You can use any SEO plugin to make it, like Yoast seo or Rank Math Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliver1 Like 7,092Oliver repliedOctober 3, 2022 at 9:28amOr add this code to the fucntions.php of the child theme: add_action( 'wp_head', function() { global $post; if ($post->ID == 1111) { echo '<meta name="robots" content="noindex, nofollow">'; } } ); Where 1111 - page idPlease note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliver1 Likelkmweb repliedOctober 3, 2022 at 2:42pmThank you for these solutions Oliver. Much appreciated. 7,092Oliver repliedOctober 4, 2022 at 8:00amYou're welcome!Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliver Sign in to reply ...
I do not want to discourage google from indexing the site, just specific pages. Other than making them private/password protected, is there a way to protect the content page-by-page?
HI,
You can use any SEO plugin to make it, like Yoast seo or Rank Math
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Or add this code to the fucntions.php of the child theme:
Where 1111 - page id
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Thank you for these solutions Oliver. Much appreciated.
You're welcome!
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver