Skip Navigation

[Resolved] When using the latest version of wp-Views plugin issue with add_rewrite_rule()

This support ticket is created 5 years, 5 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)

Tagged: 

This topic contains 3 replies, has 2 voices.

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

Assisted by: Christian Cox.

Author
Posts
#1280299

When using the latest version of Toolset Views plugin, I am experiencing an issue with the add_rewrite_rule() function not redirecting with all the parameters. In Toolset Views plugin version Version 2.3.0 , this is not an issue.
Ex: add_rewrite_rule( '^our-products/banquet-tables/?', 'index.php?pagename=our-products&wpv-tables=banquet&wpv-product_cat=tables', 'top' );

The second parameter is not being passed.

#1280391

Hi, just to be clear, is this happening in a minimum setup?
- Temporarily deactivate all plugins except Types and Views, then activate a default theme like Twenty Nineteen.
- Add your rewrite rule in Toolset > Settings > Custom Code.
- Test again. If the problem remains, I'll take a closer look.
- If the problem is resolved, reactivate your theme (and deactivate the custom code snippet), then activate other plugins one by one until the problem returns.

#1285655

Hi, seems the issue still persists and actually it's a bigger issue then i experienced the first time.
After upgrading Toolset Views from 2.3 to 2.8, our single product pages are messed up (billed via views and the left rail nav on product pages). Would appreciate some help. I reverted everything, including back to Toolset Views 2.3. Thank you.

#1285689

May I take a look in wp-admin? Please provide login credentials in the private reply fields here.