SEO and friendly urls
I would like to be removed from the url 'category', 'cid', 'pid', 'topic'. I think to make it through the plug-in, as not all need it, not to touch the source code.
Same with topics.
Could you suggest something? What hooks require and in general it is possible to do it by means of plug-in? I on the right path?
As I understand it, the plugin problem can not be solved?
In php this problem can be solved by means of .htaccess rules. With NodeBB or NodeJS i don't know how.
As @Julian explained, you would have to use the slug, when a request its made, and search it across the post or category indexes, so you find the corresponding cid, pid etc to access it.
I'm not a plugin expert, i'm sure @pitaj can explain the plugin approach to you a lot of better.
@José-Ángel-Rey-Liñares I need support when creating a plug-in, as this will be my first plugin NodeBB and he, as I understand it, will not be easy. Maybe he will be in demand for new projects.
@sergej-saveljev you're in the right place then. I can't guide throught across the steps of creating it, because i'm just entering in the nodebb world too. But using the documentation and asking your doubts in the forum (plugin development category) i think you will get it to work.
@José-Ángel-Rey-Liñares I believe that
I need support when creating a plug-in, as this will be my first plugin NodeBB and he, as I understand it, will not be easy.
We may have a talk about NodeBB and its plugins in Russian over VoIP (Teamspeak?) if you want to. I can point you some pitfalls, and even some best practices in plugin development
It was an amazing meeting, we were speaking more than 5 hours non-stop
I'd like to join "NodeBB speaking club" if there were one.
@julian someone should set up a mumble server at
voice.nodebb.orgor something (with channels for different languages).
Probably it is necessary to change the function of the controller categories,
src/controllers/categores.jsfile. Can i just overwrite it? If so, how?
I create plugin and include frontend script, what's next? By the way, about https://docs.nodebb.org/en/latest/plugins/create.html page, it's cruel, guys! Very little information and some of it is not true.
MaestroMagnifico last edited by
Hey, I see NodeBB doesn't convert symbols in url to latin. So there's ugly and not SEO-friendly links like this:
Is it possible to fix this?
nam ly last edited by
someone create plugin about this ?
this is important about SEO please help or show me how to create one i will try to do my best.
this is important about SEO
postin your URL will never lower your SEO score... SEO score being itself such an abstract concept, focus on delivering high quality content instead of trying to optimize for silly things like this.
The slugified url as presented is ideal already.
nam ly last edited by
@julian thanks ad, but in my country, this is important.
I created plugin about this: https://github.com/lyquocnam/nodebb-plugin-seo-slug-friendly
yah, this work !