Questo utente non ha argomenti preferiti.
Argomenti preferiti del forum
Argomenti del forum creati
Stato |
Argomento
|
Sostenitore | Voci | Messaggi | Freschezza |
---|---|---|---|---|---|
[rank_math_html_sitemap] shortcode prints all pages
Iniziato da: ylyasK
in: 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 mesi, 1 settimana fa | ||
Translate report to my mail
Iniziato da: ylyasK
in: 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 mesi, 1 settimana fa | ||
Language switcher dropdown not visible properly
Iniziato da: ylyasK in: Chat Support |
1 | 2 |
11 mesi, 2 settimane fa
|
||
My wpml switcher when clicked go behind the site's body content
Iniziato da: ylyasK in: Chat Support |
1 | 2 |
11 mesi, 2 settimane fa
|
||
HTML sitemap displays all translated pages
Iniziato da: ylyasK in: English Support |
1 | 1 | 11 mesi, 2 settimane fa | ||
Automatically convert slug translation from one language to a different language
Iniziato da: ylyasK in: English Support |
2 | 3 | 11 mesi, 2 settimane fa | ||
Switching main language
1
2
Iniziato da: ylyasK
in: 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 anno fa |