Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Release: Change Requests 2.1.9 Minor update available for module change_requests (2.1.9). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Simple XML sitemap arbitrary links

19 sites No security coverage Drupal 10–11
View on drupal.org

This module allows you to add arbitrary URLs, meaning non-Drupal entity links, to your XML sitemap. It provides a user-friendly interface to manage these links with options for priority, change frequency, and language, enhancing SEO for external pages or custom paths.

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.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
7
Tracked since
Mar 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 7
Maintenance
Dormant

Release Timeline

Releases

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