phpBB3 Pretty URLs & nginx

So I was working with a client who needed human-readable URLs (or SEO URLs, clean URLs, or whatever you like to call it) for his forum which is running phpBB3 coupled with nginx as the webserver. He didn’t know of any easy way to deal with that. I knew of pre-existing modifications and one in particular that works very well and which has a minimal footprint, it is called “Pretty URLs” by Sam and it uses hooks to do the magic.

The only thing I really had to do was to create the rewrite rules for nginx because it had only been tested with Apache, so here are the rewrites for nginx:

[gist id=5479090]

I guess that’s about it.


Add a Comment

Your email address will not be published. Required fields are marked *