Fear not fellow Netfirms users! I’ve heard your cries and it brings me great joy to release my plugin to enable pretty permalink functionality that the rest of the world seems to enjoy, all without hacking a single line of code! For those of you who can’t wait to get your hands on it, download it here:
Netfirms Pretty Permalinks 1.0 beta 1
Oh yes my friends, to keep on the hip and cool Web 2.0 bandwagon, this is indeed a beta release. Why? Well, I’ve tested it myself on my Netfirms installation with my WordPress setup, but your setup may differ. So hopefully you will take the time to try it out for yourself, and report back here with whether it works or not. That will help me make any changes I need to. My testing environment was WordPress 2.2.3 and WordPress 2.3 on PHP 5. When posting a comment, please list your testing setup as well.
To install, please follow these easy steps:
- If you’ve already installed my previous hack, either remove it, or update to the newest version of WordPress (you were looking for an excuse to anyway, weren’t you?)
- Make sure your .htaccess file is writeable (unless you have some weird custom rewrite rules you don’t want WordPress to override. Chances are if you have no idea what I’m talking about, you shouldn’t need to do a thing)
- If you’ve installed Mark’s plugin to disable canonical urls, deactivate it. This has been rolled into my plugin as well.
- Upload `netfirms_permalinks.php` to the `/wp-content/plugins/` directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Choose your permalink structure through the ‘Permalinks’ submenu under the ‘Options’ menu.
For those of you who are curious to what this plugin does, Netfirms (for some reason or another) doesn’t work with the default permalink structure WordPress generates. So this plugin creates new mod_rewrite rules in your .htaccess file that append the post query to the end of index.php as a query string. Then the plugin appends `index.php` to the beginning of each internal WordPress rewrite rule, because when WordPress on netfirms receives the query string, it does so as a REQUEST_URI and not PATH_INFO, and therefore has the `index.php` in it. So we need to add it so WordPress can make the match. Easy as pie.
Special thanks to Wakefield, who posted about the updated forced canonical urls in the new WordPress 2.3 release. You DO NOT need to install the separate plugin to disable the canonical url function. This plugin automatically does this for you. If you want to use it, tough luck because it forces Netfirms into an infinite loop. Bummer.
Kristen:
20071012 08:49Dude, you’re still at it! I stopped by Joelika.com to reminisce of the good ol’ days and things have definitely changed. Keep up the awesome work. Hope all is well!!!