Thanks to Sergey for sending me his database for me to test with.
Noticed a few issues:
- The required database table wasn’t being created
- Category subdomain options weren’t being saved
- Permalink ‘/%postname/’ doesn’t work, it causes subdomain page to display all posts
I’ve fixed the first two issues.
The plugin directory now has to be in the wp-content/plugins directory, before a symlink from wordpress-subdomains would work, not now. Now when you update the plugin and deactivate/reactivate it any upgrades and table changes should be done properly.
The issue with the options not being saved was down to me doing something in a poor way that got broken when WordPress changed. I’m now doing it the correct way.
The final one is a mystery and it’s too late for me to investigate tonight. I seem to remember spending a lot of time last year trying to get all combinations of permalinks to work but it seems /%postname/ stopped working at some point. I will investigate further tomorrow.
I’ve commited all the fixes to the development trunk so if you wish to try it out download here. Remember to deactivate and reactivate the plugin after you upgrade. This may fix a number of issues straight away.
Right, I’ve got two new tasty features in the development version.
- Have your main blog on a subdomain (e.g. http://blog.mydomain.com/)
- Tag filters, go to a tag page on a subdomain and see only those posts that are on that subdomain.
You can download the development version here.
To use the subdomain blog feature you’ll need to enter your blog domain (e.g. mydomain.com) in the WP Subdomains Settings page.
In theory, though not tested, you should even be able to have your main blog on a completely different domain to your subdomain pages. However I’m not sure why you’d want to.
To use the Tag filters you can turn them on (or off) on the WP Subdomains Settings page.
There have also been some code improvements with this version.
If you find any issues with it please post comments on this post, send me a message through the contact page, or add a bug on the launchpad bug tracker.
Just to let you know about the second release candidate for WordPress Subdomains 0.6.1.
Two bugs got fixed:
- Problems with comments pages on 1st tier posts using /%category%/%postname% permalink – thanks to Paul Nus for spotting
- Problem with filtering post by category in the admin section – thanks to Zaobaba for spotting
Here is the new Release Candidate for people to try:
WP Subdomains 0.6.1 RC2
Known bugs:
- Subdomains options in Edit Category don’t show with IE7, maybe IE6 too. Working on a solution.
- Categories with hundreds of large posts may require you to increase the php memory allocation. Working on a solution [bug #346626]
I recommend anyone using 0.6.0 to try this version. It’s much better.
If you find a bug then please, if possible, report it on the project’s bug tracker. It’s getting harder to keep track of bug reports in the comments section as more people start to use it.
Updated 23/03/09: added memory error bug
Once again, apologies for the terrible wait for a bug fixed version.
I wanted to try and get this one tested by more than just myself as 0.6.0 was, imo, a complete let down with the number of bugs. Unfortunately my testers are missing in action (hopefully not as a result of the plugin).
In the last few days I’ve had a few people step forward to act as testers, and I think I’m now progressing towards a final 0.6.1 release.
I have decided to upload a copy of this test version, dubbed 0.6.1-rc1.
You can get it here .
To the guys currently testing: there have been some very minor tweaks, so if you could download this one that would be great.
One thing to note. It seems the Subdomains options for the Categories don’t show up for IE7. Can anyone else confirm this?
The plugin has been uploaded to this site for some testing. Really this just checks that the features that I use aren’t broken, but I’ve tested the other features quite extensively on my development site.
If nothing breaks in the next 24 hours I’ll be releasing it.