Skip to content

Only URLs with "/view/content/" are included in sitemap #141

Description

@RudyCodein

if (!str_starts_with($url, 'view/content/')) {

According to the message of this commit, the author wanted to exclude URLs containing /view/content :

The oppoisite is actually happening : only the URLs containing /view/content are included.

To fix this, remove the ! :

if (str_starts_with($url, 'view/content/')) {
   continue;
 }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions