Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

create auto redirects for (child-)categories and child-entires#108

Open
WHITE-developer wants to merge 1 commit intonystudio107:masterfrom
white-nl:add-automatic-category-redirects
Open

create auto redirects for (child-)categories and child-entires#108
WHITE-developer wants to merge 1 commit intonystudio107:masterfrom
white-nl:add-automatic-category-redirects

Conversation

@WHITE-developer
Copy link
Copy Markdown

Cool function the auto generate redirects for entries, but we were missing that for the categories (and commerce products), so I decided to create this pull request.

  • Added the setting createUriChangeRedirectsCategories
  • Fixed a bug in the getLocalizedUris which was saving the localized urls in the wrong array
  • Added the ability to auto generate category redirects based on the existing entries code
  • Added an extra foreach so also child entries get auto redirects

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants