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

XF 1.5 Please Help With Rewrite Rules

Discussion in 'XenForo Questions and Support' started by ISSL, Mar 22, 2016.

  1. ISSL

    ISSL New Member

    Last edited: Mar 22, 2016
  2. wang

    wang Well-Known Member

  3. ISSL

    ISSL New Member

    Seen it, but does not help with my specific question about how to write a rewrite rule.
     
  4. wang

    wang Well-Known Member

    Did you enable Use Full Friendly URLs option and renamed the htaccess.txt file to .htaccess?
     
  5. ISSL

    ISSL New Member

  6. ISSL

    ISSL New Member

    Sorted it

    RewriteCond %{QUERY_STRING} ^topic=(\w+?)(\..+)?$
    RewriteRule ^index.php /threads/%1? [R=301,NC,L]
     

Share This Page