page-sitemap.xml generate 404 error
-
I generated my sitemap with Yoast SEO plugin:
http://elizabethstreetdentist.co.uk/sitemap_index.xml
and the second link (http://elizabethstreetdentist.co.uk/page-sitemap.xml) is not working.I verified that I had pages, that in the plugin the tab ‘post type’ that ‘page’ wasn’t ticked, I even tried to rewrite my htaccess with this code :
# WordPress SEO - XML Sitemap Rewrite Fix RewriteEngine On RewriteBase / RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L] RewriteRule ^locations.kml$ /index.php?sitemap=wpseo_local_kml [L] RewriteRule ^geo_sitemap.xml$ /index.php?sitemap=geo [L] RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L] RewriteRule ^([a-z]+)?-?sitemap.xsl$ /index.php?xsl=$1 [L] # END WordPress SEO - XML Sitemap Rewrite Fix
and also tried to reinstall/uninstall the plugin to generate a new one… but nothing worked.
I also have the newest version of wordpress and yoast seo, and can’t find where the problem is! So if you have any other solution, it will be welcomed
Thank you,
https://wordpress.org/plugins/google-analytics-for-wordpress/
- The topic ‘page-sitemap.xml generate 404 error’ is closed to new replies.