Skip to content

Suffixed events not showing up on city landing pages #1078

@iandunn

Description

@iandunn
  1. Create 2 events locally, one at https://events.wordpress.test/rome/training/ and another at https://events.wordpress.test/rome/training-2/
  2. Visit https://events.wordpress.test/rome/ and you should see both. You may need to run the events_landing_prime_query_cache cron if you don't see them.
  3. Visit https://events.wordpress.test/rome/training/. The page shows /training/, but not /training-2/

I think this cause might be this regex:

It should maybe be something like ^/$city/\d{4}/$title[-\d]*/ instead, so that the -2 is allowed but not required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions