glFusion Wiki

Site Tools


glfusion:plugins:sitemap:start

SiteMap Plugin

The SiteMap plugin creates a Google compatible sitemap.xml and / or mobile.xml file of your site's content. It also provides an interactive Site Map for your site's users.

SiteMap honors content permissions, only showing those items which the user has permissions to view.

Requirements

  • glFusion v1.6.0 or newer
  • PHP v5.3.3 or newer

Installation

The SiteMap Plugin uses the glFusion automated plugin installer. Simply upload the distribution using the glFusion plugin installer located in the Plugin Administration page.

Upgrading

The upgrade process is identical to the installation process, simply upload the distribution from the Plugin Administration page.

After upgrading, you should validate your SiteMap configuration by navigating to the SiteMap configuration screen (Command & Control → Configuration → SiteMap) and the SiteMap Administration Screen (Command & Control → SiteMap).
For users upgrading from versions prior to v2.0.0 - you can remove the Dataproxy plugin after upgrading SiteMap. SiteMap no longer requires the Dataproxy plugin.

Configuration

SiteMap create 2 types of sitemaps, a user viewable sitemap to assist users with navigating the site and a Google compatible sitemap to assist Google with crawling your site.

To configure the SiteMap plugin, navigate to the SiteMap Administration Screen (Command & Control → SiteMap).

Sitemap filename(s)
Enter one or more filenames for the sitemaps separated by a semicolon. Filenames should have a xml extension and will be created in the web root. For a mobile version, enter mobile.xml. Generally, you should use sitemap.xml;mobile.xml
Users who can view the sitemap
Select the user group that can view the online sitemap. This has no effect on the XML sitemaps since they are simply files in the root directory.
Automatically add new plugins
Select Yes to have new plugins automatically added to the sitemap after they are installed, assuming they provide a sitemap driver file. New plugins will be added to the bottom of the sitemap; you can change that in the sitemap plugin administration.

SiteMap Administration

The SiteMap Administration screen (Command & Control → SiteMap) allows you to select which content should be available in the XML (Google) and HTML (User viewable) sitemaps. You can also specify the frequency of change and the priority of each item.

Item to include in Sitemap
Select the items you want to include in the user viewable sitemap. You can change the order they are presented by moving the item up or down in the order.
Frequency
How frequently the page is likely to change. This value provides general information to search engines and may not correlate exactly to how often they crawl the page.
Priority
The priority of this URL relative to other URLs on your site. Valid values range from 0.0 to 1.0. This value does not affect how your pages are compared to pages on other sites—it only lets the search engines know which pages you deem most important for the crawlers.

The default priority of a page is 0.5.

Please note that the priority you assign to a page is not likely to influence the position of your URLs in a search engine's result pages. Search engines may use this information when selecting between URLs on the same site, so you can use this tag to increase the likelihood that your most important pages are present in a search index.

Also, please note that assigning a high priority to all of the URLs on your site is not likely to help you. Since the priority is relative, it is only used to select between URLs on your site.
It is recommended that you read the Google Sitemap Protocol for more information on how Google will use the sitemap.

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

glfusion/plugins/sitemap/start.txt · Last modified: 2017/04/12 21:13 (external edit)

Page Tools