Site map for Simpla 2+
Unpack them to the root of the site (the archive contains only new files, so we won't break anything).
Archive composition:
view/SitemapView.php
design/default/html/sitemap.tpl
Usually I make edits on the default base template, but you can copy the sitemap.tpl file to your template and add your own styling.
Open the file .htaccess at the root of the site and after the code
Code:
# Google sitemap
RewriteRule ^sitemap.xml?$ sitemap.php [L,QSA]
adding the code
Code:
# Sitemap
RewriteRule ^sitemap/?$ index.php?module=SitemapView [L,QSA]
And don't forget to create a new page in the menu with the sitemap address
This is our redirect to the short address http://[your_site]/sitemap
Information
Visitors who are in the group
Guests they can't download files.
Log in to the site under your
login and password or if you are a new user go through the process
registrations on the website.