WordPress Subdomains 0.5.2 Released
Very sorry for what was a fairly bad release. I’ve fixed the problems I found.
- Can now allocated a subdomain or tied page as a parent page
- Installing/Upgrading the plugin will now run a the functions required to make it work
I’ve had some very helpful people giving me bug reports and all I can ask is please keep it up. I’m trying to fix them as soon as I can but because of the different wordpress setups out there just because it works for me doesn’t mean it’ll work for you. So if that’s that case please let me know, and I’ll do what I can to fix it.
Related Pages:
January 3rd, 2009 by
Alex Stansfield in
WP Subdomains, Web Development
Tags: 0.5.2
3,440 views | 36 Comments
Tags: 0.5.2
3,440 views | 36 Comments

thanks for creating the new version
Thanks!!! Everything worked out of the box, now. YAHOO!
I spoke a little too soon
There’s one serious problem remaining.
When I activate the plugin after there’s already a few posts on the blog, it still shows all posts on the category page. So for example
http://fjsoftllc.com/test
shows all posts (as it should), but so do
http://test17.fjsoftllc.com/test
http://test42.fjsoftllc.com/test
I don’t know if this is because of some left-over bogosity due to 0.5.1 or what.
The good news is (as you can see above) that subdomain themes work and I believe the other features besides categorizing existing posts also work.
Obviously this is a pretty big issue for pre-existing blogs that want to adopt your plugin after they’ve been running for a while.
Can you give me a some details regarding your other plugins and permalink structure? I have another user with this exact problem where the subdomain just shows what’s on the front page. From what I can tell it’s nothing to do with old posts there is just something going wrong somewhere. I’ve not been able to replicate it yet.
I expressly disabled all other plugins.
Hmmm, ok. Got one more thing to try before we get into hardcore debugging. Can you add another subdomain but this time when setting up the DNS record use an A record rather than a CNAME. Then see if that subdomain category works correctly. If that doesn’t do it then I think I’ll need to get a copy of your database so I can see what’s going on here.
Sure, I’ll set up alex.fjsoftllc.com with an A record. It will take 1/2 hour to propagate. I’ll comment back here when I am ready. I guess you’ll also want a post in that category.
OK alex.fjsoftllc.com/test is up with one post, and I added an A record for alex.fjsoftllc.com. The page http://alex.fjsoftllc.com/test shows all the posts, as you’ll see.
What’s next? I can give you direct login into my dedicated machine if you want to poke around, send me email –> fjsoftllc@gmail.com
Right, that rules that out at least. I’m teaching a class at the moment but will send you a mail with my email address.
hi,
awesome plugin, went thru a bunch til i found 1 that worked.
quick question. is it possible to set meta tags per the new subdomain?
when i make a category a subdomain it seems to lose the categories meta info, (title, descrip, keywords)
i also use all in one seo plugin.
Thanks,
adam
Hi Adam,
Is that meta information added by the SEO plugin or is it standard in wordpress? If it from the SEO plugin then this is clearly an incompatibility I’ll need to resolve. If it’s wordpress then it’s a bug to fix. Either way I need to get it working.
Regards,
Alex
Hi Alex,
It seems that the problem is an incompatibility with “all in one seo pack” plugin. When I deactivated that plugin, the page title on my new category subdomain came thru just fine, but i lost the ability to have description and keywords. I then reactivated the “all in one seo pack” plugin and the situation returned. Maybe you could take a look at that plugin? or on the other hand, maybe just add a component to the “edit category” page to add the 3 main meta tags…
if you’d like a user account to test on my blog, just let me know.
Thanks again for the great plugin,
-adam
Adam, thanks for finding that. Rather than replicate the functionality of the SEO plugin I’ll try and make my plugin compatible. I’ll get in touch with the SEO plugin writers and see how it decides when to put meta tags in the html.
Thanks Alex.
Hi Alex, the download is not working
The link seems to work for me. It should take you to the launchpad.net page.
Here is the direct link to the file: http://launchpad.net/wordpress-csd/0.5/0.5.2/+download/wp-subdomains-0.5.2.tar.bz2
Let me know if it doesn’t work.
I can’t get any subdomains to work. I setup a subdirectory that redirects to my homepage and my subdomain categories all redirect to the hompeage. How can I fix this?
Hi,
A few questions. What do you mean by “I setup a subdirectory that redirects to my homepage”? What version of wordpress are you using?
Cheers, Alex
I am using wordpress 2.7. Am I supposed to create a subdomain in cpanel that redirects to the homepage of my wordpress installation?
Hi,
You need to create a subdomain and set it’s document root to the same path as that of your main wordpress site. Apparently you can only do this in cpanel version 3. if you look in your cpanel url it should have a /x3/ not /x/. I had to ask hostgator to change me over to it so I could get it to work properly. You may need to do the same with your hosting provider.
Cheers, Alex
Alex,
Any update on the meta data for subdomains? or maybe you are on holiday for a MONTH!!!! i am jealous.
I did that but my category subdomains redirect to the main page and not the proper category. I am using cpanel version 3
Hi Adam,
Just had a look into it and I think I found a solution. Look for the line:
$query->is_home = true;
In filters.php and remove it. Subdomain Categories should behave properly now.
Cheers, Alex
Damn Alex,
You are a casual genius. it worked.
You are welcome to link to my new blog which has your plugin implemented.
Thanks,
-adam
Alex,
One more thing, and i think this thing will be seo’d out.
It looks like currently:
Category Name = Meta Page Title
Category Slug = Subdomain Name.
Description = Meta Description
The only real important thing missing is to be able to edit the actual category link text.
For example, i would like the category name to be:
Greatest WordPress Plugin Ever (this will be the page title)
I would like the actual link text to this category to be:
WordPress Subdomain Plugin.
Is there a way to do this?
Thanks,
-adam
Hmm, could be interesting. I’d need to add an extra field to each category edit where you can add an optional link title. Wont be in 0.5.3 which should be out soon. However I reckon I could slot this into 0.5.4. Though you might have to wait a few weeks as I’m going to be spending a lot of the next few weeks on beaches or in bars
Ha, well, good for you man. I’m saving it for spring time in the Med.
I think it would be a huge benefit for everyone to edit actual link text, well, if they care about SEO.
Thanks again Alex, and have fun.
-adam
So… I need what you may feel is a simple question answered.
I am trying to implement the plugin on my site and I don’t know much about my server… I just have it to host many domains and don’t mess with it much… I handle more front-end design and scripting. Anyway, long story short. I need to figure out how to get this plugin working on a (mt) Virtual Dedicated Server running Plesk. Any help would be great.
Basically I don’t know what I need to do regarding the setup of the DocumentRoot on my subdomain… Plesk seems to complicate this… at least in my head.
Once I get this working, I would be more than happy to have you link to the site to show it as an example. (There are currently four divisions of the site, each division has its own sub-pages.)
Thanks,
Paul
Hi,
sorry for the delay in replying. I will get to this, but am on holiday at the moment. Will try and think of some more things it could be and get back to you.
Cheers,
Alex
hi, i got 404 error on this:
http://uncategorized.bestbuy-online.com/hello-world
its /%postname% permalink structure.
can you help please?
Hi,
You site seems to be setup to put .html on the end of the links.
If you go to your main site the page links for that page is http://uncategorized.bestbuy-online.com/hello-world.html and that links works fine.
Cheers,
Alex
Hello, I can’t understand how to add your blog ( webdev.casualgenius.com ) in my rss reader
Hi,
the direct link to the feed is:
http://webdev.casualgenius.com/feed
Add that to your RSS reader and it should work fine.
Cheers, Alex
Hi Paul,
Sorry for the delay in responding.
To be honest I don’t know how plesk works as I’ve never used it before. I did a quick google and found this:
http://projeckt.net/publog/2008/02/changing-document-root-on-apac.html
Hope it helps.
Cheers, Alex
Hi,
just wanted to check. When you enable the plugin the urls in the links to the categories are changed correctly, but when you click on one you’re just taken to the homepage again?
Cheers, Alex
if you are going to get a VPS server make sure that it has cPanel coz it makes server maintennance easier.:;`