-
AuthorPosts
-
May 15, 2020 at 8:02 pm #1213420
Dear Team,
I’d like a statement:
If Yoast is not enabled and Enfold users are not using a SEO plugin or RankMath, All in One SEO Pack etc. then Enfold will automatically write to the header this rule:
<meta name=”robots” content=”index, follow” />
If this is true, why is Enfold doing this? I’m shocked.
All pages that are not to be indexed are now indexed.
And with RankMath, for example, which spells the rule correctly,<meta name=”robots” content=”follow, noindex”/>
Your rule will appear at the top of the header
<meta name=”robots” content=”index, follow” />
just make the RankMath rule obsolete.
Wow, that’s really intense. This error is only vissible, if people take a look into source code.
I prefer, Kriesi should think about this. Yoast is not the only one “SEO”-Plugin on this planet.This is not good.
Best
S.
May 21, 2020 at 12:01 pm #1214967Hey S.,
Thank you for the inquiry.
The theme contains a function called avia_set_follow which renders the meta tag in the header.
function avia_set_follow() { if ((is_single() || is_page() || is_home() ) && ( !is_paged() )) { $meta = '<meta name="robots" content="index, follow" />' . "\n"; } else if( is_search() ) { $meta = '<meta name="robots" content="noindex, nofollow" />' . "\n"; } else { $meta = '<meta name="robots" content="noindex, follow" />' . "\n"; } $meta = apply_filters('avf_set_follow', $meta); return $meta; }
It basically enables indexing on every page except for archive and search pages, but you can use the avf_set_follow filter to change the condition. If you’re not using a child theme yet, you should start creating now because it is a fundamental part of WordPress development.
// https://developer.wordpress.org/themes/advanced-topics/child-themes/
// https://kriesi.at/documentation/enfold/child-theme/Best regards,
IsmaelMay 24, 2020 at 6:06 pm #1215846Dear Ismael,
Thanks for the reply. This option concerning all of your clients, which have not deep understanding in SEO and technical SEO audit and do not use Yoast. For me, it is ok. I add a new option to my filter plugin for some of the Enfold issues. These are your clients, which using another plugins as Yoast and are matched by this rule. They will have different, multiple, contradictory statements inside the source code.
From my side, I would offer your customers a toggle in the long overdue SEO option page in Enfold. But it’s your theme. My expectations would have been a different and fair option from Kriesi.
Thanks
May 27, 2020 at 5:41 pm #1217073 -
AuthorPosts
- You must be logged in to reply to this topic.