Challenges in SEO optimization, and related topics
-
The thing that makes me the craziest here is the following:
The href is doing this:
/forum/forum/category/248/initiationIt is not visible; it seems to serve no function, but it is causing bad links in my site scans. Overall, it is relatively minor in score impact, but I do not know why it is happening, though I suspect a "window.location.path" is being used somewhere in the stack, and therefore "forum" gets tacked on. There are some other bad links here and there, but this is a big majority of them.
A much bigger concern is that the canonical URL for pretty much every page in the forums is incorrect. And the engines do not like that.
Outside of that, I have a bunch of old data with insecure and dead URLs in posts. I would like to be able to bulk edit based on patterns and checks, but we are discouraged from directly modifying data in Mongo. Any suggestions for mitigating this issue without removing direct links would be appreciated.
-
Looks like you are running nodebb in a path like
domain.com/forum
and that relative path is being duplicated there. Created an issue here https://github.com/NodeBB/NodeBB/issues/12465.That element becomes visible when there are new topics and clicking it refreshes the page. It's the below element.
-
fix: closes https://github.com/NodeBB/NodeBB/issues/12465 · NodeBB/nodebb-theme-harmony@8c5e02b
Harmony theme for NodeBB v3.0+. Contribute to NodeBB/nodebb-theme-harmony development by creating an account on GitHub.
GitHub (github.com)
Let us know what other places you see a duplicated
/forum/forum
url so we can fix those too. -
I will thank you, @baris . Yes, my forum runs as part of a larger site, so your assumptions were correct. I will let you know.
-
@baris is this update to Harmony published already? And, do I just run an upgrade with npm or ./nodebb?
-