View Full Version : Sitemap Issue
Experting
02-14-2010, 04:10 PM
Right, I am having problems with my sitemap.
You can access it fine at; www.thepublicblog.net/sitemap.xml
But google cannot access it or anything. When you use a proxy to access it, it says " Error loading stylesheet: An unknown error has occurred (805303f4)http://www.thepublicblog.net/wp-content/plugins/google-sitemap-generator/sitemap.xsl "
Does anyone know how i can fix it so that it works?
drhowarddrfine
02-14-2010, 04:34 PM
Sitemaps have no need for stylesheets so I'm guessing that's what it's choking on. You're also introducing comments and schemas which I'm not aware belong either.
This is the only thing that should be at the top of that page:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
Experting
02-14-2010, 04:59 PM
Sitemaps have no need for stylesheets so I'm guessing that's what it's choking on. You're also introducing comments and schemas which I'm not aware belong either.
This is the only thing that should be at the top of that page:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
Nope, That dont work either. Its for a wordpress plugin that im using to generate my sitemap.
Azzaboi
02-16-2010, 08:29 AM
The basic layout looks correct to me, however check it against this:
<?xml version="1.0" encoding="UTF-8" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<url>
<loc>url</loc>
</url>
</urlset>
You could also try generate one from: xml-sitemaps (http://www.xml-sitemaps.com)
I assume your submitting the sitemap to google from: Google Webmasters Tools (http://www.google.com/webmasters/tools/)
MattF
02-24-2010, 04:03 AM
There's nothing wrong with your sitemap. I'd guess WP is choking when generating/outputting. Is anything logged when you make an unsuccessful attempt at viewing it?
http://www.validome.org/google/validate?url=http://www.thepublicblog.net/sitemap.xml&lang=en&googleTyp=SITEMAP
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.