У этого пользователя нет любимых тем.
Любимые темы форума
Созданные темы форума
Состояние |
Тема
|
Сторонник | Голоса | Записи | Свежесть |
---|---|---|---|---|---|
[rank_math_html_sitemap] shortcode prints all pages
Начато по: ylyasK
в: English Support
Problem: [rank_math_html_sitemap] shortcode is displaying all pages, including those in the original and translated languages, we have a solution for you. .../wp-content/plugins/seo-by-rank-math/includes/modules/sitemap/html-sitemap/class-posts.php file. $current_language = apply_filters( 'wpml_current_language', NULL ); <br /> $sql = "<br /> SELECT l.ID, post_title, post_name, post_parent, post_date, post_type, l.post_modified<br /> FROM (<br /> SELECT DISTINCT p.ID, p.post_modified FROM {$wpdb->posts} as p<br /> LEFT JOIN {$wpdb->postmeta} AS pm ON ( p.ID = pm.post_id AND pm.meta_key = 'rank_math_robots' )<br /> INNER JOIN {$wpdb->prefix}icl_translations AS icl ON ( p.ID = icl.element_id AND icl.language_code = %s AND icl.element_type LIKE 'post_%' )<br /> WHERE (<br /> ( pm.meta_key = 'rank_math_robots' AND pm.meta_value NOT LIKE '%noindex%' ) OR<br /> pm.post_id IS NULL<br /> )<br /> AND p.post_type IN ( %s ) AND p.post_status IN ( '" . join( "', '", esc_sql( $statuses ) ) . "' )<br /> ORDER BY p.post_modified DESC<br /> ) o<br /> JOIN {$wpdb->posts} l ON l.ID = o.ID " . $get_child . " ORDER BY " . $sort['field'] . " " . $sort['order']; // phpcs:ignore<br /> $sql = $wpdb->prepare($sql, $current_language, $post_type);<br /> return $wpdb->get_results( $sql ); // phpcs:ignore 4. Remember that Rank Math uses cache, so you may need to reset your sitemaps after making this change. To do this, go to Rank Math SEO > Sitemaps settings, modify a setting, revert the change, and save it. Please note that this solution might be outdated or not applicable to your case. If it doesn't help, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket with us. |
2 | 11 | 10 месяцев, 3 недели назад | ||
Translate report to my mail
Начато по: ylyasK
в: English Support
Problem: Please note that this solution might be irrelevant due to being outdated or not applicable to your case. If so, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket with us. |
2 | 9 | 10 месяцев, 3 недели назад | ||
Language switcher dropdown not visible properly
Начато по: ylyasK в: Chat Support |
1 | 2 |
10 месяцев, 3 недели назад
|
||
My wpml switcher when clicked go behind the site's body content
Начато по: ylyasK в: Chat Support |
1 | 2 |
10 месяцев, 3 недели назад
|
||
HTML sitemap displays all translated pages
Начато по: ylyasK в: English Support |
1 | 1 | 10 месяцев, 4 недели назад | ||
Automatically convert slug translation from one language to a different language
Начато по: ylyasK в: English Support |
2 | 3 | 10 месяцев, 4 недели назад | ||
Switching main language
1
2
Начато по: ylyasK
в: English Support
Problem: Solution: If you decide to switch your site's default language, WPML can assist with any issues. However, be aware of potential SEO implications, which include indexing and crawling, URL structure, backlink profile, keyword strategy, local SEO impact, user experience, hreflang tags, search engine preferences, and legal and compliance issues. WPML handles hreflang tags, and you can learn more about multilingual SEO here: https://wpml.org/documentation/how-to-set-up-multilingual-seo-on-your-website/ and here: https://wpml.org/tutorials/2021/03/5-common-multilingual-seo-mistakes-to-avoid/. If this solution doesn't look relevant, please open a new support ticket in our forum: https://wpml.org/forums/forum/english-support/. |
2 | 18 | 11 месяцев, 2 недели назад |