Regionalism in Bitrix APRO Next. How to create sitemap.xml?

Hello!
There is a website (online store), the decision Aspro:Next
Originally worked in same domain site.ru
Everything worked without errors, sitemap including everything was OK.
Ie at site.ru/sitemap.xml were given the right card.

Recently it was decided to make the regional.
Mode on subdomains gorod.site.ru

Everything was done according to instructions, regionalism works, but .... (official manual - https://aspro.ru/docs/course/course36/chapter0896/...

After activation of regionality and all settings were running the rebuild Sitemaps and robots for each of the subdomains in the written instructions, making this procedure - https://aspro.ru/docs/course/course36/lesson901/?L...

https://take.ms/n7UHE

Map files copied to each region in the desired folder (screenshot attached)

https://take.ms/Geky0

After this procedure, the root folder of the site was created a few files with the file extension .php (screen attached)
But! They have zero size, they are all empty!

https://take.ms/ZAtw6

Also changed the htaccess file (as it should be), it should now depending on the subdomain to give the correct sitemap

Options-Indexes
An ErrorDocument 404 /404.php


<IfModule mod_php5.c>
 php_flag allow_call_time_pass_reference 1
 php_flag session.use_trans_sid is off


 #php_value display_errors 1


 #php_value mbstring.internal_encoding UTF-8
</IfModule>


<IfModule mod_rewrite.c>


 Options +FollowSymLinks
 RewriteEngine On


 # ASPRO_SITEMAP_sitemap_index Serve sitemap.xml with sitemap.php only if the latter exists
 RewriteCond %{REQUEST_FILENAME} sitemap_index.xml
 RewriteCond %{DOCUMENT_ROOT}/sitemap_index.php -f
 RewriteRule ^(.*)$ /sitemap_index.php [L]


 # ASPRO_SITEMAP_sitemap_iblock_9 Serve sitemap.xml with sitemap.php only if the latter exists
 RewriteCond %{REQUEST_FILENAME} sitemap_iblock_9.xml
 RewriteCond %{DOCUMENT_ROOT}/sitemap_iblock_9.php -f
 RewriteRule ^(.*)$ /sitemap_iblock_9.php [L]


 # ASPRO_SITEMAP_sitemap_iblock_3 Serve sitemap.xml with sitemap.php only if the latter exists
 RewriteCond %{REQUEST_FILENAME} sitemap_iblock_3.xml
 RewriteCond %{DOCUMENT_ROOT}/sitemap_iblock_3.php -f
 RewriteRule ^(.*)$ /sitemap_iblock_3.php [L]


 # ASPRO_SITEMAP_sitemap_iblock_22 Serve sitemap.xml with sitemap.php only if the latter exists
 RewriteCond %{REQUEST_FILENAME} sitemap_iblock_22.xml
 RewriteCond %{DOCUMENT_ROOT}/sitemap_iblock_22.php -f
 RewriteRule ^(.*)$ /sitemap_iblock_22.php [L]


 # ASPRO_SITEMAP_sitemap_iblock_19 Serve sitemap.xml with sitemap.php only if the latter exists
 RewriteCond %{REQUEST_FILENAME} sitemap_iblock_19.xml
 RewriteCond %{DOCUMENT_ROOT}/sitemap_iblock_19.php -f
 RewriteRule ^(.*)$ /sitemap_iblock_19.php [L]


 # ASPRO_SITEMAP_sitemap_iblock_18 Serve sitemap.xml with sitemap.php only if the latter exists
 RewriteCond %{REQUEST_FILENAME} sitemap_iblock_18.xml
 RewriteCond %{DOCUMENT_ROOT}/sitemap_iblock_18.php -f
 RewriteRule ^(.*)$ /sitemap_iblock_18.php [L]


 # ASPRO_SITEMAP_sitemap_iblock_17 Serve sitemap.xml with sitemap.php only if the latter exists
 RewriteCond %{REQUEST_FILENAME} sitemap_iblock_17.xml
 RewriteCond %{DOCUMENT_ROOT}/sitemap_iblock_17.php -f
 RewriteRule ^(.*)$ /sitemap_iblock_17.php [L]


 # ASPRO_SITEMAP_sitemap_iblock_15 Serve sitemap.xml with sitemap.php only if the latter exists
 RewriteCond %{REQUEST_FILENAME} sitemap_iblock_15.xml
 RewriteCond %{DOCUMENT_ROOT}/sitemap_iblock_15.php -f
 RewriteRule ^(.*)$ /sitemap_iblock_15.php [L]


 # ASPRO_SITEMAP_sitemap_iblock_14 Serve sitemap.xml with sitemap.php only if the latter exists
 RewriteCond %{REQUEST_FILENAME} sitemap_iblock_14.xml
 RewriteCond %{DOCUMENT_ROOT}/sitemap_iblock_14.php -f
 RewriteRule ^(.*)$ /sitemap_iblock_14.php [L]


 # ASPRO_SITEMAP_sitemap_iblock_12 Serve sitemap.xml with sitemap.php only if the latter exists
 RewriteCond %{REQUEST_FILENAME} sitemap_iblock_12.xml
 RewriteCond %{DOCUMENT_ROOT}/sitemap_iblock_12.php -f
 RewriteRule ^(.*)$ /sitemap_iblock_12.php [L]


 # ASPRO_SITEMAP_sitemap_iblock_11 Serve sitemap.xml with sitemap.php only if the latter exists
 RewriteCond %{REQUEST_FILENAME} sitemap_iblock_11.xml
 RewriteCond %{DOCUMENT_ROOT}/sitemap_iblock_11.php -f
 RewriteRule ^(.*)$ /sitemap_iblock_11.php [L]


 # ASPRO_SITEMAP_sitemap_iblock_10 Serve sitemap.xml with sitemap.php only if the latter exists
 RewriteCond %{REQUEST_FILENAME} sitemap_iblock_10.xml
 RewriteCond %{DOCUMENT_ROOT}/sitemap_iblock_10.php -f
 RewriteRule ^(.*)$ /sitemap_iblock_10.php [L]


 # ASPRO_SITEMAP_sitemap_forum_1 Serve sitemap.xml with sitemap.php only if the latter exists
 RewriteCond %{REQUEST_FILENAME} sitemap_forum_1.xml
 RewriteCond %{DOCUMENT_ROOT}/sitemap_forum_1.php -f
 RewriteRule ^(.*)$ /sitemap_forum_1.php [L]


 # ASPRO_SITEMAP_sitemap_files Serve sitemap.xml with sitemap.php only if the latter exists
 RewriteCond %{REQUEST_FILENAME} sitemap_files.xml
 RewriteCond %{DOCUMENT_ROOT}/sitemap_files.php -f
 RewriteRule ^(.*)$ /sitemap_files.php [L]


 # ASPRO_SITEMAP_sitemap_errors Serve sitemap.xml with sitemap.php only if the latter exists
 RewriteCond %{REQUEST_FILENAME} sitemap_errors.xml
 RewriteCond %{DOCUMENT_ROOT}/sitemap_errors.php -f
 RewriteRule ^(.*)$ /sitemap_errors.php [L]


 # ASPRO_SITEMAP_sitemap Serve sitemap.xml with sitemap.php only if the latter exists
 RewriteCond %{REQUEST_FILENAME} sitemap.xml
 RewriteCond %{DOCUMENT_ROOT}/sitemap.php -f
 RewriteRule ^(.*)$ /sitemap.php [L]


 # ASPRO_ROBOTS Serve sitemap.xml with sitemap.php only if the latter exists
 RewriteCond %{REQUEST_FILENAME} robots.txt
 RewriteCond %{DOCUMENT_ROOT}/robots.php -f
 RewriteRule ^(.*)$ /robots.php [L]


 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-l
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteCond %{REQUEST_FILENAME} !/bitrix/urlrewrite.php$
 RewriteRule ^(.*)$ /bitrix/urlrewrite.php [L]
 RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>


<IfModule mod_dir.c>
 DirectoryIndex index.php index.html
</IfModule>


<IfModule mod_expires.c>
 ExpiresActive on
 ExpiresByType image/jpeg "access plus 3 day"
 ExpiresByType image/gif "access plus 3 day"
</IfModule>


As a result, now when you open site.ru/sitemap.XML or site.ru/sitemap.PHP or gorod.site.ru/sitemap.XML

opens a blank page, so htaccess gives sitemap.PHP (and they are empty)

Actually the question ...

Tell me please, where may be a bug, where to look? I think I have searched and the problem is not resolved.

Thanks in advance for any help!
April 4th 20 at 13:04
1 answer
April 4th 20 at 13:06
If the activity of Aspro solution is, go to the support of this product, if you do not have to buy the extension

Find more questions by tags 1C-BitrixCreating a site map