1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SubDomination - Change WP Categories to Subdomains

Discussion in 'Blogging' started by Sweetfunny, Dec 15, 2008.

  1. Sweetfunny

    Sweetfunny Jr. VIP Jr. VIP Premium Member

    Joined:
    Jul 13, 2008
    Messages:
    1,747
    Likes Received:
    5,039
    Location:
    ScrapeBox v2.0
    Home Page:
    Here is a plugin for Wordpress, it allows you to turn your categories in to subdomains. For example:

    Becomes:

    As you know using subs can be a powerful strategy to target various keywords, and places like About.com make good use of subs and interlinking between them. This can replicate that, it can also save you money in keyword domains and setting up mini sites for new products. For instance if a new product comes out, lets say 'SubDomination' you just create a new category click 'add' and you have:

    subdomination.domain.com

    With this you can also use different templates for each category. Also your normal category menu automatically interlinks all your subs, and the lot is run from your normal WP admin panel.

    Upload to your plugins folder and activate.

    You will need Wildcard Subdomains activated on your hosting, either you host can do this or you can yourself if you have access.

    Let me know if you have any problems and i'll help.
     

    Attached Files:

    • Thanks Thanks x 17
  2. ultimatium1

    ultimatium1 Junior Member

    Joined:
    Oct 10, 2008
    Messages:
    107
    Likes Received:
    19
    great plugin, I was going to look for somthing similar soon.
    But wat I wanted to know was, Does this plugin replace all the old links? O rdo I need to do this manually by SQL?
     
  3. Sweetfunny

    Sweetfunny Jr. VIP Jr. VIP Premium Member

    Joined:
    Jul 13, 2008
    Messages:
    1,747
    Likes Received:
    5,039
    Location:
    ScrapeBox v2.0
    Home Page:
    It's automatic, in the Add/Edit categories in WP Admin you have a simple check box to make category as subdomain or not as well as 'Select Theme' for category.

    So you have full control over it, and you can make categories subs or not on a per category basis.

    Best way is put it on a test blog or fresh install, and experiment with it before implementing it on an established/live blog.
     
  4. albaniax

    albaniax Elite Member

    Joined:
    Aug 5, 2008
    Messages:
    1,586
    Likes Received:
    823
    Location:
    GER - ALB
    Sounds nice, but would it be good to make subdomains for the categories, for an old, average ranking blog?

    Subdomains will be more or less like a new domain, or not? So I have to get some extra backlinks just for them..

    And every new posting on the Blogs will be also published on the subdomains, right?

    I think I will give this a try..
     
  5. Sweetfunny

    Sweetfunny Jr. VIP Jr. VIP Premium Member

    Joined:
    Jul 13, 2008
    Messages:
    1,747
    Likes Received:
    5,039
    Location:
    ScrapeBox v2.0
    Home Page:
    Yes posts in categories will be published on the subs, so if you have a category blackhat.domain.com and publish a post in that category it will be:

    blackhat.domain.com/hello-world/

    Also i forgot to mention, for this set your permalinks to %postname% and don't use the default query string URL's because obviously the plugin can't extract a word for your sub from ?cat=12

    As for using it on an established site, i'd suggest test it on a fresh install so you can see how it all works and can plan any conversions of established sites.
     
  6. yoyas

    yoyas Junior Member

    Joined:
    Nov 14, 2008
    Messages:
    145
    Likes Received:
    397
    Location:
    Spain
    This is gold friend. With these I will save a lot of time for sure.
    God, I love this forum!!! :top:
     
  7. rawasch

    rawasch Junior Member

    Joined:
    Sep 15, 2008
    Messages:
    142
    Likes Received:
    663
    Hmm I can't activate the plugin.... it simply isn't visible in the Wordpress Plugins Tab. Tested on several blogs, am I missing something here? Thanks!
     
  8. drumltd

    drumltd Regular Member

    Joined:
    Dec 4, 2008
    Messages:
    467
    Likes Received:
    13
    I thought these days subdomains were devalued to directory status effectively in google etc. anyway?
     
  9. Sweetfunny

    Sweetfunny Jr. VIP Jr. VIP Premium Member

    Joined:
    Jul 13, 2008
    Messages:
    1,747
    Likes Received:
    5,039
    Location:
    ScrapeBox v2.0
    Home Page:
    Did you upload it to this path, note it doesn't reside in a folder:

    /wp-content/plugins/category-subdomains.php

    Then in WP-Admin plugins tab it's called "Category Subdomains"
     
  10. blackhaze

    blackhaze Power Member

    Joined:
    Jan 11, 2008
    Messages:
    661
    Likes Received:
    167
    Occupation:
    self made millionaire
    Location:
    in the matrix
    Home Page:
    nice...agree...cool gem! I think i have wildcard subd on my reseller hosting, i always wanted to do some nifty stuff with it. this plugin has potential!!
     
  11. rawasch

    rawasch Junior Member

    Joined:
    Sep 15, 2008
    Messages:
    142
    Likes Received:
    663
    Yep I uploaded it in this path and it wasn't there. I've now downloaded another (?) version from what seems to be the developer site and this one worked. See here:
    Code:
    http://demp.se/y/2008/06/14/category-subdomains-043-works-with-tags/
    Anyways... my new problem now is that I can't edit my httpd.conf on my shared hosting which seems to be necessary... Is there any workaround for that?
     
    • Thanks Thanks x 2
  12. blackhaze

    blackhaze Power Member

    Joined:
    Jan 11, 2008
    Messages:
    661
    Likes Received:
    167
    Occupation:
    self made millionaire
    Location:
    in the matrix
    Home Page:
    yep..contact your admin and ask them to edit it?
     
    • Thanks Thanks x 1
  13. rawasch

    rawasch Junior Member

    Joined:
    Sep 15, 2008
    Messages:
    142
    Likes Received:
    663
    Yeah thanks but I meant beside that .... a guy in the comments on the page I postet mentioned DNS aliases, anyone knows how to do it with that (he left that part out unfortunatelly -.-)
     
  14. Tcm9669

    Tcm9669 Regular Member

    Joined:
    Dec 30, 2007
    Messages:
    369
    Likes Received:
    26
    When you say wilcard subdomain do you mean we have to create *.ourdomain.com ?

    And should we redirect that to the root of the blog?
     
  15. Sweetfunny

    Sweetfunny Jr. VIP Jr. VIP Premium Member

    Joined:
    Jul 13, 2008
    Messages:
    1,747
    Likes Received:
    5,039
    Location:
    ScrapeBox v2.0
    Home Page:
    Yes, for an exact step by step on doing wildcard subdomains with pictures see step 6 on this:

    Code:
    http://www.blogopreneur.com/2006/11/06/installing-wordpress-mu-on-a-cpanelwhm-server/
     
  16. dn0922

    dn0922 Newbie

    Joined:
    Nov 13, 2008
    Messages:
    7
    Likes Received:
    1
    The version attached isn't visible on WP 2.7 admin panel

    The one in this link works though
    Thanks for the share:cow_yello
     
  17. cooooookies

    cooooookies Senior Member

    Joined:
    Oct 6, 2008
    Messages:
    1,008
    Likes Received:
    216
    May I dare to ask: why doing that?

    You safe a domain, you have the keyword at the beginning, ok. Is there more? Normally, a sub domain ranks with 0, or am I wrong?
     
  18. Sweetfunny

    Sweetfunny Jr. VIP Jr. VIP Premium Member

    Joined:
    Jul 13, 2008
    Messages:
    1,747
    Likes Received:
    5,039
    Location:
    ScrapeBox v2.0
    Home Page:
    Subdomains are seen as different domains in many ways, for instance Google "HP Server" and hp.com basically owns the whole front page through use of subdomains.. You can't do that with pages.

    Also domains get authority, by getting links to the subs you build authority to the domain in general. For example Digg, Mixx, Squidoo etc if you make a page on there they will jump high in the SERP's with no backlinks because of domain authority.

    Another reason is rapid deployment of sites to promote offers, instead of regging a new keyword domain then setting up a site from scratch you just login to WP and create a sub and write the content. A good WP landing page is this one by emgxxg. Then all the marketing work done on your previous subs flows to your new sub, because it's auto linked by the category menu. So no need to run around getting links to get your new domain indexed.

    Believe me, when you have a hundred domains with landing pages promoting all sorts of shit you will appreciate having one WP admin panel to manage everything and being able to push out keyword subs ready to roll at the click of a button.
     
    • Thanks Thanks x 4
  19. FleshJoe

    FleshJoe Power Member

    Joined:
    Mar 11, 2008
    Messages:
    551
    Likes Received:
    1,702
    Very clear explanation of the benefits, thanks, SweetFunny.

    Also, it seems that the development by the Dempsey guy has stalled. Someone else has picked up the work and is continuing development here:

    Code:
    http://webdev.casualgenius.com/projects/category-subdomains/
    LOL, he's using the plugin to categorize his work into a sub-domain :)
     
  20. cooooookies

    cooooookies Senior Member

    Joined:
    Oct 6, 2008
    Messages:
    1,008
    Likes Received:
    216
    Thanks, sweetfunny, very useful post.

    Is it also possible to use that on WPMU? Especially when using the donncha-domain-mapping-plugin?

    mainsite
    a.mainsite => mydomaina.info
    b.mainsite => mydomainb.info

    and then
    category1.mydomaina.info
    ...