1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Category Name In URLs

Discussion in 'XenForo Questions and Support' started by pontimum, Sep 5, 2013.

  1. pontimum

    pontimum New Member

    I know this question may have been asked more times and i have tried to read all threads but did not find specific answer. My Board will be health related and still under development. There are similar titled threads but will be in different categories. For example there is a thread "Development of Cancer" and it will be in the Kidney Category , Brain Category and many more categories too.

    Currently the best i can do with the help of 1.2.1 version of xenforo is that i can put thread titles in url but since most of my threads will be of same nature but category will be different so i want category names in URLs. For example this is what i would like to see
    http://www.mysite.com/Kidney/Development_of_Cancer.22/ (example thread i need in for kidney category)
    http://www.mysite.com/Brain/Development_of_Cancer.23/ (example thread i need for Brain Category)

    Currently i am not finding any option to put categories in URLS. I do not know if i am missing some thing here or if there is any solution to this problem. Since the category name is different for each category so route filter is also not working for me.
    Can any body tell how to tackle this problem.
    radenmas and Razasharp like this.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    It may be possible with an add-on but there is no option in the default software.
  3. pontimum

    pontimum New Member

    Can you suggest an add-on which can do this ?
  4. RoldanLT

    RoldanLT Well-Known Member

    How about using Route Filter @Brogan ?
  5. Brogan

    Brogan XenForo Moderator Staff Member

    The default route for threads is /threads so all the route filter function can do is change that.

    The forum/category information is not in the thread URL.
  6. Brandon Sheley

    Brandon Sheley Well-Known Member

    Yup, you can use the routes to at least setup the category pages but the threads themselves won't have the forum category name in them.. but at least it's a start.
  7. pontimum

    pontimum New Member

    Is there any add on which can do this ? I was thinking it would be a must thing because it seems so necessary.
  8. Brandon Sheley

    Brandon Sheley Well-Known Member

    I don't think so.
    Mind if I ask why you think it's necessary?
  9. Razasharp

    Razasharp Well-Known Member

    I quite like the idea of forum names in the url, wonder if this could be moved to the suggestions forum as a possible option?
  10. radenmas

    radenmas New Member

    this is a must for XenForo board to be able to listed on google news right?
    currently you can't add boardurl.com/forum/categorynode.999 to google news, because the post itself does not have categorynode.999 on the url.

Share This Page