Skip Navigation

[Resolved] custom permalink for filtered view results

This support ticket is created 5 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 5 years, 9 months ago.

Assisted by: Christian Cox.

Author
Posts
#1198071

This is not strictly related to toolset, but I have tried some fixes without success so....I thought I could ask for some pro help and see if I can get it sorted out, forgive my dullness.

I have a view and view filter in place, so there are some cases where there are some filter parameters in the url as query string variables. So I sometimes have hidden link .

I would like to add some 'pretty' urls to some of the most accessed result sets:

hidden link

I couldn't put to work any sampled custom coded rewite url in my htaccess file. Any help would be appreciated.

Thank you

#1198263

Hi, the short answer is it's not possible. We don't get into .htaccess customizations here, or anything other than basic permalink structures. Furthermore, removing URL parameters from a View that is configured to use front-end filters will inevitably break the View's filters and pagination system. Since there's no JavaScript API for managing the selected filters, I don't have any code examples to share with you and I can't troubleshoot your own custom filter code. You would be completely on your own there.

If no front-end filters are used for these most popular result sets and you simply want to display the pre-filtered results, then you could create multiple Pages that contain different pre-filtered Views, or use shortcode attributes to filter the same View with different parameters. However, combining this approach with front-end filters isn't possible. Let me know if you have questions about that.