Inactive
- Join Date:
- Oct 2006
- Location:
- Alberta, Canada
- Posts:
- 4,572
- Plugin Contributions:
- 0
SitemapXML v.2
@ckosloff - A link to a Yahoo page explaining more in detail to apply the fix you discovered, would be appreciated. :smile:
Views: 613,227
Inactive
@ckosloff - A link to a Yahoo page explaining more in detail to apply the fix you discovered, would be appreciated. :smile:
Totally Zenned
Website Rob:
@ckosloff - A link to a Yahoo page explaining more in detail to apply the fix you discovered, would be appreciated. :smile:
You are right, I was in a hurry, will post in a moment.
HOWEVER...the damn thing is back where it was.
Cron reported same error.
Anybody else having problems with Yahoo??
https://siteexplorer.search.yahoo.com/mysites
Go here and click on the site you wish to authenticate.
You need to create an account with Yahoo first.
Totally Zenned
And you paste the meta tag here:
includes/templates/CUSTOM/common/html_header.php
New Zenner
Can someone please tell me why my sitemap is empty?
After I hit generate sitemap under tools, this is what I get:
SiteMapXML (v 2.1.0 30.04.2009 10:35)
Categories Sitemap
"sitemapcategories.xml.gz" have not changed - using existing file(s)
Ezpages SitemapFile http://www.karma-charms.com/sitemapezpages.xml.gz. Written 8 items (1538 bytes), Filesize: 459 bytes
Total: files 1, items 8 (1547 bytes).
Products Sitemap"sitemapproducts.xml.gz" have not changed - using existing file(s)
Reviews SitemapFile http://www.karma-charms.com/sitemapreviews.xml.gz. Written 0 items (0 bytes), Filesize: 26 bytes
Sitemap IndexURL - http://www.karma-charms.com/sitemapindex.xml
Written 0 items (478 bytes), Filesize: 478 bytes
Total Execution Time 0:0.0215
Totally Zenned
KarmaCharms:
After I hit generate sitemap under tools, this is what I get:
Probably you don't have any reviews.
Also, why the gz extension?
New Zenner
What do the reviews have to do with it saying I don't have any products?
The gz I set up in the config, for compressing the files. Should I not?
Totally Zenned
KarmaCharms:
The gz I set up in the config, for compressing the files. Should I not?
Trying to help and still waiting for answers to my own problems.
You mean that sitemapproducts.xml is not being generated.
I would first check if all the files are loaded in correct locations.
Unless you have huge files, gz is not needed, but it shouldn't be the cause of your problems.
Deceased
KarmaCharms:
Can someone please tell me why my sitemap is empty?
Wow! Typo in file includes/classes/sitemapxml.php
To fix it find:
$pattern = '/^' . $this->filename . '.*(\.xml' . (SITEMAPXML_COMPRESS != 'true' ? '|\.xml\.gz' : '') . ')$/';
and replace by
$pattern = '/^' . $this->filename . '.*(\.xml' . (SITEMAPXML_COMPRESS == 'true' ? '|\.xml\.gz' : '') . ')$/';
New Zenner
Thanks! That seemed to help.... but now I get this:
cURL Error: Error http_code "403" reading "http://search.yahooapis.com/SiteExplorerService/V1/ping?sitemap=http%3A%2F%2Fwww.karma-charms.com%2Fsitemapindex.xml"
Also why is it still saying > Products Sitemap
"sitemapproducts.xml" have not changed - using existing file(s)
even though I just added a new product..... and the products ARE showing in the list....
Totally Zenned
Today I got this, for unknown reasons
Ping Yahoo!
http://search.yahooapis.com/SiteExplorerService/V1/ping?sitemap=http://www.ladywig.com/sitemapindex.xml Update notification has successfully submitted.
I have already entered the fix published by a_berezin.
However, this Yahoo notification was previous to that, so unrelated.
Anyway, my files were never compressed, so the fix wouldn't affect the ping.
Actually, it is quite easy to understand the fix:
$pattern = '/^' . $this->filename . '.*(.xml' . (SITEMAPXML_COMPRESS == 'true' ? '|.xml.gz' : '') . ')$/';
Basically this is saying: if sitemap files are compressed, then extension .gz.
Before it was the opposite.
I also have to note that I hard-coded the variable %s, I typed the whole URL there, only for Yahoo, in the Config for Sitemap XML.
That was not fixing it either, so I will test in the following days with the variable back.
Bottom line, I have no idea why this is/was happening, I posted to Yahoo dev forums to no avail.
Maybe the new authentication process solved it?
Maybe Yahoo changed something on their end?
Mystery...
New Zenner
ckosloff:
You are right, I was in a hurry, will post in a moment.
HOWEVER...the damn thing is back where it was.
Cron reported same error.
Anybody else having problems with Yahoo??https://siteexplorer.search.yahoo.com/mysites
Go here and click on the site you wish to authenticate.
You need to create an account with Yahoo first.
Yes I have the same error in my sitemapxml v.2 ping build notification pop up.
No idea why it started now. It was working ok 3 days ago and broke around the same time as yours, so I guess it is likely to be a Yahoo issue.:unsure:
Totally Zenned
Regarding this pesky Yahoo thing, I have been giving it some thought.
First, let me say that it is happy for me now, and I have the %s back in there.
So, whether you use the variable or not should not make a difference.
A 403 error means the server is denying access, it is basically saying "forbidden", therefore a full authentication process should fix this, since they want to verify that the owner of the site is pinging and not someone else, possibly to prevent DoS attacks.
Also, you do have to update your sitemap before pinging.
If manually you hit repeatedly step 2 in Tools -> Sitemap XML, Yahoo will throw the damn error, the other SE will not complain.
But, if you hit step 1 first and then step 2, it will be happy.
I have my cron set to do this automatically, according to instructions, so it is happy now.
I think I got the error back because that day I was testing the thing a lot, and missing step 1.
I think Yahoo got burned since the last DoS attack and are now overly cautious.
For the moment, I would say that the fix is authentication + updating.
Hopefully.
Deceased
Hi ckosloff,
Excellent explanation!
New Zenner
anyone can help? I installed it, but can not see Admin->Tools>Google XML Sitemap..................? how to fix it ?
New Zenner
Junzilang:
anyone can help? I installed it, but can not see Admin->Tools>Google XML Sitemap..................? how to fix it ?
And I have copied all files to correct position, tried 2 times, and ran the .sql file, still can not see it. hope some could tell me how to fix it? thank u very much
New Zenner
Junzilang:
And I have copied all files to correct position, tried 2 times, and ran the .sql file, still can not see it. hope some could tell me how to fix it? thank u very much
I have fixed this problem, due to I changed my admin folder name, so the files did not copy to the corresponding position...........so just need copy the files to my currently "xxxadminxxx""
New Zenner
ckosloff:
Regarding this pesky Yahoo thing, I have been giving it some thought.
First, let me say that it is happy for me now, and I have the %s back in there.
So, whether you use the variable or not should not make a difference.
A 403 error means the server is denying access, it is basically saying "forbidden", therefore a full authentication process should fix this, since they want to verify that the owner of the site is pinging and not someone else, possibly to prevent DoS attacks.
Also, you do have to update your sitemap before pinging.
If manually you hit repeatedly step 2 in Tools -> Sitemap XML, Yahoo will throw the damn error, the other SE will not complain.
But, if you hit step 1 first and then step 2, it will be happy.
I have my cron set to do this automatically, according to instructions, so it is happy now.
I think I got the error back because that day I was testing the thing a lot, and missing step 1.
I think Yahoo got burned since the last DoS attack and are now overly cautious.
For the moment, I would say that the fix is authentication + updating.
Hopefully.
Hi, ckosloff
Thanks for your useful explanation! I would like to remember:
But, if you hit step 1 first and then step 2, it will be happy.
I have my cron set to do this automatically, according to instructions, so it is happy now.
Nice job,
New Zenner
hello, my problem is:
even setting this option to false, Generate language_id for default language, i still get this in my links
http://casasnossasenhoradosprazeres.com/imagem-de-gesso/santos/imagem-sao-lazaro-25-cm-p-526/language/br
what i'm missing?
Thank you very much
New Zenner
The problem is resolved now, just needed a little time to change.
Thank you
New Zenner
After I install sitmapxml
When I click step 1 to generate sitemap, it show screen like this

Then I check the xml file, nothing at file like this:

Why ? Can anyone help sort it out ? Thanks
Fields marked required must be completed.
Tell staff why this post should be reviewed.