More bugs fixed, more testing

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.

Comments (3)

MurkurJuly 31st, 2010 at 1:25 pm

Hi, Alex
How did u fixed creating database table? its not work for me :)

CapichAugust 4th, 2010 at 2:41 am

Hi!!! I cant make it works!!! I create all the subdomains for the main category and just say that the server is not found!

My page is http://www.capich.mx, is in Spanish :P

Thanks!!! I hope you can help me!!! Really nice plugin!!

MurkurAugust 5th, 2010 at 5:04 pm

to Capich:
how did u create all the subdomains for the main category? i mean is that C-Panel?

Leave a comment

Your comment