Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

Need to add arbitrary URLs to your XML sitemap? The Simple XML sitemap arbitrary links module makes it easy! It provides a simple interface to manage arbitrary links, perfect for SEO without coding.

Features

The Simple XML sitemap arbitrary links module enhances Drupal’s Simple XML Sitemap module by allowing you to:

  • Add Arbitrary Links: Include URLs not tied to Drupal entities (e.g., external pages, custom paths).
  • User-Friendly Interface: Manage links via a table with fields for URL, priority, change frequency, last modified date, and language.
  • AJAX Support: Add new links dynamically without page reloads.
  • Unlike core sitemap tools, it supports custom URLs with full control over sitemap attributes. Use this module when you need to boost SEO by including non-entity URLs (e.g., marketing landing pages) or multilingual sitemap entries. It’s ideal for site admins who want flexibility without custom development.

Post-Installation

  1. Go to `/admin/config/search/simplesitemap/custom-arbitrary-links` (Configuration > Search and metadata > Simple XML Sitemap > Custom Arbitrary Links).
  2. You’ll see a table listing existing custom links (if any).
  3. Click “Add new link” to insert a blank entry, then edit fields like URL, priority, etc.
  4. Keep in mind that you can use different links formats: link, /link, example.com/link. They will be formatted automatically to example.com/link
  5. Save the form to update the database. Check “Regenerate all sitemaps” to refresh `sitemap.xml`.
  6. To remove link from database just press Remove button.

No new content types or text formats are added—just visit the config page to start managing links. Ensure the Simple XML Sitemap module is enabled and configured first.
Add proper permissions to the desired role with "Administer custom sitemap links" permission.

Additional Requirements

  • Simple XML Sitemap This module depends on the `simple_sitemap` module (version 4.x recommended) to integrate custom links into the generated sitemap. Install it via Composer: `composer require 'drupal/simple_sitemap'`. No external libraries or APIs are required.
  • Pathauto: Enhances URL management if you’re linking to Drupal-generated paths.
  • Redirect: Useful for managing redirects alongside custom sitemap URLs.

Similar projects

  • Simple XML Sitemap (core functionality): Adds entity-based sitemap generation but lacks a UI for arbitrary links.
  • XML Sitemap (legacy): An older module with broader features but less modern integration.

Activity

Total releases
7
First release
Mar 2025
Latest release
1 year ago
Release cadence
1 day
Stability
71% stable

Release Timeline

Releases

Version Type Release date
2.2.0 Stable Mar 17, 2025
2.1.1 Stable Mar 15, 2025
2.1.0 Stable Mar 15, 2025
2.0.0 Stable Mar 15, 2025
8.x-1.0-rc1 Pre-release Mar 14, 2025
8.x-1.x-dev Dev Mar 14, 2025
8.x-1.0 Stable Mar 14, 2025