למשתמש זה אין נושאים מועדפים.
נושאי הפורום המועדפים
נושאי הפורום נוצרו
מצב |
נוֹשֵׂא
|
תוֹמֵך | קולות | פוסטים | טְרִיוּת |
---|---|---|---|---|---|
[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 | לפני 11 חודשים, שבוע 1 | ||
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 | לפני 11 חודשים, שבוע 1 | ||
Language switcher dropdown not visible properly
התחיל על ידי: ylyasK ב: Chat Support |
1 | 2 |
לפני 11 חודשים, 2 שבועות
|
||
My wpml switcher when clicked go behind the site's body content
התחיל על ידי: ylyasK ב: Chat Support |
1 | 2 |
לפני 11 חודשים, 2 שבועות
|
||
HTML sitemap displays all translated pages
התחיל על ידי: ylyasK ב: English Support |
1 | 1 | לפני 11 חודשים, 2 שבועות | ||
Automatically convert slug translation from one language to a different language
התחיל על ידי: ylyasK ב: English Support |
2 | 3 | לפני 11 חודשים, 2 שבועות | ||
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 | לפני שנה 1 |