Tagged: local seo, yoast local seo, Yoast SEO
-
AuthorPosts
-
June 24, 2018 at 8:27 pm #977190
hi
i had tested and confirmed that Enfold last version had problem By “Yoast SEO Local”
i had test last version in local and live web site. when i had activated yoast seo premium there is not any problem. after activate Yoast local seo . all of Tags Archive pages had error and no post found in tags archives.
by switch to other themes problem solved. problem is only by enfold theme and it’s in Tags Pages by no entry found in Tags page archive.Please check it. you can install and activate last version of enfold in any wordpress website. install yoast seo premium and install and activate Yoast local seo. after than goto any of your Tags Archive pages and no post were found in the archives.
please check and fix it.
June 25, 2018 at 2:06 am #977283Hey Bahar,
Thank you for using Enfold.
We need to access the site in order to check the issue. Please provide the site url and the login credentials in the private field. Deactivate every plugin except for Yoast Local, temporarily.
Best regards,
IsmaelJune 25, 2018 at 10:59 am #977360Dear Ismael,
i had tested in local but for you i run a demo website by new wordpress install and only enfold by yoast seo and local seo plugins.more info is sent in private content.
thankyou
AmirJune 28, 2018 at 8:05 am #978780Hi
did you test the problem? it’s more than 3 days…
thankyou
June 30, 2018 at 4:45 am #979524Hi,
I’m sorry for the late response.
The posts query becomes invalid when the plugin is activated.
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) LEFT JOIN wp_term_relationships AS tt1 ON (wp_posts.ID = tt1.object_id) INNER JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (3) AND tt1.term_taxonomy_id IN (3) ) AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'private') GROUP BY wp_posts.IDwp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 10
We’ve added this code in the functions.php file to fix the issue.
add_filter('posts_groupby_request', 'avf_posts_groupby_request_mod', 10, 1); function avf_posts_groupby_request_mod($groupby) { if(is_tag()) { $groupby = 'wp_posts.ID'; } return $groupby; }
Please ask the plugin author if there’s a function inside the plugin that alters the posts query.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.