narwen
Forum Replies Created
-
Do this happen only with my installation?
Forum: Plugins
In reply to: [YARPP - Yet Another Related Posts Plugin] Disable yarpp-thumbnail (120×120)Thank you so much!
I’m excited to note that issue is solved! That was indeed object cache issue. After almost two test weeks I have no more noindexed pages ?? Thanks you very much!
- This reply was modified 3 years, 10 months ago by narwen.
You can test the issue by performing these two steps:
Go to
<post-url>?cpage=2
. TSF should output “noindex” (unless the filter above is implemented). TSF should output a URL in theog:url
meta tag that points to the comment section.
Go to <post-url>. TSF shouldn’t output “noindex”.I’ve disabled “Enable object cache?” and test the issue. Behavior was as expected. Now I waiting if crawler could invoke more noindex. Fingers crossed ??
This is undoubtedly a caching plugin issue, where it caches a late 404-response or comment-query response of the page, to both of which TSF applies the noindex. It is not a bug of TSF; rather, it’s a protective feature.
…
It probably has to do with an option along the lines of “ignore query string…”. If no such option is presented, you may want to consider using a different caching plugin or reach out to the caching plugin authors and lead them to this topic.I’m use nginx server FastCGI Cache. That isn’t wordpress plugin, this is part of server itself. It do not ignore query string in url. I expected that my envoirement not very common for wordpress sites, so I’ve checked pages as bypass cache user and yet I saw noindex on some pages. I’ve also used memcached for Object Cache and Cloudlare proxy. Could they affect on noindex? How I could check late 404-response myself on demo install?
you’ve switched SEO plugins before you sent the links I’ve asked you for three weeks prior
I’ve posted link to page with noindex in this thread a week before I switched plugin. I thought you don’t see any issue on page, now I see that you don’t noticed this post ??
Hello! I’ve wrote some detail via contact form week ago, hope it could clear something. Meanwhile I’ve moved on another plugin and do not have any unexpected noindex, so I think there are some tricky bug in how The SEO Framework add noindex. If I could help somehow to find this bug just let me know.
So. My tests are ended in failure. I liked plugin concept, so sad that I have to use something else.
Just reports at last. I have 1900 posts and last 3 months since I’ve used plugin noindex meta randomly appeared and disappeared on less than 10–15 posts. I have disabled all noindex options in plugin setting pages. I tried to enable forced index in posts settings itself. But problem still there:
<!-- The SEO Framework by Sybre Waaijer --> <meta name="robots" content="noindex" /> <meta name="description" content="…" /> … <!-- / The SEO Framework by Sybre Waaijer | 0.41ms meta | 1.78ms boot -->
Hello! I’ve already disabled Advanced Query Protection 2 weeks ago as you suggested and I bypass cache as logged in user while checking page for noindex meta. For now I disabled all noindex options and will check if I got any noindex pages in next week or two. Then I’ll start to enable it by one.
I did nothing with plugin but page in example do not contain
<meta name="robots" content="noindex" />
just after<!-- The SEO Framework by Sybre Waaijer -->
anymore. Could plugin change something by schedule? Or while posting new post?Some report on my issue.
I’ve disabled advanced query protection and search page. But I still get randomly noindex in different pages. For example: https://7kingdoms.ru/story/speculative-game-of-thrones-cast-gallery/
Sometimes noindex disappears for itself, when I’ve for example update options, and I see noindex only via crawler monitoring of Yandex.Webmaster (which is more frequently and aggressive crawler than Google).Thanks! But I saw unexpected noindex on previous version too.
- This reply was modified 3 years, 11 months ago by narwen.
So I got more
<meta name="robots" content="noindex" />
on page where it shouldn’t be. In options noindex enabled only for:
+ Apply noindex to every second or later page on the homepage?
+ Apply noindex to every second or later archive page?
+ Apply noindex to Date archives?
+ Apply noindex to Search pages?
+ Enable advanced query protection?
That was one of my most attractive page for google ??- This reply was modified 3 years, 11 months ago by narwen.
But after I disable noindex for attachments
<meta name="robots" content="noindex" />
is gone for this page.Forum: Plugins
In reply to: [The SEO Framework – Fast, Automated, Effortless.] Paginated Archive SettingsThank you!
Forum: Plugins
In reply to: [RSS for Yandex Turbo] Выводит только одну картинку из галереиПроблема была в том, что массив картинок в галерее возвращал лишние символы, которые не были перечислены в этом блоке:
$atts['include'] = str_replace(array("»","″"), "", $atts['include']); $atts['orderby'] = str_replace(array("»","″"), "", $atts['orderby']); $atts['order'] = str_replace(array("»","″"), "", $atts['order']); $atts['exclude'] = str_replace(array("»","″"), "", $atts['exclude']);
Замена на:
$atts['include'] = str_replace(array("»","″","”"), "", $atts['include']); $atts['orderby'] = str_replace(array("»","″","”"), "", $atts['orderby']); $atts['order'] = str_replace(array("»","″","”"), "", $atts['order']); $atts['exclude'] = str_replace(array("»","″","”"), "", $atts['exclude']);
решила проблему.
Пока отлаживала, заметила, что шорткод можно переписать гораздо короче:
function yturbo_gallery( $output, $attr ) { $yturbo_options = get_option('yturbo_options'); if ( ! is_feed($yturbo_options['ytrssname']) ) {return;} $ids_arr = str_replace(array("»","″","”"), "", explode(',', $attr['ids'])); $ids_arr = array_map('trim', $ids_arr ); $posts = get_posts(array( 'include' => $ids_arr, 'post_type' => 'attachment', 'suppress_filters' => true, 'post_mime_type' => 'image', )); if( ! $posts ) return "\n\nЗапрос вернул пустой результат.\n\n"; $output = "\n<div data-block=\"gallery\">\n"; foreach($posts as $imagePost){ $output .= "\t<img src='".wp_get_attachment_image_src($imagePost->ID, 'full')[0]."'>\n"; } $output .= "</div>\n"; return $output; }