Skip Navigation

[Resolved] Custom pagination URLs

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 1 month, 3 weeks ago.

Assisted by: Minesh.

Author
Posts
#2747957

Hi, I've built a legacy View for WooCommerce products with search filters and pagination. The view has also the price filter:

[wpv-control-post-product-price step="5" start="zero"]Price: %%MIN%% — %%MAX%%[/wpv-control-post-product-price]

I've included the view in a Toolset legacy archive template for Product Categories, it is set to NO pagination and it has an empty loop.

I want to optimize the page for SEO.

1) I noticed that the pagination links looks like this on the firts page:

hidden link

And it looks like this after clicking on the other pages:

hidden link

My client would like to have it always like:

hidden link

if it is not possible, it could be:

hidden link

Do you consider that this format will improve SEO?

2) I also would like to have the paged links in the canonical tag. Yoast is installed.

3) How can I get wpv_view_count on the fist page? Can I create a shortcode for it?

cheers

#2748451

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

As you may already aware, we entertain only one question per ticket. I kindly ask you to open a new ticket with every new question you may have in future.

For now, with this ticket we will try to handle the first issue about custom pagination URLs.

The thing is that, you can not have such custom URL as all those params added to URL is required by view or archive to work correctly. Removing URL parameters from a View/archive that is configured to use front-end filters or pagination will inevitably break the View's filters and pagination system.

#2748496

Hi, isn't it possible to hide parameters is they are set to 0? And, in the case of wpv-max_price, is it possible to pass tha 330 value (that is the higest default price in my shop) by default if wpv-max_price has a different value from 330 and remove it from the URL?

Does it makes sense to create a set of hidden links for SEO with the format I like?

cheers

#2749211

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hi, isn't it possible to hide parameters is they are set to 0? And, in the case of wpv-max_price, is it possible to pass tha 330 value (that is the higest default price in my shop) by default if wpv-max_price has a different value from 330 and remove it from the URL?
====>
There is no such option available, you may custstomize it but again it may affect the search functionality as it depends on the URL params. Do you want to pre-filter the results or you want to offer the frontend custom search field to user so that based on the price custom search filter user can filter the products. If you want custom frontend search filter I'm afraid I do not have any workaround for this.

Does it makes sense to create a set of hidden links for SEO with the format I like?
===>
Yes, you can always file a new feature request by filling out the following form:
- https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

#2751143

Hi, I've removed the view and I've rollad back to default archive pagination to get the /page/x/ URLS.

cheers