Support Forum

Content of the article

You need to log-in to create request (topic) to the support

Redirect all brands and categories to woof shop page

This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see green button on the right side) and press Save button.
If you not got email within 24 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

I've created a "main" shop page with a left sidebar where the woof filters are available.

I have several brands and several categories.

For the brands I've created one by one 301 redirects from the brand page to the main shop page with the proper woof filter applied.

Before I start doing the same for the categories, would there be a way to do this in a easier way other than redirecting all categories one by one?

Thanks

Hello

Please check  this  option - https://c2n.me/44BLmy1.png

Hi Pablo

That's not my issue. I'll try to explain better.

I have set the website to have no sidebars because I like the left sidebar and moving that on the archive pages is not so easy (using Divi theme)

So I have chosen to let people go always on the main shop page. That's where I have woof and woof_product set.

So let's say that a customer reaches a product. At the bottom of the product you have a link to the product category. Eg. example.com/product-category/parentcategory/category or example.com/product-category/parentcategory

What I want to achieve is to redirect that link to example.com/shop/?swoof=1&paged=1&product_cat=category or example.com/shop/?swoof=1&paged=1&product_cat=parentcategory

Is there a way I can achieve that without having to create as many redirections as the number of categories? I have yoast pro which allows to set redirects and I cannot manage to do a generic redirection using regex.

So I was wondering if you had another solution for this.

Thanks

Hello

Unfortunately, the plugin does not have such a feature and we do not have a ready-made solution