1. Go to this page and download the library: Download enlitepro/enlite-sitemap library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
[
'EnliteSitemap' => [
'common' => [
// The name site map or site map index (if some files)
'index_file' => 'sitemap.xml',
// The name of site map. Use when a site map is some files
'non_index_file' => 'sitemap%d.xml',
'public_path' => 'public',
'limit_url_in_file' => 50000,
'dynamic_pages' => [],
],
// URL for all links in site map
'url' => [
'host' => 'my.site.com',
'port' => 80,
'scheme' => 'http',
]
],
]
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.