I cross-post all of my articles to DEV (soon to other platforms such as Medium and Hashnode as well) and am very happy to do so.
DEV provides the ...
For further actions, you may consider blocking this person and/or reporting abuse
I recently noticed this in my Google Search Console - there are 2 articles that I recently updated the canonical url to point to my new url and they show as "non-canonical" in the console though.
I guess I might start taking the 'wait a few days' approach to posting too π
Thanks for the comment @terabytetiger , nice to have another data point β great username btw π―
Google Search Console was showing my article as having been crawled, but not indexed. I think the correct terminology is "Submitted by not indexed". I can't recall if I then manually requested indexing or if it was just indexed in time.
Interesting that your pages display as "non-canonical" π€ Are they showing in Google Search Results at all?
Thanks! I recently choose the new name and am happy with it! π
This is the specific message I see:
It doesn't look like my site shows for this specific search - but I requested a manual re-index for the associated pages recently. Hopefully it will help π€
Which articles is it that aren't showing up in the search results right now? Thanks for the screenshot π Could you let me know if the problem is resolved?
Side note (and sorry if things are WIP right now and you know this already): your Blog page renders fine on the first (SSR) render, but not when I click the links in the navigation (presumably CSR). The same goes for the Lessons page actually βΒ seems to be an issue with invalid
Date
s.terabytetiger.com/lessons/articles... is one of them. I'll definitely be back if I find a solution π
Not sure I understand/am seeing the errors with the pages - everything seems to be working fine for me.
Do you get console errors or could share screenshots? Thanks for letting me know!
Looks like you're not setting the
<link rel="canonical" href="https://terabytetiger.com/lessons/articles/vue-rainbow/">
on that page? The metaInfo property on pages and templates should help you there πHere are the
Error
s that I see in the console:Hmm, this is weird π€ I don't see anything in Edge (Chromium) Beta on Windows. Which browser are you using?
I recently swapped out Moment for date-fns. Maybe that has something to do with it?
Swapped back to Moment.js - maybe that solves it?
Hi Tyler, that seems to have fixed it, yes π·ββοΈπ
I'm using Firefox btw π₯ π¦
Quick note on canonical tags:
a) they must be absolute i.e. prefixed by
https://yourdomain.com/
b) they must be identical on both the DEV post and the original article (right down to the presence of trailing slashes)
c) they need to be
<link rel="canonical" href="...">
, not<meta>
Oh yay! I'm glad it's working! π
Thank you so much for the tips! I (clearly) have no idea what I was doing with these π This was extremely helpful π
You're very welcome Tyler! I've banged my head against this very wall so I'm happy to help you avoid doing the same π
Yes, the big issue here is that Google treats the whole thing like a total black box. We do everything we can to have this functionality work for users, but all we can do is offer the functionality and it seems like it's not unilaterally followed by Google.
Here are some screenshots from our Google Search Console....
Hey @ben , thanks for the comment and for shedding some light on the issue from your perspective.
I realise there's nothing more you can be doing on your end π The information that I'm gleaning from the screenshot goes against pretty much everything that I've just read about
<link rel="canonical">
β black box indeed!"Google selects a canonical URL only after a page is indexed" is a great insight though so, again, thanks for the comment. I'll trial-run my policy of waiting a few days (or at least until I know the original page has been indexed) before cross-posting and report back with the outcome β just for posterity's sake.