Credits & Thanks
Thank you to:
- Anna Kalata who did a great job of porting this module to Drupal 8
- firstname.lastname@example.org who originally created this module
About the Sitemap Module
The Sitemap module provides an HTML sitemap that gives visitors an overview of your website. It also displays RSS feeds for blogs and categories.
The Sitemap module makes it easier for visitors to find content and that improves SEO. This helpful page can increase visitor time on site and reduce bounce rate.
Search engines will also crawl the HTML sitemap which, along with the XML sitemap, increases positive exposure for your content.
Install and Enable the Sitemap Module
- Install the Sitemap module on your server. (Go here for more instructions on installing modules.)
- Go to the Extend page: Click Manage > Extend (Coffee: “extend”) or visit https://yourDrupalSite.dev/admin/modules in your browser.
- Select the checkbox next to Sitemap.
- Click the Install button at the bottom of the page.
Configure Permissions for the Sitemap Module
- Click Manage > People > Permissions (Coffee: “perm”) or visit https://yourDrupalSite.dev/admin/people/permissions in your browser.
- Select the appropriate checkbox to give yourself permissions for “Administer sitemap” if necessary.
- Since you want visitors to view the sitemap, you’ll need to select the check boxes to allow Anonymous User and Authenticated User to “View published sitemap”.
- Click the Save permissions button at the bottom of the page.
Configure the Sitemap module
- Click Manage > Configuration > Search and metadata > Sitemap (Coffee: “sitemap”) or visit https://yourDrupalSite.dev/admin/config/search/sitemap in your browser.
- In the Page title field, add the title of the page using some keywords or your site name.
- Add some text to the Sitemap message field that will display at the top of the page as an introduction to the page listing. This helps the page look more like a natural page on your website, and not just a “sitemap”. You can make this as long or as short as you like.
- Within the SITEMAP CONTENT section, select the appropriate check boxes. You’ll likely want your Main navigation and any other visitor-facing menus along with your primary Vocabularies (tags and categories).
- Within the SITEMAP SETTINGS section, make sure the Show titles checkbox is selected.
- Click the Save configuration button at the bottom of the page.
You can view the sitemap at https://yourDrupalSite.dev/sitemap.
The little orange icons next to each section are links to RSS feeds. Visitors who want to subscribe to your site and return when you’ve published new content will use that link in their newsreader applications.
Did you like this walkthrough? Please tell your friends about it!