About seo
-
is NodeBB SEO friendly? or are there any applicable solution/workaround?
I found SEO for single page apps, but I am not sure it's a good approach since I am new to Node.js and NodeBB
-
Hey @sam!
I've given a non-trivial amount of thought on the subject of making NodeBB SEO friendly, and yes, given that it is a single page app, it is a little harder.
Specifically, NodeBB uses
noscript
tags to echo content in addition to pulling content via our templating system. You can see it when you view the source of this page.This forum has certain pages indexed by Google, and the individual post content is searchable, so this is a success in my books.
In addition, to avoid an SEO penalty, I made sure that the content in the
noscript
tags matches (as much as humanly possible) the content generated by our template engine. -
For example, in this Google search, post content is searchable and indexed.
I am noticing that Google won't often index pages that are orphans (even if they are linked to from the category/topic listing). The entries that do show up are often linked from elsewhere. For example, from a different domain.
We also try to optimise use of meta tags and open graph tags.
At this point, any extra effort would not give meaningful returns.
-
Just want to share this: Making AJAX Applications Crawlable.
check the Pages without hash fragments section, not sure whether it can be apply to other search engine or google only...
-
A lib for it: prerender.io
-
Hey @sam -- at current, NodeBB is crawlable by Google (the latest changes we've incorporated) actually show proper text.
I did look into using phantom-js to render pages specifically for the googlebot, though it seems like unnecessary overhead if our existing code is already producing good results. Of course, this is not set in stone,
Right now, we're following Discourse's lead on this issue. They rely on
noscript
tags just as we do, though there is definitely room for improvement. -
There's a small bug in the noscript section. The title is not included. In fact, a lot of NodeBB sites could see an improvement with the title being included in an H1 tag. The title tag is adequate but having both title and h1 is better.
-
This post is deleted!
-
@julian No problem. I really like what NodeBB and Discourse are working on. I prefer NodeBB because I'd rather manage a node.js + mongodb stack than a RoR + prostgresql stack. So I'll be chiming in with my suggestions.
-
For example, in this Google search, post content is searchable and indexed.
I am noticing that Google won't often index pages that are orphans (even if they are linked to from the category/topic listing). The entries that do show up are often linked from elsewhere. For example, from a different domain.
We also try to optimise use of meta tags and open graph tags.
At this point, any extra effort would not give meaningful returns.
Снимок экрана 2023-12-18 в 12.45.15
How correct this mistake !? Google cancel indexing a lot of pages same critical errors
-
Many NodeBB users and paid clients helped to improve it's SEO metrics. Some of them with extreme know-how and experience. So yes, you get production ready configuration by default. As being said you need to add keywords, descriptions and valuable content.
It may be more important to get some traffic from other sites including social media. As a result you're going up and up in search results. Plain SEO is not going to work.