Jump to content

Pretty Urls


MemoryX2

Recommended Posts

I know this has been mentioned in a couple cases through the forum, so I wanted to open a formal request on this.

It would be great if Blesta used shorter/ prettier URLs. Some like /ticket/23 instead of /plugin/support_manager/23 (may be longer than even that).

It would be great if there was an easy way in the system settings somewhere to shorten these URLs and set custom values.

Link to comment
Share on other sites

A URL is supposed to be a logical resource, which is how they're built in Blesta. It's sometimes nice to have sort URLs, but that usually requires removing information about a particular resource, making it less logical.

Logic aside, as-is, I think they are quite pretty. Much prettier than say, "cart.php?template=foo&package=12".

Link to comment
Share on other sites

A URL is supposed to be a logical resource, which is how they're built in Blesta. It's sometimes nice to have sort URLs, but that usually requires removing information about a particular resource, making it less logical.

Logic aside, as-is, I think they are quite pretty. Much prettier than say, "cart.php?template=foo&package=12".

I agree with you. After posting this, I'm now beginning to rethink the entire idea.

Link to comment
Share on other sites

Question for stuff , is the routes system can be overrided by other class ? if yes , the door is open to use plugins to ovveride the routes/urls without changing the core files .

 

No, because the route must be processed before any other code is executed. You could, of course, use a plugin to modify /config/routes.php when installed, though probably best to just give user instructions to do so.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...