@ mc12345678
Thank you very much for assistance!:smile:
I did a backup, and d/l it to my PC.
As I don't have much more knowledge in this field than a bear too, and I certainly don't want to have to make a "restore", I asked my son (software engineer) to take a look. He is not working in this field, but has more knowledge and... courage compared to me...
It seems that during the time, the updates, the "mobile issue" etc, the original sitemap module was truncated, and he fixed it today.
However, installing the new one... well, even he had no guts doing it. He told me that many files MAY (not "must" - just "may") change, for example SQL files. Therefore, he restored the original one.
Now I have the following changes:
A new folder named sitemap. Inside only one file: ht
@copyright Copyright 2003-2010 Zen Cart Development Team
@version $Id: .htaccess 16111 2010-04-29 22:39:02Z drbyte $
This is used with Apache WebServers
The following blocks direct HTTP requests to all filetypes in this directory recursively, except certain approved exceptions
It also prevents the ability of any scripts to run. No type of script, be it PHP, PERL or whatever, can normally be executed if ExecCGI is disabled.
Will also prevent people from seeing what is in the dir. and any sub-directories
For this to work, you must include either 'All' or at least: 'Limit' and 'Indexes' parameters to the AllowOverride configuration in your apache/conf/httpd.conf file.
Additionally, if you want the added protection offered by the OPTIONS directive below, you'll need to add 'Options' to the AllowOverride list, if 'All' is not specified.
Example:
#<Directory "/usr/local/apache/htdocs">
AllowOverride Limit Options Indexes
#</Directory>
###############################
deny everything
<FilesMatch ".*">
Order Allow,Deny
Deny from all
</FilesMatch>
but now allow just certain necessary files:
<FilesMatch ".*.(xml|xml.gz)$" >
Order Allow,Deny
Allow from all
</FilesMatch>
IndexIgnore /
NOTE: If you want even greater security to prevent hackers from running scripts in this folder, uncomment the following line (if your hosting company will allow you to use OPTIONS):
OPTIONS -Indexes -ExecCGI
I also got 5 additional files (in public html):
sitemap.xml
sitemapezpages.xml
sitemapmainpage.xml
sitemapproducts.xml
sitemapreviews.xml
The sitemap.xml contains the following:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://www.petrutech.com/includes/templates/template_default/css/gss.xsl"?>
<sitemapindex 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/siteindex.xsd"
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<!-- generator="Zen-Cart SitemapXML" 3.2.6 17.06.2012 16:13 -->
<!-- sitemap.xml created at 2016-07-12 04:18:34 -->
<sitemap>
<loc>https://www.petrutech.com/sitemapcategories.xml</loc>
<lastmod>2016-07-12</lastmod>
</sitemap>
<sitemap>
<loc>https://www.petrutech.com/sitemapezpages.xml</loc>
<lastmod>2016-07-12</lastmod>
</sitemap>
<sitemap>
<loc>https://www.petrutech.com/sitemapmainpage.xml</loc>
<lastmod>2016-07-12</lastmod>
</sitemap>
<sitemap>
<loc>https://www.petrutech.com/sitemapproducts.xml</loc>
<lastmod>2016-07-12</lastmod>
</sitemap>
<sitemap>
<loc>https://www.petrutech.com/sitemapreviews.xml</loc>
<lastmod>2016-07-12</lastmod>
</sitemap>
</sitemapindex>
If I type: https://www.petrutech.com/sitemap.xml it shows the links to the above files.
If I type https://www.petrutech.com/sitemap - I get only a 403 error.
As well, google still sends me the 406 error.
Any suggestion please?
Thank you!