Skip Navigation

[Resolved] Permalink URL – searchresults not show correct

This support ticket is created 3 years 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
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9: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: Africa/Casablanca (GMT+01:00)

This topic contains 9 replies, has 3 voices.

Last updated by ilonaB-2 3 years ago.

Assisted by: Jamal.

Author
Posts
#2215233

Hello,

When using the searchbar on the site and viewing the searchresults, the url shows the following:

hidden link

It should only show:
hidden link

How can i achieve this??

So far i've tried changing this in the WP admin area - settings - permalinks but no solution.

All other permalinks for as they should.

Please get back to e asap.

Thanks in advance

#2215531

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

It's not possible to have a custom permalink structure as in your example without writing it yourself using WordPress's custom rewrite API: https://developer.wordpress.org/apis/handbook/rewrite/

It is beyond the scope of support to provide such code, and if you are not comfortable coding that yourself you would need to find a developer to do it (see https://toolset.com/contractors/).

You can hide the extra URL parameters added by the View by changing the View settings for both custom search and pagination to use ajax, and then go to Toolset > Settings > Front-end settings and disable the history management settings for each.

#2215669
Hide url 1.png
Hide url 2.png

Hi Nigel,

Thanks for your support!

The last option you mention sounds like a perfect solution
(ou can hide the extra URL parameters added by the View by changing the View settings for both custom search and pagination to use ajax, and then go to Toolset > Settings > Front-end settings and disable the history management settings for each.)

However when doing this nothing has changed:
See attached images (maybe i'm doing something wrong).

Thanks in advance for your feedback!

#2215847

Hello there! I run a test and after filtering the URL does not get updated. Check this screenshot hidden link

Could you elaborate more on the issue, I don't understand what do you mean by "nothing has changed".

#2215863
permalink not working.jpg

Hi Jamal,

Well I changed the settings as Nigel suggested, however the url didn't change.
I tried both in different browser and in incognito screen-> see attached image.

The way it shows in your screenshot, that's exactly how i want it to be...

#2215895

If you access the URL directly, it will still work. But, the view will not alter the URL anymore after filtering.

Let's say you access this "somehow fake" URL hidden link
The page will still render the view, and when you update any filter of the view, the URL will not get updated. Check this screenshot hidden link

I can't imagine anything that can generate this URL, maybe if it was previously tracked by a bot such as Google's.

I hope this helps. I'll remain at your disposal.

#2215903

Ok so what am i doing wrong or what settings should i ajust, cause I have no idea how to achieve this...

#2215943

You just need to visit the page with its normal URL hidden link

Toolset will not generate anymore URLs that have all the parameters on it. If you encounter any URLs that has URL parameters on them, let me know where and I'll check it closely.

#2216679

Hey Jamal,

Doesn't seem to change anything. But not the biggest problem for now.
We go live in two weeks and have some other questions for your support, so i'll close this ticket.
Thanks for your support non the less!

Regards

#2216681

My issue is resolved now. Thank you!