aaron13100 / 404solution

404 Solution
https://ajexperience.com/wealthpsychology/404-solution/
4 stars 2 forks source link

Add Regex redirects #1

Closed aaron13100 closed 7 years ago

aaron13100 commented 7 years ago

From @pbowyer on January 31, 2017 9:30

Scenario

A site uses a CPT for events. Once the event is past they unpublish the CPT post, which every time creates a new 404 error.

Solution

Rather than create individual redirects, it would be great to create one regular expression rule for all matching 404's:

404s matching /events/.+ => /events/?finished=1

_Copied from original issue: ThemeMix/redirectioner

aaron13100 commented 7 years ago

From @defries on January 31, 2017 9:38

Thanks for logging this issue Peter. We've actually started brainstorming about a future for this plugin and this scenario is one we plan to solve.

aaron13100 commented 7 years ago

This is no longer related to TheMix/redirectioner so I'm closing it and creating a new ticket.