XF 1.2 301 Redirect Help

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:

RewriteEngine On

RewriteRule ^engine-drivetrain/$ /engine-drivetrain.70/ [R=301,L]
Add more instances of the second line for each individual redirect.

Brent W

Well-known member
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.

Brent W

Well-known member
Just ran this query:

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