Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Token Url Plus

Security covered Under active development 785 sites

Part of the Token ecosystem · 21 projects

This module provides tokens to generate customized URLs for the current page, including options to include or exclude specific query parameters. It allows for the creation of canonical URLs that precisely control which query parameters are present.

Adds some current-page:url token variations that are geared for customized canonical urls that contain query parameters.

Features

Spurred into being by #1198032: Add modifiers to the [current-page:url] token to include the pager and the query string, this module provides the tokens:

[current-page:url-with-query]

The URL of the current page with query string included, if it exists.

[current-page:url-with-query:without-some-parameters:param1,param2,…]

The URL of the current page with query string included but filtered by removing the provided query parameters. e.g. 'without-some-parameters:utm_campaign,utm_medium,utm_source' would be replaced with the current url, with the three utm parameters filtered out if they existed.

[current-page:url-with-query:with-some-parameters:param1,param2,…]

The URL of the current page with query string included but filtered to only include the provided query parameters. e.g. 'with-some-parameters:page,category_id' would return a url containing only query parameters, '?page=1&category_id=2' if they existed.

Drupal 10–11

Ask your assistant about Token Url Plus

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
5
Tracked since
Feb 2024
Latest release
9 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.3 Stable 10–11 Jan 14, 2026
1.0.2 Stable 10–11 May 14, 2024
1.0.1 Stable 10 Feb 9, 2024
1.0.0 Stable Feb 8, 2024
1.0.x-dev Dev 10–11 Feb 8, 2024