Viewing 1 replies (of 1 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    Using /amp/ is only used in Reader mode for posts, but even then not always. You can see the logic for when ?amp is used vs /amp/ here:

    https://github.com/ampproject/amp-wp/blob/d9b4ccdecac6e25942c83938bac1d9537f370661/includes/amp-helper-functions.php#L103-L124

    In Transitional mode, the ?amp query var is always used.

    It is much more reliable to use the query var to indicate the AMP version as opposed to the endpoint, because the query var can be added to any URL without conflicting with other endpoints added to the page.

    Also, there is no difference between the query var and the endpoint as far as search engines go. In fact, we may phase out the /amp/ endpoint altogether in the future.

    So in short, please communicate to your client that there is no functional problem with using ?amp; using /amp/ everywhere is not supported.

Viewing 1 replies (of 1 total)
  • The topic ‘/amp/ not ?amp – pretty permalinks’ is closed to new replies.