wimpers
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Subdomains] [Plugin: WP Subdomains] 3.3.1 WorkingFrom 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?
Forum: Plugins
In reply to: [WP Subdomains] [Plugin: WP Subdomains] 3.3.1 WorkingDo 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]
Forum: Plugins
In reply to: [WP Subdomains] [Plugin: WP Subdomains] 3.3.1 Working@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.comApache settings:
<VirtualHost *:80>
ServerAdmin my email
ServerName inbrugge.com
ServerAlias *.inbrugge.com
…In the main settings of the plugin:
Main domain : inbrugge.com