Hi,
another beginner question:
I submitted the sitemap.php as sitemap file to google and it returned an error. What was wrong? And is it possible to show the sitemap link directly on the pages?
Regards
Roland
Hi,
this is the only information I get from google.
http://www.xxxxxx.desitemap.php?merchant=United+Shades › Sitemap errors .
When I go to sitemap.php I get this:
^?xml version="1.0" encoding="UTF-8" ?>
- ^sitemapindex xmlns="http://www.google.com/schemas/sitemap/0.84" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84 http://www.google.com/schemas/sitemap/0.84/siteindex.xsd">
- ^sitemap>
^loc>http://www.xxxxxxx.desitemap.php?merchant=United+Shades
^lastmod>1970-01-01
^/sitemap>
^/sitemapindex>
Roland
Hi Roland,
Can you check that in config.php you have:
$config_baseHREF = "/";
At the moment, I think $config_baseHREF might be empty because the sitemap URL for your United Shades merchant looks incorrect. It is currently:
http://www.xxxxxxx.desitemap.php?merchant=United+Shades
...and it should be:
http://www.xxxxxxx.de/sitemap.php?merchant=United+Shades
This would be caused by $config_baseHREF being empty, as the sitemap script inserts this value between the host name (www.xxxxxxx.de) and "sitemap.php".
I think that will fix it...
Cheers,
David.
Hi Roland,
What error did Google give you? Was there any additional information given?
Have you confirmed that the link is working by viewing the sitemap directly in your web browser, i.e.:
http://www.yoursite.com/sitemap.php
If you're still having trouble feel free to email me the link to your site and i'll see if there's anything strange going on with your sitemap document.
Cheers,
David.