5

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:

I guess that’s about it.

k0nsl

k0nsl

k0nsl is a programmer, server administrator, designer, moderator, spokesman and factotum of a wide-variety of web pages. You can reach k0nsl via e-mail — i.am@k0nsl.org.

5 Comments

  1. Thx this was something I have been searching for. Came here via DuckDuckGo !

Leave a Reply

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