this post was submitted on 06 Aug 2023
1453 points (99.1% liked)
Announcements
23319 readers
1 users here now
Official announcements from the Lemmy project. Subscribe to this community or add it to your RSS reader in order to be notified about new releases and important updates.
You can also find major news on join-lemmy.org
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Lemmy-ui supports SEO, and also has opengraph tags. If there's anything else needs to be added, we're open to PRs.
Side note: For me personally, as @FrostySpectacles@lemmy.ml suggested, SEO shouldn't be a focus. SEO is such a gamed system, catering to a few giant search companies, and results are increasingly becoming unusable, especially in the past few years. I can barely find the things I want to search for, and almost always have better luck using internal sites search engines. So I'd rather focus on improving lemmy's search capabalities and filtering, than catering to google.
Would you please consider having only local post/community/users indexed by search engines? A lemmy.ml user complained that their username is first result on Google with lemmynsfw.com domain name. Also implementing this would decrease chance of duplicate content.
It can resolved with a simple noindex meta tag.
I'd be open to a PR for that, sure.
I hate Inferno (specifically class components) but I'll check what I can do 🙏
I do too now (I created lemmy-ui when react was king), which is why the new UI will be written in leptos, using signal-based reactivity, and functional components.
edit: This start bit is wrong; Lemmy does SSR so Javascript-free/spiders should see at least some comments.
~~Lemmy is currently pretty terrible at SEO, in large part because the comments don't load until the JS has run.~~
~~This isn't just a problem for search engines, it affect things like archive.org and offline reading. Earlier today I loaded a page from an instance that had dropped offline - while they had Cloudflare Always Online enabled, the page loaded without comments so it was almost useless.~~
I think it's a mistake to consider all the SEO-related concerns as irrelevant just because you don't care about Google, etc. Most of the things necessary for good SEO are just good practices, with benefits for all users, especially in the areas of accessibility and third-party tools.
Lemmy-ui uses isomorphic rendering so comments do come loaded (just not all of them) on the first page you visit, no javascript needed. Did you mean it should serve all comments?
Hmm, I've just tested an that does seem to be the case, at least as far back as 0.17.4. Do you know when this was added? Or if it's something that can be disabled?
Looking into Cloudflare Always Online, it uses the Internet Archive's backup instead of keeping on itself which could explain me seeing zero comments (i.e. IA scraped the page after posting but before any comments). I can't figure out which page in my history was the post in question, so I can't be sure.
Sadly I dont know when it was added or if it can be turned off, Im not very familiar with it.
Seconding this. In addition to the accessibility, etc benefits, just think about the sheer amount of traffic/users that came from people googling a completely unrelated topic and having reddit pop up. Those are users that might not have otherwise found the platform.
Fair enough. I'm currently focused on creating my own Lemmy web UI, but later I might have room to submit some SEO-related PRs. While I'm not yet sure what needs to be done, instance owners can get tailored recommendations from Google. I have a hunch that Lemmy is currently being penalized for duplicate content, which we might be able to mitigate by adding `` to federated posts.
I'm fully with you on not wanting to cater to Google. On the other hand, if someone writes a helpful Lemmy post, I would like people who don't know Lemmy to be able to find it.
This is one of the most true statements I've read in the past years. Internet search is unusable.
It's also all about to change as soon as Google drops the new generative search feature.