Resource icon

Nginx rewrites for Simple Machines Forum (SMF) --> Xenforo URLS

Admin

Administrator
Staff member
Joined
Sep 28, 2017
Messages
1,529
Reactions
110
Points
63
Admin submitted a new resource:

Nginx rewrites for Simple Machines Forum (SMF) --> Xenforo URLS - Nginx rewrites for Simple Machines Forum (SMF) --> Xenforo URLS

Here's the list of Nginx rewrite rules I used on a forum that I converted from Simple Machines Forum (SMF) to Xenforo.

When first using these, I strongly recommend testing all the rewrites as 302's rather than 301's until you're sure you've got it right. Otherwise your browser will cache the 301, which may or may not be possible to reset depending on your browser. Some browsers don't reset 301's when you clear the cache.

To use a 302 rather than a 301, replace every instance of "permanent"...
Read more about this resource...