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

XF 1.2 301 Redirect Help

Discussion in 'Installation, Upgrade, and Import Support' started by Brent W, Aug 11, 2013.

  1. Brent W

    Brent W Formerly BamaStangGuy

  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Is /forum a directory on the server? If so then add this rule to the .htaccess file inside of the /forum directory:

    Code:
    RewriteEngine On
    
    RewriteRule ^engine-drivetrain/$ /engine-drivetrain.70/ [R=301,L]
    
    Add more instances of the second line for each individual redirect.
     
    Brent W likes this.
  3. Brent W

    Brent W Formerly BamaStangGuy

    Is there a query I can run to get every forum title slug with the id that exists for the xenForo forum? Then I'd just have to do some appending in notepad++ and a find and replace or two.
     
  4. Jeremy

    Jeremy Well-Known Member

    Just look into the xf_forum table.
     
  5. Brent W

    Brent W Formerly BamaStangGuy

    I did, all I see is the node id and no title or slug reference.
     
  6. Brent W

    Brent W Formerly BamaStangGuy

    xf_node seems to be where I want to look
     
  7. Brent W

    Brent W Formerly BamaStangGuy

    Just ran this query:

    Code:
    SELECT CONCAT(  `title` ,  '.',  `node_id` )
    FROM  `xf_node`
    and then exported as text and cleaned it up with Notepad++
     

Share This Page