• Just edited to satisfy my 3.3.1 and got it working.
    Took a whole day so not fully tested, just for category I need.
    Please let me know if anyone interested, I don’t know how to upload the file here ??

    Note.:
    Add simple subdomain URL Redirection function too.
    So in your virtual host web server you can set *.domain.com in the same directory. Will redirect to homepage bloginfo(‘url’) if it’s invalid subdomain.

    https://www.ads-software.com/extend/plugins/wordpress-subdomains/

Viewing 15 replies - 16 through 30 (of 30 total)
  • Hi, I am very keen to use this, but I must be missing something. I used my web host’s log in panel to register a new subdomain for my category, and activated it with the plugin on the WordPress dashboard, but when I visit it, I’m redirect d to my regular index page (and the LESS stylesheet script i’ve been using while making my site breaks in the process). Any idea what I’ve done wrong? My blog isn’t finished yet, but the main domain is https://www.terraavocado.com and I am trying to get ghostfacevilla.terraavocado.com working as a category. (And the blog category too, but the web host, dream host, is taking ages to put it through)

    mine redirects to my homepage too ?? https://soundklout.silencenogood.net Anyone know why?

    Thread Starter lontongcorp

    (@lontongcorp)

    @nwatts88 @zechmann:
    Did you set the main domain in the settings: terraavocado.com (no www) ?

    @nezzard and others:
    No changes required to .htaccess for wildcard.
    Just set your main domain and subdomain root into same folder.

    Here’s what I did to: boa-boa.com (please check it to see how it works, menu use categories subdomain)
    Domain Manager:
    boa-boa.com -> A -> SERVER_ADDRESS (x.x.x.x)
    https://www.boa-boa.com -> CNAME -> boa-boa.com
    *.boa-boa.com -> A ->SERVER_ADDRESS (x.x.x.x)

    Host cPanel
    @ (default of boa-boa.com) -> /__HOME_PATH__/public_html/
    * (all subdomains of boa-boa.com) -> /__HOME_PATH__/public_html/

    @lontongcorp just did that, but with no success. my blog is in a subdirectory, does that make a difference?

    @lontongcorp I have the same issue as zechmann. All categories are being redirected to my main page instead of applying the category filter

    DNS settings:
    inbrugge.com A IP of server
    *.inbrugge.com A IP of server
    https://www.inbrugge.com CNAME inbrugge.com

    Apache settings:
    <VirtualHost *:80>
    ServerAdmin my email
    ServerName inbrugge.com
    ServerAlias *.inbrugge.com

    In the main settings of the plugin:
    Main domain : inbrugge.com

    Thread Starter lontongcorp

    (@lontongcorp)

    Hi zechmann,

    I don’t think that’s make a difference. Tested in my localhost, still no problem.

    @wimpers:
    I have few people emailed me asking that questions and still don’t get what the problems are (I’m not sysadmin ??

    But I suspect it is much Apache problems than scripts

    Do you see category lists in settings page?
    All subdomain-enabled?

    Do you see category lists in settings page?

    Not exactly sure what you mean by this.

    All subdomain-enabled -> yes

    I checked and $wps_this_subdomain is actually containing the right domain but for somehow he doesn’t filter out the messages which are not belonging to the right category. I logged below the sql queries and below is the result of a category page.

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    From what I understand is that he gets all the subdomains

    SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy = 'category' AND t.term_id = 4 LIMIT 1
                      134 Query     SELECT * FROM wp_category_subdomains WHERE cat_ID = 4

    This works ok

    Next he calls

    SELECT DISTINCT posts.ID FROM wp_posts posts JOIN wp_term_relationships ON posts.ID = wp_term_relationships.object_id JOIN wp_term_taxonomy ON wp_term_taxonomy.term_taxonomy_id = wp_term_relationships.term_taxonomy_id WHERE wp_term_taxonomy.taxonomy = 'category' AND wp_term_taxonomy.term_id in (12) AND posts.post_type != 'page' AND posts.post_status = 'publish'

    which is the actual posts of the category which is in $wps_this_subdomain

    But I don’t understand why he next calls the posts for the other categories also. Which of course results in all posts.

    Hope this helps a bit?

    Yeah i would love for this to work for authors
    willing to donate if needed to get it to work with 3.3.2

    thanks

    Does anyone know how to get the filtering to work on the index.php page? I’m starting out with a completely barebones template, created some subdomain categories, and posts associated with them. On the index.php page, the links for the posts show the subdomain, so it appears I have all that set up… but it shows posts for all subdomains, not filtered for the subdomain in the url.

    Reezo

    (@reezolution)

    i’ve tested the one by lontongcorp on 3.4 and its work just fine, except for the adminbar / toolbar.. it doesn’t work / render properly on the sub-domains as it is on the main domain. is there anyway to make it behave like it should, lontongcorp?

    Looking to update to current version 3.4 and extend functionality for WP Multisite by 6-29-12. I can, and will donate for contributions.Anyone interested? Thanks for all the great works so far. Really cool.

    Anyone that have made this work on 3.4? I get the links to work, but it shows the main page instead of the category

    Yes. It has been recently updated. Here is – WordPress Subdomain plugin, Revisited, 0.7.0 version.

    Thread Starter lontongcorp

    (@lontongcorp)

    tazogamer, could you give svn access to update the revisited version?

Viewing 15 replies - 16 through 30 (of 30 total)
  • The topic ‘[Plugin: WP Subdomains] 3.3.1 Working’ is closed to new replies.