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

Category-Forum Numbers in URL

Discussion in 'XenForo Questions and Support' started by Phillip, May 30, 2011.

  1. Phillip

    Phillip Active Member

  2. Brogan

    Brogan XenForo Moderator Staff Member

    The ID numbers are based on the order they are created or imported.
    For instance, the default main category is 1 and the default forum is 2.

    Forums can be given a URL portion which removes the ID from the URL.
    That option is not available for categories.
     
  3. Phillip

    Phillip Active Member

    How can this be done? Are there any negative consequence to dropping the ID?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    It's done in the ACP when configuring the node.

    The drawback is if you change the URL portion in the future, any old links to the original URL will no longer work.
     
  5. Phillip

    Phillip Active Member

    Can the URL portion be changed for imported forums from vBulletin or is this only for new forums created within XenForo?
     
  6. Wuebit

    Wuebit Well-Known Member

    new forums will +1 on the last number
    you can remove the number from forums in the AdminCP

    example
    http://animelon.com/forums/the-cafe/ no number
     
  7. James

    James Well-Known Member

    Yes, they can be changed like any other. Change the URL portion relating to that node in the ACP :D
     
  8. Phillip

    Phillip Active Member

    I guess I'm just missing where this is for existing forums... I see the URL portion option when a new forum is created, I just can't find it for existing forums.
     
  9. Phillip

    Phillip Active Member

    Nevermind... I just found it. :oops: Thanks!
     
  10. Phillip

    Phillip Active Member

    Ok, one more. I see that when you change the URL portion for an existing forum, that URL's will be broken.

    What URL's does this refer to exactly? If the forum has never been "live" will changing the URL for an imported forum impact anything?
     
  11. James

    James Well-Known Member

    No it won't. Just external urls
     
  12. Wuebit

    Wuebit Well-Known Member

    If its never been live and you havn't "linked" to it than no it won't impact anything

    pfft James is fast..
     
    James likes this.
  13. Phillip

    Phillip Active Member

    Is it possible to change a forum to a category? This can be done in vBulletin but it may not be possible here.

    Sorry for all the questions, we're just trying to sort out some numbering issues.
     
  14. James

    James Well-Known Member

    Change the node type, I think its possible via the node setting. I can't check on my mobile :D
     
  15. Phillip

    Phillip Active Member

    Haven't found an option to change it yet... let me know if this is possible.

    After the vBulletin import, how are post thread URL's changed from numbers to full friendly URL's? Full friendly URL's are already selected in the admin panel.
     
  16. Phillip

    Phillip Active Member

    I'm still looking to see if there's a way to change a forum to a category. Or another solution would be to find a way to change the forum id number at the end of categories.

    Got this one working now. :)
     
  17. Brogan

    Brogan XenForo Moderator Staff Member

    Node types are distinct and can't be changed from forum to category and vice versa.

    It is not possible to change the node id - you will have to create a new node and move all the children to that new node.

    I think I know that the problem is - the category node id's are higher than you'd like?

    I created my whole forum structure before I imported: I did about 20 categories first, then all the forums.
    After importing I moved all the posts from the old imported forums to the new ones.

    That ensured my category and forum id's were exactly as I wanted.
     
  18. Phillip

    Phillip Active Member

    Yes, I did the same thing. The issue though is that by default one category and one forum is set up. The #2 automatically gets assigned to that first forum. Therefore, the next category is #3, not #2.

    Maybe someday they'll be an easy way to change the forum/category numbers. It would be even better if we could use partial URL's without numbers for the categories as well.

    Thanks for the feedback. Your response time is fantastic.
     
  19. Brogan

    Brogan XenForo Moderator Staff Member

  20. Phillip

    Phillip Active Member

Share This Page