RAC Posted March 22, 2018 Posted March 22, 2018 Oh @Jack_mcs Looks like we posted at the same time. Quote
Jack_mcs Posted March 22, 2018 Author Posted March 22, 2018 Great. Glad to hear you got it going. I hope it helps your site. :) Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
RAC Posted March 22, 2018 Posted March 22, 2018 Thanks for all your help Jack. Â Kind regards Shaun Quote
Flinspach Posted April 16, 2018 Posted April 16, 2018 Hi Jack, I used this version https://apps.oscommerce.com/wVVYf&google-xml-sitemap-seo-v-1-12&v=23 for an EDGE oscommerce shop. Sitemaps work, but links to products are like .../product_info.php?products_id=710 although Ultimate SEO urls are installed and active. What have I done wrong ? Martin  Quote
Jack_mcs Posted April 16, 2018 Author Posted April 16, 2018 Are the links rewritten when you click on them on the site? Are you sure you are using Ultimate SEO and not SEO 5 as a rewriter? You can tell by what the setting section in admin->Configuration says. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Flinspach Posted April 16, 2018 Posted April 16, 2018 Hi Jack, yes links are rewritten, but I am not shure which SEO rewriter is used. In admin / configutaion its titled "SEO URLs", first row ist named " Enable SEO URLs?"  Quote
Jack_mcs Posted April 16, 2018 Author Posted April 16, 2018 That name is for Ultimate SEO so that's good since this addon won't work with the other one. The only other thing I can think of that might be the problem is the php version you are using. That can be found in admin->Tools->Server Info. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Flinspach Posted April 16, 2018 Posted April 16, 2018 PHP Version is 5.6.34, so not the actual one but neither obsolete. Quote
Jack_mcs Posted April 16, 2018 Author Posted April 16, 2018 Please enable the diagnostic option in the settings, run the script manually and paste what is displayed here. You can erase the username and domain name if you want but leave everything else. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Flinspach Posted April 16, 2018 Posted April 16, 2018 this is the diagnostic output:   Opening  /homepages.../sitemapproducts.xml FS_CAT   /homepages.../ Server   https://www.welt-der-werbeartikel.de Save Path /homepages.../ WS_CAT   / Write /homepages.../sitemapproducts.xml Generated Google Product Sitemap Successfully Opening  /homepages.../sitemapcategories.xml FS_CAT   /homepages.../ Server   https://www.welt-der-werbeartikel.de Save Path /homepages.../ WS_CAT   / Write /homepages.../sitemapcategories.xml Generated Google Category Sitemap Successfully Opening  /homepages.../sitemapimages.xml FS_CAT   /homepages.../ Server   https://www.welt-der-werbeartikel.de Save Path /homepages.../ WS_CAT   / Write /homepages.../sitemapimages.xml Generated Google Images Sitemap Successfully Opening  /homepages.../sitemapmanufacturers.xml FS_CAT   /homepages.../ Server   https://www.welt-der-werbeartikel.de Save Path /homepages.../ WS_CAT   / Write /homepages.../sitemapmanufacturers.xml Generated Google Manufacturers Sitemap Successfully Opening  /homepages.../sitemappages.xml FS_CAT   /homepages.../ Server   https://www.welt-der-werbeartikel.de Save Path /homepages.../ WS_CAT   / Write /homepages.../sitemappages.xml Generated Google Pages Sitemap Successfully Google Sitemap Specials not generated - no specials found! ERROR: Google Topics Sitemap Generation FAILED! Opening  /homepages.../sitemapindex.xml FS_CAT   /homepages.../ Server   https://www.welt-der-werbeartikel.de Save Path /homepages.../ WS_CAT   / Write /homepages.../sitemapindex.xml Generated Google Sitemap Index Successfully Array (    [QUERY] => Array        (            [PRODUCTS] => Array                (                    [STATUS] => success                    [NUM_ROWS] => 714                )            [CATEOGRY] => Array                (                    [STATUS] => success                    [NUM_ROWS] => 52                )            [IMAGES] => Array                (                    [STATUS] => success                    [NUM_ROWS] => 714                )            [MANUFACTURERS] => Array                (                    [STATUS] => success                    [NUM_ROWS] => 88                )            [SPECIALS] => Array                (                    [STATUS] => success                    [NUM_ROWS] => 0                )            [TOPICS] => Array                (                    [STATUS] => false                    [NUM_ROWS] => 0                )        )    [SAVE_FILE_XML] => Array        (            [0] => Array                (                    [file] => /homepages.../sitemapproducts.xml                    [status] => success                    [file_exists] => true                )            [1] => Array                (                    [file] => /homepages.../sitemapcategories.xml                    [status] => success                    [file_exists] => true                )            [2] => Array                (                    [file] => /homepages.../sitemapimages.xml                    [status] => success                    [file_exists] => true                )            [3] => Array                (                    [file] => /homepages.../sitemapmanufacturers.xml                    [status] => success                    [file_exists] => true                )            [4] => Array                (                    [file] => /homepages.../sitemappages.xml                    [status] => success                    [file_exists] => true                )            [5] => Array                (                    [file] => /homepages.../sitemapindex.xml                    [status] => success                    [file_exists] => true                )        ) ) Completed! Quote
Jack_mcs Posted April 16, 2018 Author Posted April 16, 2018 I looked at a few of the products listed in the map file but they all say not found. I'm wondering if the url in your configure file is correct or not. If you write down the date and time of the sitemapproducts.xml file in the shops root directory, run the script manually and look at the date and time again, does it change? Also, is this a Windows server? Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Flinspach Posted April 16, 2018 Posted April 16, 2018 When I run the googlesitemap/index.php the time of the xml files in the root directory changes. The product links in the sitemapproducts.xml exist, e.g. the first one in sitemapproducts.xml is https://www.welt-der-werbeartikel.de/sitemapproducts.xml which changes to https://www.welt-der-werbeartikel.de/klick-klack-dose-mini-p-710.html by loading in the shop. The server uses Linux.  Im checking the configure files now, cause I'm using different urls, e.g. for testing. Quote
Flinspach Posted April 16, 2018 Posted April 16, 2018 Checked the configure files, I've seen nothing wrong, as far as i see both files are using the right paths.  What products with wrong links in the map file have you found ? They all look like https://www.welt-der-werbeartikel.de/product_info.php?products_id=xxx which is good for most numbers < 1000. I Think they are right, but not rewritten by Ultimate SEO. Quote
Jack_mcs Posted April 17, 2018 Author Posted April 17, 2018 The first link in the feed is https://www.welt-der-werbeartikel.de/product_info.php?products_id=710 When I visit that page, I get a product not found message. The url changes to https://www.welt-der-werbeartikel.de/-p-710.html which, while not correct, should work. When I click on the link you posted above for the same product, I also get a not found page. I think the problem is, in my case at least, that your default language is not English and that part is not setup. Is that the case? If I visit https://www.welt-der-werbeartikel.de/-p-710.html?language=de it loads the page correct. A common problem with sites that use languages other than English is that they leave the files in place that come with the package. If you are going to have English as a language for your customers, then you need to make sure there is an entry for it in admin and the files in its directory are up-to-date, with regards to changes you have made. If you do not intend to offer it as a language, then you need to delete the entry for it in admin and the files. Please do one of those and then see if the script works.cc it loads the cc  Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Flinspach Posted April 17, 2018 Posted April 17, 2018 Hi Jack, I'm back now you are right, I use german as standard language, but english ist still an entry in the admin. Some english files were missing, which I added. I hope I got them all. I've done 1. test with standard german + english entry :https://www.welt-der-werbeartikel.de/product_info.php?products_id=710 : okhttps://www.welt-der-werbeartikel.de/-p-710.html: okhttps://www.welt-der-werbeartikel.de/-p-710.html?language=de : okhttps://www.welt-der-werbeartikel.de/product_info.php?products_id=710&language=de : okhttps://www.welt-der-werbeartikel.de/product_info.php?products_id=710&language=en : ok All notations worked ! 2. test with standard german / english entry in admin deleted - english files still exist:https://www.welt-der-werbeartikel.de/product_info.php?products_id=710 : okhttps://www.welt-der-werbeartikel.de/-p-710.html : okhttps://www.welt-der-werbeartikel.de/-p-710.html?language=de : okhttps://www.welt-der-werbeartikel.de/-p-710.html?language=en : okhttps://www.welt-der-werbeartikel.de/product_info.php?products_id=710&language=de : okhttps://www.welt-der-werbeartikel.de/product_info.php?products_id=710&language=en : ok All notations worked ! All output in german. Perhaps you've got no content as all product texts are online in german only. Does this work now ? Nevertheless the sitemap links are still like .../product_info.php?products_id=710  Quote
Jack_mcs Posted April 17, 2018 Author Posted April 17, 2018 That fixed the problem for me. When I click on one of the links, the page is displayed correctly. And if I click on one of the non-rewritten links, the code redirects to the rewritten one. So that means Ultimate SEO is working correctly. But the output of the diagnostic is not correct. It should be showing links to the complete map files. I don't know why that is. My guess is that it still has to do with the language but there's no way for me to know from here. The only thing I can think to check is to make sure German is the default language in the admin setting. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Flinspach Posted April 17, 2018 Posted April 17, 2018 Fine. German is the only language and default. I wonder because SEO urls works and sitemap not, thereby both tools use the same tep_href_link function and in the same manner ? Thank you Jack, I probably try another addon ... Quote
valquiria23 Posted April 19, 2018 Posted April 19, 2018 Dear @Jack_mcs Today I install the google-xml-sitemap addon. The installation went well and I see that the XML files are generated. But when I run the file in a web browser:http://www.mysite.com/catalog/sitemapmanufacturers.xml or other .xml files I get the following error: Google Sitemap http://www.mysite.com.uy/catalog/sitemapmanufacturers.xml Number of sitemaps in this Google sitemap index: 0 Click on the table headers to change sorting. Checking the file sitemapmanufacturers.xml I see that it was generated correctly: <? xml version = "1.0" encoding = "UTF-8"?> <? xml-stylesheet type = "text / xsl" href = "gss.xsl"?> <urlset xmlns = "http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc> http://www.mysite.com/catalog/warner-m-3.html </ loc> <lastmod> 2018-03-20 </ lastmod> <changefreq> weekly </ changefreq> <priority> 0.5 </ priority> </ url> ..... Changing inside http://www.mysite.com.uy/catalog/sitemapmanufacturers.xml<urlset xmlns = "http://www.sitemaps.org/schemas/sitemap/0.9"> to<urlset xmlns = "http://www.google.com/schemas/sitemap/0.9"> The problem is solved, and the web browser shows: Google Sitemap http://www.mysite.com/catalog/sitemapproducts.xml Number of URLs in this Google Sitemap: 29 Click on the table headers to change sorting. Sitemap URL Last modification date Change freq. Priorityhttp://www.mysite.com/catalog/matrox-g200-mms-p-1.html 2018-04-19 weekly 1.0 ...... Do you know what the problem is? and how can I make the XMLs have all <urlset xmlns = "http://www.google.com/schemas/sitemap/0.9"> and no <urlset xmlns = "http://www.sitemaps.org/schemas/sitemap/0.9"> Best regards. Valqui Quote Community Oscommerce fan  You'll find the latest osC community version here. Â
Jack_mcs Posted April 19, 2018 Author Posted April 19, 2018 I suggest you change it back. The google schemas, while still valid, is not used by other search engines. The reason the page doesn't display in the browser is because the xml script used to display it doesn't work with the sitemaps schemas. In the next version (not released) I have removed that completely since it is not needed. Even in yours, the way it was, it was fine because the search engines look at the actual file, not the displayed text. But if you want to keep it how you changed it, be sure to add a sitemaps entry to the robots file to let the other search engines know it is there. Â valquiria23 1 Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
douglaswalker Posted May 8, 2018 Posted May 8, 2018 Hi Jack, just updated my site Bootstrap Gold to php7 ... I get a 500 error when i run googlesitemaps is there any changes required for php7 I am using the version before the filename changes Doug Quote
Jack_mcs Posted May 8, 2018 Author Posted May 8, 2018 I know the script won't work with V7 but haven't had time to look at it so I don't have an answer at this point. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
douglaswalker Posted May 8, 2018 Posted May 8, 2018 Thank Jack just wanted to check that it was not another issue much appreciated Doug  Quote
Psytanium Posted May 17, 2018 Posted May 17, 2018 (edited) Hello, I have 1 problem in 3 xml files in Google, Error: "webmaster tools, Your Sitemap does not contain any URLs. Please validate and resubmit your Sitemap." Â in files: /sitemapproducts.xml /sitemappages.xml /sitemappages.xml Edited May 17, 2018 by Psytanium Quote
Jack_mcs Posted May 17, 2018 Author Posted May 17, 2018 The first one is the important one. Have you looked at the file to see if it is empty? If it is, then the script is not working correctly. The other two are the same. The pages sitemap won't populate unless you have that option enabled in the settings. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Demitry Posted May 18, 2018 Posted May 18, 2018 (edited) hi Jack, @Jack_mcs I installed this contribution on a subdomain with osC v2.3.4 BS Edge, PHP7.1.7 I set in the configuration to allow for the various sitemap generation, took out the days time limit on manual regeneration, added my ip for Manual IP and Secure IP, ..and enabled the Diagnostic Output. However, I get nothing, just a blank page when I go to ..../googlesitemap/index.php There is nothing in my error log either. Any thoughts? This is the only error I get on the actual sitemap page. See image below.  Edited May 18, 2018 by Demitry Quote osCommerce: made for programmers, ...because store owners do not want to be programmers. https://trends.google.com/trends/explore?date=all&geo=US&q=oscommerce
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.