Viewing 9 replies - 1 through 9 (of 9 total)
  • Installed WordPress in a subdomain today with no problems. The subdomain was blog.sample.com and the WordPress folders such as wp-admin, wp-content, and wp-includes were placed in the public_html/blog folder.

    And of course, the subdomain document root was set to public_html/blog

    I use subdomains all the time on my development server while designing sites for clients using WP. It’s treated just like any old domain. Of course, viewing the subdomain in an FTP client, the subdoms look like folders. But WP behaves on client1.mytestbed.com just like it does on http://www.mytestbed.com 🙂

    I think the OP wants wordpress to extract categories to their respective subdomains.

    Aint gonna happen without some creative coding on your part, Lyle 😉

    Thread Starter lyle-holmes

    (@lyle-holmes)

    Thanks for all the input. It doesn’t sound like there’s any real issues with subdomains. We’re going to let WP archive the posts in the database as usual. Each subdomain will pull only the posts associated with that subdomain by way of the category.

    http://subdomain1.mydomain.com pulls cat1
    http://subdomain2.mydomain.com pulls cat2, etc.

    The only thing I’m concerned about (aside from the other two-dozen things I’m concerned about), is our WP install doesn’t appear to be writing the “post_category” in the wp_posts table. We put in a few test posts and they all have the default “0” category. They are showing up on the default page with the appropriate categories, I’m just not seeing the db entries.

    I’m I looking in the wrong place in MySQL?

    You do realize that there is a possible DNS and Apache vHost (assuming you’re using apache, that is) nightmare you are creating for yourself with this proposition…

    That being said, as far as your Category question goes, WP hasn’t used the post_category field for a while now…

    Take a look at:
    http://boren.nu/archives/2007/08/26/wordpress-23-taxonomy-schema/
    http://codex.wordpress.org/WordPress_Taxonomy

    Thread Starter lyle-holmes

    (@lyle-holmes)

    Jason,
    Thanks for the links; that was very helpful. As for the DNS/vHost issue. I don’t see any particular Apache issues; we’ve got our A-records pointing properly, etc. We’re on a dedicated Apache server and have been using subdomains on our other server accounts without a problem. Is there something specific to WP?

    Something like this plugin might be interesting to look over:
    http://www.biggnuts.com/wordpress-subdomains-plugin/

    ^^^ The above mentioned plugin has been updated to work with WordPress 2.5 here -> http://demp.se/y/software/category-subdomains

    Thread Starter lyle-holmes

    (@lyle-holmes)

    Thanks for the update. I’ll take a look at your work Dempsey.
    Lyle

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Using subdomains with WordPress’ is closed to new replies.