Make Url format optional to use query string/prefix/suffix for AMP pages

Created on 20 March 2017, almost 8 years ago
Updated 3 June 2023, over 1 year ago

While some people like to use query string ?amp to show AMP pages, others will agree that using a Url prefix is also a good idea i.e. /amp/foo-page

I would like to propose we introduce an option so that the site builders can decide if they want to use query string or url prefix.
The option defaults to query string, which is the current behaviour.

If they choose Path prefix, they can configure the prefix to anything else, if they don't want to use /amp

✨ Feature request
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom marcelovani London

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States erku

    Hello, is there a way to work /amp URLs in Drupal 9? We are trying to migrate our website from D7 to D9, and would like to know how to make our AMP URLs ending with /amp rather than with a question mark. Can you please help how to do this in Drupal 9?

    Thank you.

Production build 0.71.5 2024