How can we improve Lemmy’s SEO so we can google “(question) lemmy” instead of relying on “(question) reddit”

Nix@merv.news to Asklemmy@lemmy.ml – 511 points –

most people i know use google by searching whatever question they have and including the word “reddit” at the end to find reddit threads since it currently has the most useful information.

As Lemmy gets more and more filled with useful threads and reviews it would be great if we can collectively improve Lemmy’s SEO so just including the word lemmy in a search will show lemmy threads related to the search.

The obscure tlds used in lemmy servers don’t help and lemmy.com currently redirects to lemm.ee. Is there a way we can improve the SEO of all instances or have lemmy.com be a aggregator of threads from many Lemmy servers?

92

You are viewing a single comment

It'll happen if Lemmy gets big enough. I only worry about search engines getting tangled in the natural duplication of Lemmy posts.

Like, if a web crawler sees a Beehaw post, and then seees Lemmy.ml's mirrored page of that same post, could it just show up as two different results? Could it work against the SEO in that it gets marked as "duplicate" or "spam" content in some way?

Like, if a web crawler sees a Beehaw post, and then seees Lemmy.ml's mirrored page of that same post, could it just show up as two different results? Could it work against the SEO in that it gets marked as "duplicate" or "spam" content in some way?

The ideal solution is that the page has a canonical tag, telling search engines what the main URL for the content is: https://ahrefs.com/blog/canonical-tags/. I don't know if Lemmy already does this, nor do I know how well canonical tags work cross-domain as I've only ever used them for content on the same domain.

The ideal solution is that the page has a canonical tag, telling search engines what the main URL for the content is: https://ahrefs.com/blog/canonical-tags/. I don’t know if Lemmy already does this [...]

I checked and it does, this post's canonical is:

<link data-inferno-helmet="true" rel="canonical" href="https://merv.news/post/26663">

Weirdly it uses OP's instance, in this case merv.news. Shouldn't it be the instance where it was posted?

I would think it's because users only interact with their own instance. They would need to post it to their instance first before it can be forwarded to the appropriate community's instance.

If/When Lemmy and other federated services grow to the point that's an issue in major search engines, said search engines should be smart enough to group and/or suppress mirrored results.

You can see that sort of thing in Google now for major sites like Reddit and StackOverflow, though it's more along the lines of "the same question in a different post".

You can also, in the interim, just pick an instance and add, site:lemm.world or whatever instead of just "lemmy".

It might help it, as well. I believe in the Yandex source code leak they detail their algorithms SEO techniques. Might be a good lead