Accueil › Toolset Professional Support › [Résolu] Hide wpv_aux_current_post_id and wpv_view_count in the URL for SEO purposes
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 | - |
Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)
Ce sujet contient 8 réponses, a 2 voix.
Dernière mise à jour par darcyR Il y a 3 years, 9 months.
Assisté par: Minesh.
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 lien caché 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? lien caché
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?
Yes, the issue is still there.
When changing the dropdown filter, say British Columbia, the URL changes to something like this:
lien caché
Please try changing the filter on this page - lien caché
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:
- lien caché
Hi Minesh,
It is preferred to make the URL adjust whenever the filter is change so that we will have something like
lien caché for when Alberta is selected and not lien caché 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.
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..
Okay, if there's no option to hide the URL params, will this not cause an issue on search engine indexing?
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.
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.