You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am using Multisite Language Switcher on my WordPress Multisite setup with multilingual archives (categories, tags, and custom post type archives). Everything works perfectly for single pages and the main archive pages.
However, I noticed that the language switcher does not preserve pagination. For example:
Polish URL: /dania-glowne/page/3/
English equivalent generated by MSLS: /en/main-dishes/
As you can see, the switcher always links to the first page of the archive, ignoring the current page number.
I tried several approaches using msls_output_get_url and msls_output_get filters, as well as PHP and JavaScript workarounds, but none reliably add the /page/X/ segment in all cases.
How I can make this possible? It’s for UX and SEO reasons important for me.
Activity
lloc commentedon Oct 12, 2026
Addressed in #730