.htaccess dosyasını şu şekilde düzenleyin
# WordPress SEO - XML Sitemap Rewrite Fix
2
<IfModule mod_rewrite.c>
3
RewriteEngine On
4
RewriteBase /
5
RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L]
6
RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L]
7
</IfModule>
8
# END WordPress SEO - XML Sitemap Rewrite Fix
“/wp-content/plugins/wordpress-seo/inc/class-sitemaps.php”.
Sorun Çözülmezse dosyasının function init() kısmını aşağıda ki gibi düzenleyin
/**
02
* Initialize sitemaps. Add sitemap rewrite rules and query var
03
*/
04
function init() {
05
global $wp_rewrite;
06
$GLOBALS['wp']->add_query_var( 'sitemap' );
07
$GLOBALS['wp']->add_query_var( 'sitemap_n' );
08
add_rewrite_rule( 'sitemap_index.xml$', 'index.php?sitemap=1', 'top' );
09
add_rewrite_rule( '([^/]+?)-sitemap([0-9]+)?.xml$', 'index.php?sitemap=$matches[1]&sitemap_n=$matches[2]', 'top' );
10
$wp_rewrite->flush_rules();
11
}
Bunlar genellikle çözüm veren fixlerdir, eğer sorununuz çözülmezse yoast'un çözüm adımlarını izleyin.
http://kb.yoast.com/article/36-my-si...k-what-s-wrong
İlginiz için teşekkür ederim
function init() kısmını bulamadım dosyada ilk çözümü uyguladım ama olmadı.