HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
How to remove the discussion ID from the URL. Super clean pretty url!
Greetings, In this thread I share a little idea/tut on how to create a tiny plugin to manage an app-level rerouting. This is only preferable for minimal use, say like what the plugin "BasicPages" has in mind. So, beware, cavete!!! Like example.com/about-us, example.com/faq, and so on. Question: I am playing with… -
Re: How to remove the discussion ID from the URL. Super clean pretty url!
I have a script that manages rerouting super clean urls to my discussions. I removed the discussion ID from the url slug altogether and so this script internally checks the config for existing rules, conflicts and updates etc. All this works nicely for existing discussions, not so much for newly created ones. I need the id… -
Re: How to remove the discussion ID from the URL. Super clean pretty url!
-
Re: How to remove the discussion ID from the URL. Super clean pretty url!
Thanks @R_J for the suggestions. IIRC, getDestination() does not get the whole route array. My function gets the array via the destination, so that I can check against the route name and other properties. I tried the 301 permanent, and to say the least, absolute disaster! The requests forwards to /discussion/id# totally…
4 results