Currency
 American Dollar   British Pound 

3.2. How to build your Site Map

Want to build a Site Map on your website? Now ViArt Shop allows you to create HTML and XML Site Maps. See how to do it below.
3.2. How to build your Site Map
Prev Index Next

Site Map is rather important feature for every shop owner. ViArt Shop also allows you to create a Site Map for your users.

Configuration of a Site Map

To configure the Site Map please go to Administration > System > Global Settings > Site Map tab. You can tick off the appropriate checkboxes, like: Show custom pages, Show product categories, etc. These are options which you select to display for your HTML Site Map.

You can view your Site Map by adding site_map.php at the end of your site URL, like: your_site.com/site_map.php.

To add your Site Map to the footer

To add a site map to your footer please go to Administration > CMS > Custom Page, add New Page, enter 'site_map' as the Page Code, then tick off the ' Show Link in Footer' checkbox and specify 'site_map.php' in the 'Redirect to URL' field, like on the sample below:

Save this custom page and site map will be added to your footer.

To add your Site Map to the header menu

In order to add a site map to the header menu, go to Administration > CMS > Site Layout > Site Navigation for your Active layout and click to add more links. Enter the title in the ‘Title Menu’ field and specify the path to your site map as site_map.php. Finally, check off the ‘Show for logged’ or ‘Non-logged’ users and save the changes. Now your site map will be shown in the header menu.

Generating XML Site Map

By locating an .xml file with the site map on your web server, you enable Search Engine crawlers (like Google) to find out what pages are present and which have recently changed, and to crawl your site accordingly.

Please note: Before generating an XML site map, you are to either:

  • set writable permissions to your root folder (this is not very safe)
  • or
  • create two empty files: sitemap_index.xml and sitemap1.xml in the root folder of your shop and give writable access to them.

Further, go to Administration > System > Global Settings > Site Map tab and press the 'Build XML site map' button. Now your XML site map is generated, and you can restore permissions set above to their default values. Please note that options, like: Show custom pages, show products, etc are selected entirely for an html site map, not for an xml one.

In case you want to add some blocks to your Site Map page, you can do it via Administration > CMS > Site Map Layout. Select the blocks you need from the list of available blocks and add them to any column using the arrows.

Prev Index Next