How to change thread URL structure to example.com/1234-Thread-name?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Devtard
    Member
    • Nov 2012
    • 42
    • 5.0.X

    [Forum] How to change thread URL structure to example.com/1234-Thread-name?

    Is there a way to do this via .htaccess?

    E.g. by removing "threads" from the following rule:



    Code:
    RewriteRule ^threads/.* showthread.php [QSA]
    I really don't know anything about it and don't want to mess things up.


  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    No, removing it from the .htaccess won't work. You would need to actually modify the code to get it that way.

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment

    • Devtard
      Member
      • Nov 2012
      • 42
      • 5.0.X

      #3
      Do you have any idea how to achieve that?

      (BTW, I assume that by changing "threads" to "discussions", the URL will be changed to example.com/discussions/1234-Thread-name, am I correct?)

      Comment


      • Lynne
        Lynne commented
        Editing a comment
        No, it won't. "threads" is hard-coded in the vbulletin code which is why I said you would need to modify the code itself. And as Mark said below, if you need help with that, the place to ask is over on vbulletin.org, the modification site.

      • Devtard
        Devtard commented
        Editing a comment
        Okay, thanks for explaining.
    • Mark.B
      vBulletin Support
      • Feb 2004
      • 24287
      • 6.0.X

      #4
      Hi

      Sorry but we're not able to provide support for code modifications on this site.

      You could try asking at www.vbulletin.org, which is the modifications site.
      MARK.B
      vBulletin Support
      ------------
      My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
      My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

      Comment

      Related Topics

      Collapse

      Working...