Açıklama
WordPress 5.5 add core XML sitemap functionnality, but there is no user interface to disable it or to mange contents within theses files.
Disable WordPress XML sitemaps simply deactivate all WordPress XML sitemaps and redirect them to your home URL, preventing 404 page generation for Google and other Search Engines.
This SEO enhancement is already included in our SEOKEY plugin. Not only do we deactivate WordPress native XML sitemaps (which are not optimized), but SEOKEY replaces them with much more powerful sitemaps (better crawl, not any harmful content).
More information here about it : Core XML Sitemap Guide (French)
Yükleme
This section describes how to install the plugin and get it working.
- Upload the plugin files to the
/wp-content/plugins/seomix-disable-core-sitemaps
directory, or install the plugin through the WordPress plugins screen directly. - Just activate the plugin through the ‘Plugins’ screen in WordPress.
- You’re done
SSS
-
Installation
-
Just activate the plugin, and you’re done
-
Does it redirect old sitemap URL ?
-
Yes, it does redirect all sitemap URL to homepage URL (301 redirect). It prevents bad 404 for Google and other search engines.
-
Can I redirect to another URL ?
-
Yes, you can use a filter for that :
apply_filters( 'seomix_core_sitemaps_redirect_target', $home, $current_url );
$home is the default redirect URL
$current_url is the current 404 sitemap URL being processed
Exemple usage :add_filter( 'seomix_core_sitemaps_redirect_target', 'seomix_function' ); function seomix_function( $home, $current_url ) { return "https://shiny-new-url.fr"; }
İncelemeler
Bu eklenti için herhangi bir değerlendirme bulunmuyor.
Katkıda Bulunanlar ve Geliştiriciler
“SX Disable WordPress XML sitemaps” açık kaynaklı yazılımdır. Aşağıdaki kişiler bu eklentiye katkıda bulunmuşlardır.
Katkıda bulunanlar“SX Disable WordPress XML sitemaps” 6 dile çevrildi. Katkıda bulundukları için çevirmenlere teşekkürler.
“SX Disable WordPress XML sitemaps” eklentisini dilinize çevirin.
Geliştirmeyle ilgilenir misiniz?
Kodu görüntüleyin, SVN deposuna göz atın ya da RSS ile geliştirme günlüğüne abone olun.