I want to put <meta name=”robots” content=”noindex”>
I was also thinking of using is_single() and some code to redirect users to the home page… I should put this in functions.php before the loop right? Basically I want the posts as a single page to be inaccessible. If there’s a better way to do this, please let me know.
Thanks,
Teera
I’ve figured out the is_single() part so now single posts of certain categories redirect to the homepage, but I’m still curious as to whether I need <meta name=”robots” content=”noindex”> at all and if it would be good or not for my SEO to do so.
Hi!
Thank you for using Enfold.
I think this article will answer it: https://seo-hacker.com/301-302-redirect-affect-seo/
A 301 redirect is implemented if the change you want to make is, well.. permanent. The detour page not embodies the redirected page as if it was the former. A complete takeover.
So, from what I read, doing a 301 redirect, if that’s what you did, is enough. You don’t need to add the meta tag.
Best regards,
Ismael