Navigation überspringen

[Closed] Updating View results removes path from the URL

This support ticket is created vor 1 year. 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.

Dieses Thema enthält 1 reply, hat 1 Stimme.

Zuletzt aktualisiert von Christopher Amirian vor 1 year.

Assistiert von: Christopher Amirian.

Author
Artikel
#2786843

I am trying to:
I have created a parametric search page with Views. It is set to automatically update the results, as the user switches any options. And it is updating the URL with the parameters, but it is also removes the path from the URL, so generating a bad URL.

Link to a page where the issue can be seen:
versteckter Link

I expected to see:
I want to have a correct URL with the additional URL parameters:
versteckter Link

Please note, that I have manually re-added the "de/de/downloads/" part of the URL.

Instead, I got:
When I choose a "Download Kategorie", for example the "BROSCHÜRE", the URL is updated to this:
versteckter Link

Please note, that the "de/de/downloads/" part of the URL is missing.

Important information:
- This is a Multisite install with subdirectory structure. This is the /de/ part of the URL.
- The second /de/ part of the URL is the German language code, because all subsites are multilingual also. This is done with WPML plugin.

#2786924

Christopher Amirian
Unterstützer

Sprachen: Englisch (English )

Hi,

Welcome to Toolset Support. Do you use any specific custom JavaScript code to use the Ajax mode for the view search? Or do you use the normal Toolset option for the pagination and result within Ajax loading?

Also, I wonder if you deactivate the other plugs including the WPML plug-in does it work? I mean it should show the download on the URL page most probably.

You can test that following the steps below:

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except Toolset and its add-ons.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.

Thanks.

The topic ‘[Closed] Updating View results removes path from the URL’ is closed to new replies.