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

Rewrite custom urls

Discussion in 'XenForo Pre-Sales Questions' started by Ranma1981, Jan 26, 2013.

  1. Ranma1981

    Ranma1981 Member


    I was really impressed from this software, congratulations at Kier, Jake Bunce and other guys, you have created a product truly excellent.

    Please, I have some questions regarding the possibility to set custom urls with Xenforo. I prefer use clear and short urls, the best for search engines. I would like understand if I can use these (below) urls, with some customized .htaccess, or other modifications.

    1) Forum sections urls

    If I install Xenforo in a subdomain, is possible set for forum sections, urls as these?


    And not...


    I found the addon of Jake Bunce, Route Changer, is possible using it remove "forum" word from URL?

    2) Thread Urls

    Enabling the options in the Administration, it seems that is possible set an url of this type:


    Uhm, is this customized? Is possible use instead of "threads" the name of forum or remove it from url?

    I prefer to set a url like this:

    a) community.mysite.it/name-forum/post-title-ID/


    b) community.mysite.it/post-title-ID/

    3) Member Urls

    Is possible modify the symbol . with - in the urls?


    Thank you,
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    1) You can use the Route Changer addon to change "forums" to something else, but you can't remove it.

    2) As with "forums", you can change "threads" using the Route Changer but you can't remove it. Changing it to the name of the forum requires a proper addon and it is likely to be messy for a variety of reasons. I recommend against this.

    3) That is possible but it requires an addon to extend the route handler for "members".
  3. Markos

    Markos Well-Known Member

    2) I've
    requested this in the past...i think it's very important. But i see that not many users see this need...
  4. Jarod

    Jarod Active Member


    Alexd Did it for me (via an addon) for my future migration ...
    alexD likes this.
  5. Ranma1981

    Ranma1981 Member

    Hello Jake,

    thank you for your reply. So...some other questions for you.

    1) I saw many forums with Xenforo (from the signatures of members here), and it seems that someone have a clear url for his forum homepage:

    a) exoticfishforum.com

    b) shottalk.com

    And for forum sections:


    So, is possible don't have mysite.com/community/forum/name-section?

    Don't tell me that is possible also if I install XF on the root of site...:eek:

    According you, are those custom redirect with .htaccess?

    2) Ok for thread urls. I could use "post" instead "threads".

    3) So, is possible change the symbol . with -, for all urls? Forum section name, thread, members, etc.

    Thank you Jake
  6. Ranma1981

    Ranma1981 Member

    Hi, which addon? Is it reserved? Mmmhh..
  7. Jarod

    Jarod Active Member

    Custom paid addon :)
  8. Markos

    Markos Well-Known Member

    What does this addon?
  9. Jarod

    Jarod Active Member


    - Custom url for my forum (same that i have with vbseo)
    - Stopwords in the url
    tsak76 likes this.
  10. Markos

    Markos Well-Known Member

    There are a demo for that?
  11. Jarod

    Jarod Active Member

    No :)
  12. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    That is exactly what they have done... installed XenForo in the web root. This is appropriate if your web site is only the forum.

    Yes that should be possible with an addon and/or file modifications. There is a central class for building URL components. You should be able to modify that class. This gets into PHP code though.
    Adam Howard likes this.
  13. Ranma1981

    Ranma1981 Member

    Thank you for your answers Jake, I am a new Xenforo's webmaster from few hours.

    Ehehe (y)
    Adam Howard likes this.
  14. Forum

    Forum Member

    Is it possible to make:
  15. Brogan

    Brogan XenForo Moderator Staff Member

    You can replace /threads with /t using Route Filters but you can't move the thread ID nor remove the period.
    That would require an add-on.
  16. Viks285

    Viks285 Member

    Thanks. Had a similar query.

Share This Page