Resource icon

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

Compatible XF 1.x versions
  1. 1.0
  2. 1.1
  3. 1.2
  4. 1.3
  5. 1.4
Additional requirements
Nginx (I used the excellent Centminmod script to install Nginx/PHP/MariaDB)
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...
You do not have permission to view the full content of this resource. Log in or register now.
First release
Last update


5.00 star(s) 1 ratings

More resources from jeffwidman

Latest updates

  1. Add another SMF ending on topic (thread) urls

    Modified SMF topic regex to handle urls ending in "prev_next,next.html"
  2. Added handling of forum/index.php/topic,87.0/wap2.html SMF mobile urls

    I've only seen this format for threads in my webmaster tools reports, not boards or posts or...
  3. Added SQL queries for rewriting SMF urls within posts and conversations.

    Added the SQL queries I used to rewrite all the links on my site from the SMF url structure to...

Latest reviews

Great stuff! Used the redirects from this article, works great, and nginx is a much better performing server than Apache.
Top Bottom