Zen Cart Logo

SitemapXML v.2

Views: 613,598

Results 1,281 to 1,300 of 2,226
29 Apr 2013, 1:19 AM
#1281
wacamatic avatar

wacamatic

New Zenner

Join Date:
Nov 2012
Posts:
13
Plugin Contributions:
0

SitemapXML v.2

Thanks. That was exactly it. Works great now.

If I could bug you for one more thing? It seems to be working fine. If I am only using 1 admin profile do I need to add admin page permissions for sitemapXML? If so, what do I input to ZenCarts fields?

Thanks a million Andrew.

Warren

29 Apr 2013, 2:16 PM
#1282
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: SitemapXML v.2

Hi,

wacamatic:

If I am only using 1 admin profile do I need to add admin page permissions for sitemapXML?
If you use Superuser profile - no. If any other - yes.

wacamatic:

If so, what do I input to ZenCarts fields?
About what fields you talk???

1 May 2013, 2:14 AM
#1283
pokerdis avatar

pokerdis

New Zenner

Join Date:
Apr 2007
Posts:
20
Plugin Contributions:
0

Re: SitemapXML v.2

Hello All,

I just noticed that all of my sitemaps are showing as invalid on Google webmaster tools. I'm on Zen Cart 1.5.1 & running SitemapsXML 3.2.6 17.06.2012 16:13. I also use v4 of Magic SEO URL's.

I just downloaded sitemapproducts.xml which is 643,000 kb but when I double click the xml file to view the sitemap I only get the below line

http://www.pokerdiscount.net/texas-hold-em-stained-glass-40-inch-lighting-fixture-1664.html">loc

If I open with notepad+++ I can see the entire sitemap. A sample is below.

<?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="http://www.pokerdiscount.net/includes/templates/template_default/css/gss.xsl"?>

<urlset 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"
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

<!-- generator="Zen-Cart SitemapXML" 3.2.6 17.06.2012 16:13 --> <!-- sitemapproducts.xml created at 2013-04-30 19:43:29 --> <url> <loc>http://www.pokerdiscount.net/texas-hold-em-stained-glass-40-inch-lighting-fixture-1664.html">loc</a><div align="center" style="width: 100%; font-size: 12px;" id="msu-wrapper">©2013 <a href="http://www.inveostore.com/magic-seo-urls-for-zencart-v15-13" id="msu-link">ZenCart SEO</a> by <a href="http://www.inveostore.com/" id="inveo-link">Inveo s.r.o.</a</loc> <lastmod>2013-04-30</lastmod> <changefreq>weekly</changefreq> <priority>1.00</priority> </url>

Any ideas.

Thanks in advance.

Tom

1 May 2013, 3:29 AM
#1284
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: SitemapXML v.2

Hi,

pokerdis:

I also use v4 of Magic SEO URL's.
You use unsupported version of Magic SEO URLs.

1 May 2013, 3:53 AM
#1285
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: SitemapXML v.2

pokerdis:

I also use v4 of Magic SEO URL's.
Fast fix. File includes/classes/sitemapxml.php
Found

      $loc = substr($out, 21, -23);

Replace by

      if (preg_match('@<a[^>]+href=(["\'])(.*)\1@isU', $out, $m)) {
        $loc = $m[2];
      }
1 May 2013, 4:03 AM
#1286
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: SitemapXML v.2

pokerdis:

I also use v4 of Magic SEO URL's
Forgive my curiosity, you, yourself, have voluntarily agreed to added two external links on every page of your site???

<div align="center" style="width: 100%; font-size: 12px;" id="msu-wrapper">©2013 <a href="http://www.inveostore.com/magic-seo-urls-for-zencart-v15-13" id="msu-link">ZenCart SEO</a> by <a href="http://www.inveostore.com/" id="inveo-link">Inveo s.r.o.</a></div>
1 May 2013, 11:27 AM
#1287
pokerdis avatar

pokerdis

New Zenner

Join Date:
Apr 2007
Posts:
20
Plugin Contributions:
0

Re: SitemapXML v.2

No, I did not unless of course it was hidden in some terms and conditions when I purchased.

Regards,
pokerdis

a_berezin:

Forgive my curiosity, you, yourself, have voluntarily agreed to added two external links on every page of your site???

<div align="center" style="width: 100%; font-size: 12px;" id="msu-wrapper">©2013 <a href="http://www.inveostore.com/magic-seo-urls-for-zencart-v15-13" id="msu-link">ZenCart SEO</a> by <a href="http://www.inveostore.com/" id="inveo-link">Inveo s.r.o.</a></div> ```
1 May 2013, 11:42 AM
#1288
pokerdis avatar

pokerdis

New Zenner

Join Date:
Apr 2007
Posts:
20
Plugin Contributions:
0

Re: SitemapXML v.2

Thank you so much!! After making suggested change, sitemap looks fine but after resubmitting to Google they still show errors that sitemap is unreadable.

Regards,
pdis

a_berezin:

Fast fix. File includes/classes/sitemapxml.php
Found

  $loc = substr($out, 21, -23);
> Replace by
> ```php
      if (preg_match('@<a[^>]+href=(["\'])(.*)\1@isU', $out, $m)) {
        $loc = $m[2];
      }
1 May 2013, 1:11 PM
#1289
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: SitemapXML v.2

pokerdis:

No, I did not unless of course it was hidden in some terms and conditions when I purchased.
Wow! So it was a surprise for you! My congratulations!

1 May 2013, 1:16 PM
#1290
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: SitemapXML v.2

pokerdis:

After making suggested change, sitemap looks fine but after resubmitting to Google they still show errors that sitemap is unreadable.
Are you sure that Google handled the new files?

2 May 2013, 2:26 PM
#1291
theorangegrove avatar

theorangegrove

New Zenner

Join Date:
May 2013
Posts:
6
Plugin Contributions:
0

Re: SitemapXML v.2

Hi

Just trying to install this sitemap module, it says on the readme to install to the root of my store, now would that be in the public_html or www folder?

They both have the same folder structure so not sure which one to install to?

Thanks!

2 May 2013, 3:07 PM
#1292
theorangegrove avatar

theorangegrove

New Zenner

Join Date:
May 2013
Posts:
6
Plugin Contributions:
0

Re: SitemapXML v.2

ok im following the instructions for far, i have copied all of the files into the correct folders and created folders with the correct files inside where needed.
im up to:
5.1. IF your are running Zen-Cart 1.5.x. Run install-sitemapxml_only_for_zen-cart-1_5_0.sql (If you are running Zen Cart 1.3.9, SKIP THIS STEP!)

i am running 1.5.0, i dont understand what it means by run ? does it mean the install SQL Patches option under Tools when you log into admin?

Thanks!

2 May 2013, 4:24 PM
#1293
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: SitemapXML v.2

theorangegrove:

ok im following the instructions for far, i have copied all of the files into the correct folders and created folders with the correct files inside where needed.
im up to:
5.1. IF your are running Zen-Cart 1.5.x. Run install-sitemapxml_only_for_zen-cart-1_5_0.sql (If you are running Zen Cart 1.3.9, SKIP THIS STEP!)

i am running 1.5.0, i dont understand what it means by run ? **does it mean the install SQL Patches option under Tools when you log into admin?

**Thanks!

Yes....

19 May 2013, 12:32 AM
#1294
magz avatar

magz

Zen Follower

Join Date:
Apr 2013
Location:
north carolina
Posts:
110
Plugin Contributions:
0

Re: SitemapXML v.2

Hi Андрей - thanks for the great plugin! And hi DH010010 - thanks for the EZ Pages/Ceon URI Mapping fix!

A few questions:

  1. If I don't want certain sitemaps to be generated (e.g., manufacturers), can I simply delete the corresponding php files from includes/modules/pages/sitemapxml, or do I need to change any code anywhere? If the latter, what exactly do I need to do? (I'm not a programmer, but I can copy&paste or delete... :smile:)

  2. How can I control the priority levels for individual pages?

  3. How do I force the links in sitemaps to be https rather than http?

BTW, I'm using ZC 1.5.1 and SitemapXML 3.2.6.

Thank you!
Magz

19 May 2013, 12:45 AM
#1295
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: SitemapXML v.2

Hi Magz,

magz:

  1. If I don't want certain sitemaps to be generated (e.g., manufacturers), can I simply delete the corresponding php files from includes/modules/pages/sitemapxml
    Yes. If you have no manufacturers in the store, the sitemap for manufacturers will not be created.

magz:

  1. How can I control the priority levels for individual pages?
    No any way. Moreover it is not necessary, it has no any real effect.

magz:

  1. How do I force the links in sitemaps to be https rather than http?
    Use https to links in your shopping cart. Links in sitemap may not differ from the link in the store.
19 May 2013, 2:23 AM
#1296
magz avatar

magz

Zen Follower

Join Date:
Apr 2013
Location:
north carolina
Posts:
110
Plugin Contributions:
0

Re: SitemapXML v.2

Hi a_berezin,

No problem re priority levels. And...I was confused re https vs http, forgot I was looking at my testing site which is not https, all links are correct on the real website. On the other hand, I still need help with my first question.

I have manufacturers and the corresponding sitemap gets generated, but I don't want it (the manufacturer pages don't have any content and therefore don't add any value). Can I simply delete sitemapxml_manufacturers.php from includes/modules/pages/sitemapxml or, better yet, can I disable that sitemap by commenting out some code in that or another file? Which file and which lines of code?

Also, I have no reviews yet (website hasn't been launched yet), but the reviews sitemap also gets generated - it's blank except for 1 line of text. ("This XML file does not appear to have any style information associated with it. The document tree is shown below.") I'd like to disable this one temporarily (until I have some reviews). How do I do that?

Спасибо!
Magz

19 May 2013, 6:42 AM
#1297
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: SitemapXML v.2

magz:

I have manufacturers and the corresponding sitemap gets generated, but I don't want it (the manufacturer pages don't have any content and therefore don't add any value). Can I simply delete sitemapxml_manufacturers.php from includes/modules/pages/sitemapxml
I Already say: YES!!!
magz:

Also, I have no reviews yet (website hasn't been launched yet), but the reviews sitemap also gets generated - it's blank except for 1 line of text. ("[/COLOR]This XML file does not appear to have any style information associated with it. The document tree is shown below.") I'd like to disable this one temporarily (until I have some reviews).
Don't do that - empty files are ignored.

22 May 2013, 10:26 PM
#1298
jt3c avatar

jt3c

New Zenner

Join Date:
Jul 2007
Location:
Eugene, OR
Posts:
16
Plugin Contributions:
0

Re: SitemapXML v.2

Any help is appreciated. I've searched forums for two days and no help. I've got all the files in the right locations. One thing I notice is that the SitemapXML mod creates a url that inserts "/public_html/" into my web address between the domain name and all other address path items. Because of this when I click on the "online catalog' button in the admin area I also now get sent to the url with the added "public_html" in the path and the browser returns a 404 error.

I've installed this mod twice now and all I get is 404 error when I try to create/update the sitemap. Even when it does show up in my root directory after I re-install and turn the mod on, the xml file is blank and sending 404 messages when trying to access it from the Tools > SitemapXML panel to look at it. Again I'm thinking the url confusion?

When I put in what I think should be the correct url path to the file (olivariaccessories.com/sitemap.xml vs. ollivariaccessories/public_html/sitemap.xml which the control panel generates), I get this error:
XML Parsing Error: no element found
Location: http://olivariaccessories.com/sitemap.xml
Line Number 1, Column 1:

So, weird urls, 404 error from the admin panel and a blank xml when using what I think should be the right url with an XML parsing error. Maybe due to the Sitemap panel not able to find the sitemap.xml file, even though its right in the root directory, it can't actually write to it and create the map, therefore the parsing error when I go straight to the file via olivariaccessories.com/sitemap.xml?

the site is: www.olivariaccessories.com and I'm running zc v. 1.5.1

Can anyone a) help figure why the sitemap isn't being created properly and then recognized by a browser and b) what's the trip with putting into my urls "/public_html/", thus confusing my admin panel at the least?

Thanks,
JT

23 May 2013, 6:02 AM
#1299
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: SitemapXML v.2

jt3c:

One thing I notice is that the SitemapXML mod creates a url that inserts "/public_html/" into my web address between the domain name and all other address path items.
Check your admin/includes/configure.php file. Constant DIR_WS_CATALOG.

jt3c:

can't actually write to it and create the map, therefore the parsing error when I go straight to the file via olivariaccessories.com/sitemap.xml?

http://olivariaccessories.com/index.php?main_page=sitemapxml:

Sitemap Index

Include /home3/olivaria/public_html/sitemap/sitemapcategories.xml (http://olivariaccessories.com/sitemap/sitemapcategories.xml)
Include /home3/olivaria/public_html/sitemap/sitemapezpages.xml (http://olivariaccessories.com/sitemap/sitemapezpages.xml)
Include /home3/olivaria/public_html/sitemap/sitemapmainpage.xml (http://olivariaccessories.com/sitemap/sitemapmainpage.xml)
Include /home3/olivaria/public_html/sitemap/sitemapproducts.xml (http://olivariaccessories.com/sitemap/sitemapproducts.xml)
URL - http://olivariaccessories.com/sitemap.xml
Written 4 items (1055 bytes), Filesize: 1055 bytes
But this http://olivariaccessories.com/sitemap.xml is emty.

  1. Check the file permission for sitemap.xml.
  2. Check includes/configure.php constant DIR_FS_CATALOG.
23 May 2013, 7:23 PM
#1300
jt3c avatar

jt3c

New Zenner

Join Date:
Jul 2007
Location:
Eugene, OR
Posts:
16
Plugin Contributions:
0

Re: SitemapXML v.2

Thanks for the feedback!

So, I did change the admin/includes/configure.php file. Constant DIR_WS_CATALOG from '/public_html/' to '/'. I also changed the DIR_WS_HTTPS_CATALOG in the same fashion. Now these settings mirror those in the includes/configure.php file.

This seems to have fixed the problem with using the 'Online Catalog' button in the admin area. I can also now get a sitemap index (but no other info) when I go to http://olivariaccessories.com/sitemap.xml. When I go to
http://olivariaccessories.com/index....ge=sitemapxml: I get an info breakdown on each 'sub'-index that's listed and the sitemap index that appears on http://olivariaccessories.com/sitemap.xml.

So, it's now generating something on sitemap.xml so that seems OK.

But another new issue has cropped up. I lost the Tools > Sitemap XML control panel! I still have and can manipulate the Configuration > Sitemap XML panel

For these:

  1. Check the file permission for sitemap.xml.
    The permissions on sitemap.xml and sitemap folder are 777.
  1. Check includes/configure.php constant DIR_FS_CATALOG.
    I'm not sure what to do with #2.

Currently it is: ('DIR_FS_CATALOG', '/home3/olivaria/public_html/'). I tried changing it a) without public_html, b) using olivairaccessories.com in place of public_html, both resulted in being directed to the 'System Setup Required' page.

So, some good progress, Thanks for that!

My new questions:

  1. Which url should be submitted to the search engines: http://olivariaccessories.com/sitemap.xml. OR http://olivariaccessories.com/index....ge=sitemapxml:?
  1. How do I recover the lost Tools > Sitemap XML control panel? Does this have to do with the 'DIR_FS_CATALOG', issue which I'm a bit confused about?

Much gratitude for the mod and the quick response/support,
JT