Skip Navigation

[Resolved] Hide wpv_aux_current_post_id and wpv_view_count in the URL for SEO purposes

This support ticket is created 3 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
- 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 8 replies, has 2 voices.

Last updated by darcyR 3 years, 5 months ago.

Assisted by: Minesh.

Author
Posts
#2455027

Tell us what you are trying to do? Hide wpv_aux_current_post_id and wpv_view_count in the URL for SEO purposes
Is there a way to just show i.e hidden link when choosing in the dropdown?

Is there any documentation that you are following? No

Is there a similar example that we can see? No

What is the link to your site? hidden link

#2455423

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

I checked the problem URL you shared and it seems you are using ajax filter and I do not see the wpv_aux_current_post_id and wpv_view_count in the URL. Am I missing anything here?

#2455683

Yes, the issue is still there.
When changing the dropdown filter, say British Columbia, the URL changes to something like this:
hidden link

Please try changing the filter on this page - hidden link

#2456249

Minesh
Supporter

Languages: English (English )

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

The thing is that at this end ajax filter is not working and hence the view is not get filtered or I do not see any URL params in the URL.

You should edit your view and navigate to "Custom Search Settings" and select the option "Let me choose individual settings manually" and further select "Do not adjust URLs after loading search results". Please check the following screenshot:
- hidden link

#2456417

Hi Minesh,

It is preferred to make the URL adjust whenever the filter is change so that we will have something like
hidden link for when Alberta is selected and not hidden link as it currently is.

Whenever the filter is changed, this string is added at the end &wpv_aux_current_post_id=17251&wpv_view_count=17167 even if it has the same result.

I hope that makes more sense now.

#2456873

Minesh
Supporter

Languages: English (English )

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

Ok but there is no way to remove those params, either you should go with the setting "Do not adjust URLs after loading search results" or if you use the current one " Update URLs after loading search results" then what you see is expected. We do not have any filter to filter the URL params.

Those params are required by view to get current post ID as well as to get view count that is used for various view needs like pagination, ajax filter etc..etc..

#2457197

Okay, if there's no option to hide the URL params, will this not cause an issue on search engine indexing?

#2458073

Minesh
Supporter

Languages: English (English )

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

I do not have that much idea as as search engine indexing is a broad topic and I'm not expert in search engine indexing.

I can suggest whats possible solution with the Toolset plugins that I already shared that either you should go with the setting "Do not adjust URLs after loading search results" that will not update the URLs after search is performed or use "Update URLs after loading search results" that will update all URL params.

#2458311

Okay then, if it's not possible without the URL parameters then I guess we'll just have that instead of not having the keyword in the URL parameter.