superspeedyplugins / issue-tracker

Submit bugs and feature requests for any of our plugins
0 stars 0 forks source link

Multiple SEO issues compatibility problem with Yoast, woocommerce, SSF and Auto Infinite Scroll #141

Open thinkjarvisdesignandmarketing opened 2 months ago

thinkjarvisdesignandmarketing commented 2 months ago
  1. Multiple Canonical URLS are added to the HTML by Yoast and SSF.
  2. rel="next" only references page 2 only
  3. This is causing our SEO analysis to flag a serious problem with crawling the site
  4. This may be a false positive but I need some help understanding.
  5. I agree with SSF logic and AIS logic that paginated pages shouldnt be crawled so this may be a false positive.
  6. There are two sets of meta being added: index, follow and then no index, no follow,
  7. One is added by SSF and one by Yoast?

Example below:

view-source:https://www.thehealthworkshop.co.uk/product-category/food-and-drink/

Yoast and default meta robots


<meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' />

<!-- This site is optimized with the Yoast SEO plugin v22.6 - https://yoast.com/wordpress/plugins/seo/ -->
<title>Food and Drink - The Health Workshop \| Ashby De La Zouch</title>
<!-- Admin only notice: this page does not show a meta description because it does not have one, either write it for this page specifically or go into the [Yoast SEO - Settings] menu and set up a template. -->
<link rel="canonical" href="https://www.thehealthworkshop.co.uk/product-category/food-and-drink/" class="yoast-seo-meta-tag" />
<link rel="next" href="https://www.thehealthworkshop.co.uk/product-category/food-and-drink/page/2/" class="yoast-seo-meta-tag" />
<!-- / Yoast SEO plugin. -->

and then further down the header (generated by SSF???)

<meta name="robots" content="noindex,nofollow">
<link rel="canonical" href="https://www.thehealthworkshop.co.uk/product-category/food-and-drink/">
<link rel="next" href="https://www.thehealthworkshop.co.uk/product-category/food-and-drink/page/2/" />

IMPORTANT CONTEXT We have an SEO specialist working on this job. This was a standard Screaming Frog SEO audit.

We should only have one set of robots instructions and one set of canonical and prev/next instructions?

thinkjarvisdesignandmarketing commented 2 months ago

Following on from this SSF doesnt remove the first meta name=robots instruction therefore the two conflict with eachother.

SSF does not remove Yoasts settings for rel next and previous and canonical.

SSF needs tweaking for Yoast and general robots compatibility - Or just some guidance on preventing the duplicated metadata. By default SSF creates these duplicated date fields.

I can see that there are settings in SSF to remove the duplication but this means changing these settings from anything other than disable or multi-term means that they just clash with Yoast.

Multi-term gets rid of the duplication. Is this the right action to take?

thinkjarvisdesignandmarketing commented 1 month ago

Related https://github.com/superspeedyplugins/issue-tracker/issues/142

Changing the items to mult-term removes the duplicated canonicals and robots instructions. So it is then using Yoast's settings.

Current cannot remove the next and prev rel links so duplcated.

If we can deal with issue 142 first - I can re-run the SEO audit from Screaming frog and confirm whether the issues rasied are fixed.

dhilditch commented 1 month ago

Sorry about the delay with these #141 and #142 I'm in and around the code for a paying customer, so I'm familiar again with all this and will do it soon but probably tomorrow.

thinkjarvisdesignandmarketing commented 1 month ago

@dhilditch no problem. I wasnt sure if Issue 142 would help with your 144 job. I'll keep an eye on my emails for updates.

dhilditch commented 1 month ago

image

Please can you check this item and #142 with the latest SSF since I updated the code this week to fix the ALL option.