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

XF 1.1 VBseo link to xenforo link

Discussion in 'Installation, Upgrade, and Import Support' started by Binu, May 10, 2013.

  1. Binu

    Binu Member

  2. Jeremy

    Jeremy XenForo Moderator Staff Member

  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Put it your .htaccess file in the /forum directory:

    Code:
    RewriteRule ^[^/]+/([0-9]+)-[^\.]+\.html$ /threads/$1/ [R=301,L]
    
     
    Binu likes this.
  4. Binu

    Binu Member

    I am using this, which works fine for me. Is that ok?
    Code:
    RewriteRule forum/[^/]+/([0-9]+)-([A-Za-z0-9-]+)-([0-9]+)\.html http://www.8051projects.info/threads/$2.$1/page-$3 [L,R=301]
    RewriteRule forum/[^/]+/([0-9]+)-([A-Za-z0-9-]+)\.html http://www.8051projects.info/threads/$2.$1/ [L,R=301]
     
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    That works if your .htaccess is in the web root and there is no /forum directory on the server.
     

Share This Page