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:

Comments (36)

matthewJanuary 3rd, 2009 at 5:56 pm

thanks for creating the new version

FJSOFT LLCJanuary 4th, 2009 at 6:33 am

Thanks!!! Everything worked out of the box, now. YAHOO!

FJSOFT LLCJanuary 4th, 2009 at 6:47 am

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.

Alex StansfieldJanuary 4th, 2009 at 8:17 am

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.

FJSOFT LLCJanuary 4th, 2009 at 8:50 am

I expressly disabled all other plugins.

Alex StansfieldJanuary 4th, 2009 at 9:03 am

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.

FJSOFT LLCJanuary 4th, 2009 at 10:01 am

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.

FJSOFT LLCJanuary 4th, 2009 at 10:09 am

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

Alex StansfieldJanuary 4th, 2009 at 10:50 am

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.

adamJanuary 11th, 2009 at 4:43 am

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

Alex StansfieldJanuary 11th, 2009 at 3:57 pm

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

adamJanuary 11th, 2009 at 8:37 pm

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

Alex StansfieldJanuary 12th, 2009 at 1:45 am

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.

adamJanuary 13th, 2009 at 12:33 am

Thanks Alex.

pablishoJanuary 13th, 2009 at 9:17 pm

Hi Alex, the download is not working

Alex StansfieldJanuary 13th, 2009 at 9:21 pm

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.

OnlyDevJanuary 18th, 2009 at 3:21 pm

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?

Alex StansfieldJanuary 18th, 2009 at 11:16 pm

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

OnlyDevJanuary 19th, 2009 at 4:39 am

I am using wordpress 2.7. Am I supposed to create a subdomain in cpanel that redirects to the homepage of my wordpress installation?

Alex StansfieldJanuary 19th, 2009 at 10:27 am

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

adamJanuary 19th, 2009 at 10:59 am

Alex,
Any update on the meta data for subdomains? or maybe you are on holiday for a MONTH!!!! i am jealous.

OnlyDevJanuary 19th, 2009 at 12:34 pm

I did that but my category subdomains redirect to the main page and not the proper category. I am using cpanel version 3

Alex StansfieldJanuary 19th, 2009 at 3:26 pm

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

adamJanuary 19th, 2009 at 11:00 pm

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

adamJanuary 19th, 2009 at 11:07 pm

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

Alex StansfieldJanuary 19th, 2009 at 11:31 pm

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 :)

adamJanuary 19th, 2009 at 11:37 pm

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

PaultwoJanuary 23rd, 2009 at 7:59 am

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

Alex StansfieldJanuary 25th, 2009 at 2:39 pm

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

qwertyJanuary 27th, 2009 at 6:16 am

hi, i got 404 error on this:
http://uncategorized.bestbuy-online.com/hello-world
its /%postname% permalink structure.
can you help please?

Alex StansfieldJanuary 27th, 2009 at 10:33 am

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

ClibletQuieveFebruary 1st, 2009 at 5:15 pm

Hello, I can’t understand how to add your blog ( webdev.casualgenius.com ) in my rss reader

Alex StansfieldFebruary 1st, 2009 at 11:09 pm

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

Alex StansfieldFebruary 1st, 2009 at 11:13 pm

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

Alex StansfieldFebruary 1st, 2009 at 11:29 pm

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

Kylie SanchezAugust 12th, 2010 at 6:50 pm

if you are going to get a VPS server make sure that it has cPanel coz it makes server maintennance easier.:;`

Leave a comment

Your comment