How to Customize the URL? Would Prefer Shorter URL
Is there any way to cut down the url permalink?
Currently, the url of any post is being displayed as http://domain.com/%postname%
However, it leads to a long url structure.
Can it be limited? Or can we have a custom url where one can choose the words to be in the url?
The present system gives me a long url that has stop words too.
Instead of long 100+ characters in a URL, I would like to have short url.
How can I make it?
Hope I'm not complicating the things.
Everything in the slug is optional, actually, so while the canonical URL to this topic is https://community.nodebb.org/topic/11181/how-to-customize-the-url-would-prefer-shorter-url, you can access it by going to https://community.nodebb.org/topic/11181
If you want to change the slug, you will have to edit the "slug" property in the topic hash (so for this topic, it would be
topic:11181). At this time we do not have the capability to update the topic slug via the UI.
@julian Thank for the response.
Hope this issue will be addressed by the development of some plugin as it addresses SEO aspect too.
In what way? URL length doesn't correspond to any increase or drop in search engine ranking. Having a slug is better than not having one, I'd wager.
Chilsion last edited by Chilsion
@julian I think it would be very useful to allow the admin to choose a permalink structure like:
/$(category) + /$(category)/$(topic-id)-$(topic-title).html
I agree with your inputs. Implementation of the custom permalink structure would be a great idea.