Zen Cart Logo

SitemapXML v.2

Views: 613,216

Results 141 to 160 of 2,226
24 Jun 2009, 11:18 PM
#141
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

SitemapXML v.2

64M is a tad high. Start at 16M then increase by 4M until you get it to work.

I do believe on page 12 or 13 of this thread, it mentions to change the setting for displaying Languages. Once turned OFF then delete your current xml files that displaying the language, re-upload the original blank ones, then create your sitemaps anew.

As to friendly SE links, using Sitemap v2.1 and Ultimate SEO module, the URLs in the sitemap are identical to what shows in a Browser.

25 Jun 2009, 3:48 AM
#142
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

Re: SitemapXML v.2

For a shop that is not in the home directory (/store for example), is there a switch as in the previous version to place the sitemap files in the site root?

Thank you

25 Jun 2009, 10:50 PM
#143
mdegrandis avatar

mdegrandis

New Zenner

Join Date:
Jun 2008
Location:
Oregon
Posts:
60
Plugin Contributions:
0

Re: SitemapXML v.2

kiddo:

For a shop that is not in the home directory (/store for example), is there a switch as in the previous version to place the sitemap files in the site root?

Thank you

I was able to move it to my store root by changing the includes/classes/sitemapsxml.php file.
find

$this->savepath = DIR_FS_CATALOG;
$this->base_url = HTTP_SERVER . DIR_WS_CATALOG;

and to make it your store root you would replace them with

    $this->savepath = '/path/to/your/webspace/public_html/';
    $this->base_url = HTTP_SERVER . '/';

Then, if your store's sub directory was store/ you need to change

    $header .= ($this->stylesheet != '' ? '<?xml-stylesheet type="text/xsl" href="' . $this->stylesheet . '"?'.'>' . "\n" : "");

to

$header .= ($this->stylesheet != '' ? '<?xml-stylesheet type="text/xsl" href="store/' . $this->stylesheet . '"?'.'>' . "\n" : "");

replacing store/ with what makes sense in your setup.
that is what I did to make it work.
Let me know if it works for you
Matt

26 Jun 2009, 2:26 AM
#144
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: SitemapXML v.2

All SEs follow the 'robots.txt' file.

So what's wrong with just listing your Sitemap URL within the 'robots.txt' file, as mentioned in the Sitemap Readme file and as per the Standard listed at sitemaps.org?

Seems a lot easier then trying to rewrite the code.

26 Jun 2009, 3:56 AM
#145
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

Re: SitemapXML v.2

Website Rob:

All SEs follow the 'robots.txt' file.

So what's wrong with just listing your Sitemap URL within the 'robots.txt' file, as mentioned in the Sitemap Readme file and as per the Standard listed at sitemaps.org?

Seems a lot easier then trying to rewrite the code.

I have some sites that use software in addition to Zen Cart that add their own entries to the existing sitemapindex.xml file. It seemed that altering the ZC mod to put the files in the site root would be the easier thing to do than to mod software I'm less at easy with.

The pointers posted by mdegrandis (thank you!) seem sensible. I'll give that a shot.

26 Jun 2009, 1:41 PM
#146
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: SitemapXML v.2

kiddo:

I have some sites that use software in addition to Zen Cart that add their own entries to the existing sitemapindex.xml file. It seemed that altering the ZC mod to put the files in the site root would be the easier thing to do than to mod software I'm less at easy with.

The pointers posted by mdegrandis (thank you!) seem sensible. I'll give that a shot.

What Website Rob was saying if you add this to your robots.txt' file for each site you have, the site map will pick it up. Looks very simple to me without having to rewrite the module.

Sitemap:http://www.your_site.com/sitemapindex.xml

26 Jun 2009, 8:57 PM
#147
zcnb avatar

zcnb

Zen Follower

Join Date:
Jun 2008
Posts:
338
Plugin Contributions:
0

Re: SitemapXML v.2

Ever since I installed SitemapXML v.2, Google no longer indexes my site past the products that it indexed before installing SitemapXML v.2.

I initially thought it was just the frequency of crawling but I double checked both on my website and in Google Webmaster Tools and this isn't the case.

Google crawls my site every day and always with the same results: No Crawl errors whatsoever (except for five "not found" URLs that may be some broken links from other websites).

In Google Webmaster Tools I look at the Sitemaps which shows a perfect status with the following Sitemap stats for shop/sitemapindex.xml:

Total URLs: 73
Indexed URLs: 42

Any idea what could be the problem?

To further clarify:

I am not saying that there is a problem in SitemapXML v.2. In fact, the produced xml files by SitemapXML v.2 are reported by Google Webmaster Tools to be perfect and they actually contain URLs to all the meaningful pages in my web site (73 pages).

However, Google decides for a reason that is unclear to me that only 42 of them will be indexed.

Any idea what could be the reason for that?

Does it have anything to do with sitemap XML?

If not, why did the problem start only then?

Any tip or hint that can help troubleshooting this problem would be deeply appreciated.

29 Jun 2009, 4:32 PM
#148
thatglenn avatar

thatglenn

New Zenner

Join Date:
Jun 2009
Location:
England, United Kingdom
Posts:
8
Plugin Contributions:
0

Re: SitemapXML v.2

I have a new install of Zencart 3.8 and all the DB and systems communicating correctly. I have been running zencart for 18 months now using the older google sitemaps addon.
It never displayed error free webmaster tool crawl results , always showing an error on the productssitemap.xml sitemap file. It appeared to not index my product pages whatsoever.

As my product pages where not being included in the crawl, I decided to restart the whole store and I therefore installed Zencart and the sitemaps addon. (3 times in the last 5 days to try and get a clean crawl result).
But it still shows as there being an error in the sitemapproducts.xml file. In fact now it is reporting a 404 not found error with this latest addon.

I just dont seem to be able to get the sitemapproducts.xml results as I do with the sitemapcategories.xml and sitemapindex.xml. The sitemapproducts.xml has my products in it and they show when requested and update ok, but google doesnt accept them into its index or crawl these pages.

I have succeeded in level 2 integration with other systems such a Google Checkout, Adsense, Analytics and many more complicated addon installs, but this one has never been clean, even with a new Zencart install and immediate install of sitemaps, with nothing else changed, it "breaks" the tier of the sitemap tree.
Any ideas on how I can analize this error and get it resolved would be greatly appreciated. I have followed the installation procedures to the letter and covered all the areas here in the posts to ensure I have not missed something important.

Thankyou.

29 Jun 2009, 6:18 PM
#149
juxizoza avatar

juxizoza

Totally Zenned

Join Date:
Mar 2004
Posts:
651
Plugin Contributions:
1

Re: SitemapXML v.2

Link to Microsoft Bing Webmaster tools, with links for submitting site to database and for submitting sitemap.
Perhaps links can be included in next release??

http://www.bing.com/toolbox/webmasters/default.aspx

29 Jun 2009, 9:22 PM
#150
thatglenn avatar

thatglenn

New Zenner

Join Date:
Jun 2009
Location:
England, United Kingdom
Posts:
8
Plugin Contributions:
0

Re: SitemapXML v.2

thatglenn:

I have a new install of Zencart 3.8 and all the DB and systems communicating correctly. I have been running zencart for 18 months now using the older google sitemaps addon.
It never displayed error free webmaster tool crawl results , always showing an error on the productssitemap.xml sitemap file. It appeared to not index my product pages whatsoever.

As my product pages where not being included in the crawl, I decided to restart the whole store and I therefore installed Zencart and the sitemaps addon. (3 times in the last 5 days to try and get a clean crawl result).
But it still shows as there being an error in the sitemapproducts.xml file. In fact now it is reporting a 404 not found error with this latest addon.

I just dont seem to be able to get the sitemapproducts.xml results as I do with the sitemapcategories.xml and sitemapindex.xml. The sitemapproducts.xml has my products in it and they show when requested and update ok, but google doesnt accept them into its index or crawl these pages.

I have succeeded in level 2 integration with other systems such a Google Checkout, Adsense, Analytics and many more complicated addon installs, but this one has never been clean, even with a new Zencart install and immediate install of sitemaps, with nothing else changed, it "breaks" the tier of the sitemap tree.
Any ideas on how I can analize this error and get it resolved would be greatly appreciated. I have followed the installation procedures to the letter and covered all the areas here in the posts to ensure I have not missed something important.

Thankyou.

When I had installed this addon onto the new Zencart 138 install, I had generated categories only - when I submitted the sitemap to google webmaster tools sitemaps. So, when I created the sitemap in Admin-->Tools, it created all four sitemaps(index,categories,ez-pages and products), but only wrote to two of them - Index and Categories. I then submitted the sitemap to GWT's and it errored on the products sitemap, saying there was an error 404 not found.

I have checked there is content in the products sitemap and that it has accurate product information, which it does.

So my question is;
As I submitted the sitemapindex.xml (and therefore the sitemapproducts.xml files), when there were no products inside the zc db, does this likely cause an error in GWT's - as there is no content from the sitemapproducts.xml file for it to find, or does it work like ez-pages/reviews generated sitemaps, remaining irrelevant until entries are made?:frusty:

Thanks for anyones ideas on this one - I am sure it must work, but i think i need to submit sitmapindex etc AFTER I have added categories and products and reviews, is that right?

Store name
EasiDIY.com
www.easidiy.com/sitemapindex.xml - ok
www.easidiy.com/sitemapcategories.xml - ok
www.easidiy.com/sitemapproducts.xml - error - not being indexed by google.

30 Jun 2009, 12:51 PM
#151
thatglenn avatar

thatglenn

New Zenner

Join Date:
Jun 2009
Location:
England, United Kingdom
Posts:
8
Plugin Contributions:
0

Re: SitemapXML v.2

Could someone provide a thorough installation and config guide to this addon. More specifically for a Cpanel host user.

Installation of the files seems to be straightforward enough, but actually getting GWT(Google Webmasters Tools) to read an error free set of sitemaps does not happen, after repeated attempts.

If I have a new install of Zencart v1.3.8 with only sitemapsXML v.2 installed, and I instantly add categories and products (with no other add ons installed), it creates the xml fileset, that is all working, except for the sitemapproducts.xml.
GWT throws a 404 not found error on sitemapproducts.xml.

Any advice/support/tips with this problem would be appreciated.
Could it be a permissions problem?

30 Jun 2009, 10:44 PM
#152
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: SitemapXML v.2

thatglenn:

Could someone provide a thorough installation and config guide to this addon?
Did you check your homepage?
There is no connection to DB.

30 Jun 2009, 10:48 PM
#153
thatglenn avatar

thatglenn

New Zenner

Join Date:
Jun 2009
Location:
England, United Kingdom
Posts:
8
Plugin Contributions:
0

Re: SitemapXML v.2

ckosloff:

Did you check your homepage?
There is no connection to DB.

I have just done another install and I am about to connect the root directory to the db.

Then i intended to add a couple of categories/products and attempt another install of this addon. I have currently deleted the sitemap from Google Webmaster Tools(GWT) and will resubmit when the xml files have been recreated(with entries and at root level).

I just cannot see why the GWT system doesnt want to read the products xml file only, when it likes the others.

1 Jul 2009, 12:22 AM
#154
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: SitemapXML v.2

thatglenn:

I just cannot see why the GWT system doesnt want to read the products xml file only, when it likes the others.
Please post your .htaccess and your robots.txt

1 Jul 2009, 1:01 AM
#155
thatglenn avatar

thatglenn

New Zenner

Join Date:
Jun 2009
Location:
England, United Kingdom
Posts:
8
Plugin Contributions:
0

Re: SitemapXML v.2

will do,
oh........ i have no robot.txt file
Can you recommend the code to go in this file please for me?
Is it

Allow/ *

sitempap: https://www.easidiy.com/sitemapindex.xml

Sorry, where is the .htaccess file? I haven;t got one in the main root folder.
There is one in
/includes
/admin/.htaccess
/admin/includes/.htaccess

all have some data in them.
???????

1 Jul 2009, 1:43 AM
#156
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: SitemapXML v.2

thatglenn:

Allow/ *
sitemap: www.easidiy.com/sitemapindex.xml
Please note that I corrected a typo in your syntax.
Yes, that should do fine.
I only wanted to know if something in the .htaccess was preventing the crawler to access that file.

1 Jul 2009, 4:21 AM
#157
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: SitemapXML v.2

User-agent: *
Allow: /
Sitemap: http://www.your_site.com/sitemapindex.xml

this is still better.

2 Jul 2009, 7:55 PM
#158
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: SitemapXML v.2

All of a sudden I gets CURL errors in the cron report.
These are the errors:

<h4>Ping Yahoo!</h4> <http://search.yahooapis.com/SiteExplorerService/V1/ping?sitemap=http%3A%2F%2Fwww.ladywig.com%2Fsitemapindex.xml> <div style="background-color: #FFFFCC); border: 1px solid #000000; padding: 5px"> cURL Error: Error http_code "<b>403</b>" reading "<http://search.yahooapis.com/SiteExplorerService/V1/ping?sitemap=http%3A%2F%2Fwww.ladywig.com%2Fsitemapindex.xml>"<br /> </div>

and

<h4>Ping </h4> <div style="background-color: #FFFFCC); border: 1px solid #000000; padding: 5px"> cURL Error: "<b><url> malformed</b>" reading ""<br /> </div> <div>Total Execution Time 0:5.2134</div> </div> </div> </body></html>

The other sites did not report problems, only Yahoo.
Anybody have an idea of what is going on?

2 Jul 2009, 11:23 PM
#159
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: SitemapXML v.2

And here is a snapshot of the error.
Could it be, as someone suggested, that this is a Yahoo thing?

3 Jul 2009, 12:14 AM
#160
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: SitemapXML v.2

GOTCHA!!!
Yahoo has new requirements for authentication.
You need to paste a metatag in the common htmlheader.php and/or upload to root an auth file that they create for you.
After that, everything fine.