Zen Cart Logo

SitemapXML v.2

Views: 613,204

Results 1,881 to 1,900 of 2,226
13 Mar 2018, 9:09 PM
#1881
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

SitemapXML v.2

and what would cause the sitemaps to be written outside of the sitemap folder? Never seen that happen since the change to the sitemap folder. Upgraded 1.5.5f site with new sitemap installation.

14 Mar 2018, 2:46 PM
#1882
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: SitemapXML v.2

I don't know how that happened but I uninstalled and now it's working correctly.

16 Mar 2018, 9:51 AM
#1883
giancalr avatar

giancalr

Zen Follower

Join Date:
Jul 2010
Location:
L'Aquila
Posts:
113
Plugin Contributions:
1

Re: SitemapXML v.2

Hi, by making the sitemap the links to the images are generated large ones, which can not be read, we would like to generate those loaded in the original "images" folder, where we can make the change? Thank you.

3 Jun 2018, 4:30 AM
#1884
gamethrall avatar

gamethrall

New Zenner

Join Date:
Aug 2016
Posts:
20
Plugin Contributions:
0

Re: SitemapXML v.2

I'm probably missing something obvious, but what populates the files:

sitemapxml_cats2man.php
sitemapxml_news.php

When I generate them, they're empty so that's no help.

7 Jun 2018, 3:33 PM
#1885
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Re: SitemapXML v.2

Strange issue here with ZenCart 1.5.5f. Getting the following error in /logs/ when ANY admin page is loaded:

[07-Jun-2018 11:14:53 America/New_York] Request URI: xxx/orders.php, IP address: 72.194.64.174
#1  trigger_error() called at [/xxx/includes/functions/plugin_support.php:41]
#2  plugin_version_check_for_updates() called at [/xxx/includes/init_includes/init_sitemapxml.php:167]
#3  require(/xxx/includes/init_includes/init_sitemapxml.php) called at [/xxx/includes/autoload_func.php:48]
#4  require(/xxx/includes/autoload_func.php) called at [/xxx/includes/application_top.php:171]
#5  require(/xxx/includes/application_top.php) called at [/xxx/orders.php:10]

[07-Jun-2018 11:14:53 America/New_York] PHP Notice:  CURL error checking plugin versions: [ in /xxx/includes/functions/plugin_support.php on line 41

Commenting out the following code makes the error go away:
xxx\includes\init_includes\init_sitemapxml.php

// Version Checking
if ($zencart_com_plugin_id != 0) {
  $new_version_details = plugin_version_check_for_updates($zencart_com_plugin_id, $current_version);
  if ($_GET['gID'] == $configuration_group_id && $new_version_details != FALSE) {
      $messageStack->add("Version ".$new_version_details['latest_plugin_version']." of " . $new_version_details['title'] . ' is available at <a href="' . $new_version_details['link'] . '" target="_blank">[Details]</a>', 'caution');
  }
}
9 Aug 2018, 3:13 PM
#1886
hivtop avatar

hivtop

New Zenner

Join Date:
Feb 2016
Location:
nm
Posts:
30
Plugin Contributions:
0

Re: SitemapXML v.2

my config:
zencart v1.5.4
Sitemap XML v 3.9.5
Apache v2.4.6
php 5.4.23
perl 5.16.3

First off this is a Great addon. It's fast and lists all products etc. Thank you for making and sharing it....

the problem I'm having is with the products w/images sitemap. The links are all soft 404 error pages with "Sorry, the product was not found." the link looks like this:

https://www.customshopping.com/index.php?main_page=product_info&products_id=117

the correct link looks like this...

https://www.customshopping.com/index.php?main_page=product_info&cPath=4_159&products_id=117

We have almost 3,000 products so fixing each link would be very time consuming to say the least.. LOL

I have done the install-uninstall-install thingy but it's still the same outcome.

If anyone can point me to where I need to adjust the code or add a link to (virtual host) for the cgi/php file or whatever it takes to produce full correct links, I would be very thankful.

PS.. I am a hardware person not a coder so please be kind... LOL

9 Aug 2018, 4:13 PM
#1887
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7
hivtop avatar

hivtop

New Zenner

Join Date:
Feb 2016
Location:
nm
Posts:
30
Plugin Contributions:
0

Re: SitemapXML v.2

ok I searched through
240 directories 8152 files (skipped images.. Lol) and in sitemapxml_install.php on online 63 I found this, which I changed to true..

'SITEMAPXML_PRODUCTS_USE_CPATH' => array(CFGTITLE_SITEMAPXML_PRODUCTS_USE_CPATH, 'true', CFGDESC_SITEMAPXML_PRODUCTS_USE_CPATH, 32, null, 'zen_cfg_select_option(array(\'true\', \'false\'),'),
'SITEMAPXML_PRODUCTS_IMAGES' =>

now when you bring the xml up in a browser window which loads the "/includes/templates/template_default/css/gss.xsl" and click a link you get the product page... but if you copy and paste the raw link, which still has the & in it... it opens a "product not found" page

so 2 questions...

  1. did I miss the correct sitemap config file?? if so can you tell me it's name??
  2. can the sitemap be built WITH the CPATH in the raw link or does it only add it when the gss.xsl template is used?
10 Aug 2018, 12:05 AM
#1889
hivtop avatar

hivtop

New Zenner

Join Date:
Feb 2016
Location:
nm
Posts:
30
Plugin Contributions:
0

Re: SitemapXML v.2

ok I searched through
240 directories 8152 files (skipped images.. Lol) and in sitemapxml_install.php on online 63 I found this, which I changed to true..

'SITEMAPXML_PRODUCTS_USE_CPATH' => array(CFGTITLE_SITEMAPXML_PRODUCTS_USE_CPATH, 'true', CFGDESC_SITEMAPXML_PRODUCTS_USE_CPATH, 32, null, 'zen_cfg_select_option(array(\'true\', \'false\'),'),
'SITEMAPXML_PRODUCTS_IMAGES' =>

now when you bring the xml up in a browser window which loads the "/includes/templates/template_default/css/gss.xsl" and click a link you get the product page... but if you copy and paste the raw link, which still has the & in it... it opens a "product not found" page

so 2 questions...

  1. did I miss the correct sitemap config file?? if so can you tell me it's name??
  2. can the sitemap be built WITH the CPATH in the raw link or does it only add it when the gss.xsl template is used?
10 Aug 2018, 12:23 AM
#1890
hivtop avatar

hivtop

New Zenner

Join Date:
Feb 2016
Location:
nm
Posts:
30
Plugin Contributions:
0

Re: SitemapXML v.2

sorry my last post popped up twice.. my bad

10 Aug 2018, 3:34 AM
#1891
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: SitemapXML v.2

hivtop:

so 2 questions...

  1. did I miss the correct sitemap config file?? if so can you tell me it's name??
  2. can the sitemap be built WITH the CPATH in the raw link or does it only add it when the gss.xsl template is used?

In Admin configuration/Sitemap XML is all the configurations for what you are asking for.. You don't need to edit code to get them, just change the settings there... If for some reason the configuration page is not on your site admin, read back some posts, I think someone posted a fix...

10 Aug 2018, 4:24 PM
#1892
hivtop avatar

hivtop

New Zenner

Join Date:
Feb 2016
Location:
nm
Posts:
30
Plugin Contributions:
0

Re: SitemapXML v.2

Daaaaa... never thought to look in the store config tab.... must be a case of "Not seeing the forest cuz there are to many trees in the way"

got it working the way I need...

Thank you

3 Sep 2018, 11:46 PM
#1893
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: SitemapXML v.2

1.5.5f sitemapxml v3.9.5

Likely a question that doesn't need to be asked but by enabling 'Generate Products Image tags for products urls' am I right in assuming this will tell the bots where the images are for a particular product url generated in sitemap/sitemapproducts.xml ? ... will this then likely increase the number of images that get indexed in WMT? (always well down by comparison to products)

cheers, Mike

13 Sep 2018, 5:54 PM
#1894
kwright avatar

kwright

Zen Follower

Join Date:
Nov 2004
Posts:
355
Plugin Contributions:
0

Re: SitemapXML v.2

Greetings,

Adding SitemapXML v3.9.5 to ZC 1.5.4.

In the README.md under "Deleting OLD copies of this mod (circa 1.3.8 - such as version 2.1.0, which was around for a number of years)"

Does this mean I can delete these files now from SitemapXML v3.9.5 BEFORE I install into ZC 1.5.4?

Thanks :D

9 Oct 2018, 6:09 AM
#1895
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: SitemapXML v.2

v1.5.5f PHP 7.1 plugin version 3.9.5

getting myDEBUG error as follows (on 4 sites) - looking for assistance on how to fix this - please.

[09-Oct-2018 00:00:27 Australia/Melbourne] Request URI: /index.php?main_page=sitemapxml\&rebuild=yes\&ping=yes, IP address: 223.130.27.110
#1  mysqli_free_result() called at [/home/treeofl3/public_html/includes/modules/pages/sitemapxml/sitemapxml_products.php:122]
#2  include(/home/treeofl3/public_html/includes/modules/pages/sitemapxml/sitemapxml_products.php) called at [/home/treeofl3/public_html/includes/templates/template_default/sitemapxml/tpl_main_page.php:21]
#3  require(/home/treeofl3/public_html/includes/templates/template_default/sitemapxml/tpl_main_page.php) called at [/home/treeofl3/public_html/index.php:97]

[09-Oct-2018 00:00:27 Australia/Melbourne] PHP Warning:  mysqli_free_result() expects parameter 1 to be mysqli_result, null given in /home/treeofl3/public_html/includes/modules/pages/sitemapxml/sitemapxml_products.php on line 122

cheers,
Mike

9 Oct 2018, 9:32 AM
#1896
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: SitemapXML v.2

shags38:

v1.5.5f PHP 7.1 plugin version 3.9.5

getting myDEBUG error as follows (on 4 sites) - looking for assistance on how to fix this - please.

[09-Oct-2018 00:00:27 Australia/Melbourne] Request URI: /index.php?main_page=sitemapxml&rebuild=yes&ping=yes, IP address: 223.130.27.110
#1 mysqli_free_result() called at [/home/treeofl3/public_html/includes/modules/pages/sitemapxml/sitemapxml_products.php:122]
#2 include(/home/treeofl3/public_html/includes/modules/pages/sitemapxml/sitemapxml_products.php) called at [/home/treeofl3/public_html/includes/templates/template_default/sitemapxml/tpl_main_page.php:21]
#3 require(/home/treeofl3/public_html/includes/templates/template_default/sitemapxml/tpl_main_page.php) called at [/home/treeofl3/public_html/index.php:97]

[09-Oct-2018 00:00:27 Australia/Melbourne] PHP Warning: mysqli_free_result() expects parameter 1 to be mysqli_result, null given in /home/treeofl3/public_html/includes/modules/pages/sitemapxml/sitemapxml_products.php on line 122

> 
> cheers,
> Mike
See this post for solution: <https://www.zen-cart.com/showthread.php?126810-SitemapXML-v-2&p=1339806#post1339806>
19 Oct 2018, 2:12 AM
#1899
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: SitemapXML v.2

lloyd_borrett:

Any thoughts been given to adding Image details to the XML Sitemaps?

See https://support.google.com/webmasters/answer/178636

Great question Lloyd !! - I asked a similar question maybe a couple of years back with no definitive response.

cheers,
Mike

14 Nov 2018, 5:54 AM
#1900
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: SitemapXML v.2

v1.5.5f PHP 7.1

Images are not being submitted in the sitemap submissions, i.e. not showing as having been submitted in WMT. One remaining site I have that is still 1.5.1 the images are being submitted (sitemapxml v3.2.6).

So the question is has anything changed in sitemapxml version 3.2.9 that excludes images? or would PHP 7.1. have any effect? If not then where should I look to see why images are not being submitted? what file(s)? ... no myDEBUG error reports are generated.

thanks, Mike