Multilingual XML Sitemap

  0 rating
11/15/2017 5:01:02 PM
11/22/2017 10:45:57 AM
Source: GIT Hub link
Provider: Actual Module

About

This Module is an extension of Ultimate Sitemap XML module developed by vasiliyfomichev. I added the below features in this module.

1. It adds <xhtml:link
                 rel="alternate"
                 hreflang="de"
                 href="http://www.example.com/deutsch/"
                 />
tags for all of the languages.

2. Fixed bugs if configuration website doesn't it.
3. Fixed missing layout issue.

Thanks to Vasiliyfomichev. 
https://marketplace.sitecore.net/Modules/U/Ultimate_Sitemap_XML.aspx

Documentation

Documentation
  • Documentation > How to use the Module
    How to use the Module
    HOW TO USE THE SITEMAP XML

    1.  Install the package using the Update Installation Wizard (/sitecore/admin/updateinstallationwizard.aspx)
    2. Open the SitemapXML.config under the App_Config\Include folder. In the SitemapXML.config file you can specify the following:
    ○ productionEnvironment - (true or false) determines whether the sitemap should be submitted to the search engines or not
    ○ Database - the database from which to pull items for generating the sitemap
    ○ sitemapConfigurationItemPath - root path for the sitemap module configuration settings
    ○ xmlnsTpl - sitemap module schema used for the XML sitemap
    ○ xmlnsXhtmlTpl - sitemap module schema used for the XHTML sitemap
    ○ generateRobotsFile - (true or false) defines whether a robots.txt file should be auto-generated with references to sitemap files or not.

    The following are the default values:

    <sitemapVariables>
          <sitemapVariable name="xmlnsTpl" value="http://www.sitemaps.org/schemas/sitemap/0.9" />
      <sitemapVariable name="xmlnsXhtmlTpl" value="http://www.w3.org/TR/xhtml11/xhtml11_schema.html" />
          <sitemapVariable name="database" value="master" />
          <sitemapVariable name="sitemapConfigurationItemPath" value="/sitecore/system/Modules/Sitemap XML/" />
          <sitemapVariable name="productionEnvironment" value="false" />
          <sitemapVariable name="generateRobotsFile" value="true" />
        </sitemapVariables>


    4. Open the Sitecore Content Editor.
    5. Navigate to /sitecore/content/System/modules/Sitemap XML/.
    6. Create a Sitemap Configuration item and name it with the same name as the website name attribute in the <site />  definition for your website (Non-case sensitive). 
    This item will contain all of the website-specific configuration used by the module. 
    7. Set which search engines will be used for submitting the XML Sitemap in the Search Engines field(you can add your own search engine by adding the new “Sitemap Search engine” item under the Sitemap XML Search Engines folder and specifying the “Sitemap Submission Url” path.
    8. In the Configuration section of the Sitemap configuration item you can set the following:
    a. Search Engines - select the search engine to submit the sitemap to
    b. Enabled Templates - templates to be included in the sitemap
    c. Excluded Items - individual items to be excluded from the sitemap
    d. File Name - the name of the sitemap XML file file which will be saved in the root Website directory
    e. Server Url - the server URL to be used in the sitemap URLs. The module falls back to using the server URL which was used to request the sitemap.

    9. To include shared content in the sitemap add a Shared Content Definition item under the Sitemap Configuration item for the website in question and specify the Parent Item (parent content item) and Content Location (the parent item for the shared content).
    10. Sitemap will be generated and submitted after publishing (if productionEnvironment setting is set to true). Also you can submit sitemap manually. Run the Sitemap Manager application (sitecore menu/all programs/sitemap manager) and click “Refresh sitemap” button.

    0
Back
Release notes
Please insert section here whenever you add a new version of your Sitecore module package describing version number, new features, fixes and possible known issues.
Read more Back
Code examples

Solution screenshots(0)

Upload

Reviews (0)

Sort by: Date Most votes
  • Profile Avatar
    [fullName]

    Level: 0

    x0 x0 x0

    [date]

    [title]

    [text]

    Was this helpful?

    0

Comments (0)

Sort by: Date  Most votes

Leave a Comment

Comment must be field in
Post comment
loader

Write a review

Title can't be empty
Review can't be empty
Post review

Download

Title Description Download Action

Add File