cjdavey
Forum Replies Created
-
I’ve found the queries that are adding the events, and I’m now fairly confident they’re part of the theme/site build rather than the plugin – so I’ll mark this one resolved.
Thanks for your help in getting this far!
Ok, that’s interesting. Results for that query are correct…
I’ll go back to Query Monitor and see what else is running queries on the page.
Thanks!
Yes, I noticed that!
Cache is disabled, and I’ve cleared it (more than once).
I’ll see if I can get the queries run; certainly changing other settings (boolean mode, title/body weighting) does change search results, so the plugin is doing something!
Yes, selecting just post doesn’t affect it.
Here are the Better Search queries:
SELECT option_value FROM wp_options WHERE option_name = '_transient_timeout_bs_voiceforlife' LIMIT 1SELECT option_value FROM wp_options WHERE option_name = '_transient_bs_voiceforlife' LIMIT 1SELECT DISTINCT ID, (MATCH(post_title) AGAINST ('voice for life' IN BOOLEAN MODE ) * 10 ) + (MATCH(post_content) AGAINST ('voice for life' IN BOOLEAN MODE ) * 1 ) AS score FROM wp_posts WHERE 1=1 AND MATCH (post_title,post_content) AGAINST ('voice for life' IN BOOLEAN MODE ) AND (post_status = 'publish' OR post_status = 'inherit') AND wp_posts.post_type IN ('post', 'page', 'areas', 'area_page') ORDER BY score DESCSELECT DISTINCT ID, (MATCH(post_title) AGAINST ('voice for life' IN BOOLEAN MODE ) * 10 ) + (MATCH(post_content) AGAINST ('voice for life' IN BOOLEAN MODE ) * 1 ) AS score FROM wp_posts WHERE 1=1 AND MATCH (post_title,post_content) AGAINST ('voice for life' IN BOOLEAN MODE ) AND (post_status = 'publish' OR post_status = 'inherit') AND wp_posts.post_type IN ('post', 'page', 'areas', 'area_page') ORDER BY score DESCSELECT DISTINCT wp1.searchvar, wp2.sumCount FROM wp_bsearch_daily wp1, (SELECT searchvar, SUM(cntaccess) as sumCount FROM wp_bsearch_daily WHERE dp_date >= '2016-01-27' GROUP BY searchvar ORDER BY sumCount DESC LIMIT 30) wp2 WHERE wp1.searchvar = wp2.searchvar ORDER by wp1.searchvar ASCForum: Plugins
In reply to: [SEO Redirection Plugin - 301 Redirect Manager] RegExI’ve now got the RegEx for the ‘from’ page:
\/technical\/search\/search\.php\?.*zoom_query=([^&]*).*but I can’t pull out the capturing group to get the search term for the ‘to’ entry
Thanks! Here you go!.