Nice looking URLs in b2, part 2

Not ugly URLs, like this one, are now working here. It took quite a bit of hacking and use of mod_rewrite but it appears to be ok now.
The number of mod_rewrite rules in the .htaccess file has gone up, mostly to avoid the problem of css styling disappearing. This line takes care of it:

RewriteRule ^(.*)archives(.*)/templates/(.*) /users/$1/templates/$3 [L]

Author: Donncha

Donncha Ó Caoimh is a software developer at Automattic and WordPress plugin developer. He posts photos at In Photos and can also be found on Google+ and Twitter.

2 thoughts on “Nice looking URLs in b2, part 2”

Leave a Reply