Kal Posted August 25, 2020 Report Posted August 25, 2020 Is there a way to get Blesta to generate friendlier URLs? I'm thinking of the Knowledge Base in particular. Instead of this: https://blesta.example.com/plugin/support_manager/knowledgebase/view/6/testing-your-website-before-it-goes-live/5/ I'd like to have something like this: https://blesta.example.com/knowledgebase/testing-your-website-before-it-goes-live Quote
0 Paul Posted August 25, 2020 Report Posted August 25, 2020 12 hours ago, Kal said: Is there a way to get Blesta to generate friendlier URLs? I'm thinking of the Knowledge Base in particular. Instead of this: https://blesta.example.com/plugin/support_manager/knowledgebase/view/6/testing-your-website-before-it-goes-live/5/ I'd like to have something like this: https://blesta.example.com/knowledgebase/testing-your-website-before-it-goes-live I believe this is possible by creating a route, similar to the order manager which uses /order/ instead of /plugin/order/ See https://docs.blesta.com/display/user/Configuration+Files#ConfigurationFiles-routes.php for details. If you need help, creating the route, one of our devs may be able to help. It wouldn't hurt if we had some common examples in our docs anyway. Deactivat3d 1 Quote
0 qba82 Posted August 27, 2020 Report Posted August 27, 2020 Knowledge base urls should be shorter, and additionally it should allow longer titles of any article in url. For example now any title longer then approximately 45 signs is cut in url. Quote
0 Deactivat3d Posted August 27, 2020 Report Posted August 27, 2020 Working example would be great Quote
0 Kal Posted August 28, 2020 Author Report Posted August 28, 2020 On 8/26/2020 at 9:27 AM, Paul said: I believe this is possible by creating a route, similar to the order manager which uses /order/ instead of /plugin/order/ See https://docs.blesta.com/display/user/Configuration+Files#ConfigurationFiles-routes.php for details. If you need help, creating the route, one of our devs may be able to help. It wouldn't hurt if we had some common examples in our docs anyway. Thanks for the info about routes.php. I can see from the code, for example, how `/admin/settings/company/general/localization/` really points to `/admin_company_general/localization/`. By the same logic, `/admin/plugin/support_manager/admin_knowledgebase/` should point to `/support_manager/admin_knowledgebase/`, but trying to load that second URL in a browser doesn't work—so I guess there's something I'm not getting about how it works. Anyway, I suspect I can't achieve what I want with routes, because the table row IDs for knowledge base articles are essential parts of the URLs. Ideally, I'd like the option of having human-readable and platform-agnostic URLs like this: https://account.example.com/help/docs/article-title I don't like that the URLs include table row IDs, which don't reflect anything meaningful, only what order I created the articles. That kind of thing should be hidden from the user IMHO. NANO 1 Quote
0 Kal Posted September 29, 2020 Author Report Posted September 29, 2020 I've now made this a feature request: Friendly URLs (permalinks). turner2f 1 Quote
0 turner2f Posted October 2, 2020 Report Posted October 2, 2020 I voted on it. Been wanting this. Kal 1 Quote
0 Blesta Addons Posted October 3, 2020 Report Posted October 3, 2020 this not a smlall task, it need some work and edit in the support plugin, first it need a slug field to map the url. we have made this in a private/custom plugin for a client . also our Cms Pro plugin (not yet released has this built in feature). finally +1 for this request Kal 1 Quote
0 turner2f Posted October 5, 2020 Report Posted October 5, 2020 On 8/25/2020 at 7:27 PM, Paul said: I believe this is possible by creating a route, similar to the order manager which uses /order/ instead of /plugin/order/ See https://docs.blesta.com/display/user/Configuration+Files#ConfigurationFiles-routes.php for details. If you need help, creating the route, one of our devs may be able to help. It wouldn't hurt if we had some common examples in our docs anyway. @Paul Are there any plans to implement the " Friendly URL's" into a future release of Blesta ?1)- This way the url is not revealing the Blesta plugins or modules that are being used. 2) - Plus, it just looks more clean and professional. .. Quote
0 turner2f Posted October 10, 2020 Report Posted October 10, 2020 Is this going to be considered in an update ? Already created a request for it . Quote
Question
Kal
Is there a way to get Blesta to generate friendlier URLs? I'm thinking of the Knowledge Base in particular.
Instead of this:
https://blesta.example.com/plugin/support_manager/knowledgebase/view/6/testing-your-website-before-it-goes-live/5/
I'd like to have something like this:
https://blesta.example.com/knowledgebase/testing-your-website-before-it-goes-live
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.