12% off of LTD using this coupon: TWELVEPERCENTOFF. Promo ends on 2 Dec midnight UTC.
Published on Oct 7, 2021

How to set up redirects for category and tag archives to match WP Grid Builder’s URLs

Sridhar Katakam

The tutorials page of this site's redesign heavily uses a number of WP Grid Builder's facets.

The sample URL after performing a filter based on the category is


where category is the slug of the filter and plugins is the taxonomy (in this case, a category) term.

It is possible to write PHP to have the links to categories in the above format in Easy Posts but we wanted to create automatic redirects so that existing links in the format of


will get redirected to the corresponding WPGB link format URL.

This is made possible with Redirection plugin.

This members-only tutorial provides the working regex redirect for this and for tag archives while ensuring that %2F does not get added at the end of redirected URLs:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $599 one-time).

Already a member? Log in below or here.