Using category slug when creating new topic via URL


(Erik Molenaar) #1

Just want to share my experience here. This had me pulling out my hairs!

If the category slug contains a minus (-). Make sure to replace these with a plus (+) in the URL to make it work:

Not working: &category=category/subcategory-with-slugs
Working: &category=category/subcategory+with+slugs


Compose a new pre-filled topic via URL
#2

Given that tags-with-dashes work, why is it that categories require + instead?


(Arpit Jalan) #3

As per original topic description we only supported category name (not slug), so that’s why you were seeing issues when using slug.

But there has been a previous discussion about this and it was suggested that we should support slug as well. Therefore…

Now we’ll support both category name and slug value for category parameter.


(Arpit Jalan) #4