Sitemap issue
-
Pathconsulting.net
Yoast SEO pluginGoogle wont accept my sitemap.
“Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.”My sitemap is supposedly http://pathconsulting.net/page-sitemap.xml.
Also tried http://pathconsulting.net/sitemap.xml which returned a 404 error
-
First, assuming you do have the sitemap functionality activated, try turning it off and on again (as the old IT cliché goes). Under the SEO > XML Sitemaps menu, disable the XML sitemap, save changes, then reactivate it.
If that doesn’t help, follow the steps here.
Check dashboard, SEO, xml sitemaps. You should see this.
XML Sitemap Check this box to enable XML sitemap functionality. You can find your XML Sitemap here: XML SitemapCyril,
I have this in my .htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressAnd I have this as you suggested…
# 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=wpseo_local [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 FixWhere do I put the new code? Thank you. You’ve been the mostly helpful person on this entire forum.
kmessinger,
Thank you. I already had done that.
Tried this
# 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=wpseo_local [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
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressAnd it didnt work.
First, no bumping.
http://codex.wordpress.org/Forum_Welcome#No_BumpingYou can find your XML Sitemap here: XML Sitemap
And where does the dashboard say your sitemap is?How is that bumping? Nobody replied to my last question??
Im confused by the rest of your post as well.
Pathconsulting.net
Yoast SEO pluginGoogle wont accept my sitemap.
“Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.”My sitemap is supposedly http://pathconsulting.net/page-sitemap.xml.
Also tried http://pathconsulting.net/sitemap.xml which returned a 404 errorHow is that bumping? Nobody replied to my last question??
Nobody has to reply. Someone will try to help you if they have an answer and if they want to. Everyone here is a volunteer and there are a lot more of you than us. You are always free to inquire at other forums.
And where does the dashboard say your sitemap is?
Sorry that was confusing. So it is supposed to be here, http://pathconsulting.net/page-sitemap.xml according to Yost, http://pathconsulting.net/sitemap_index.xml
Is this in your robots.txt file?
User-agent: *
Disallow: # BEGIN XML-SITEMAP-PLUGIN
Sitemap: http://www.Pathconsulting.net/sitemap.xml.gz
# END XML-SITEMAP-PLUGINhttp://pathconsulting.net/sitemap_index.xml is the page where my sitemap is. The sitemap is supposedly http://PATHconsulting.net/page-sitemap.xml. The error that comes when I submit either of those urls is
“Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.”
That code you posted is not in my robots.txt file.
The first link is a Yost sitemap index file. I get no errors on that link. The second link above gives me a 404 error in Chrome, FF, IE FireFox and Safari.
If you go to the dashboard, SEO, edit files Yost will tell you to add the code to your robots.txt file. Worth a try.
It doesnt have any code to add.
What about adding another sitemap plugin and turning off the Yoast sitemap functions?
That is strange
Sure. Try another plugin.
Used the Google Sitemap Plugin. Worked fine. Thx for your help.
The topic ‘Sitemap issue’ is closed to new replies.