This issue has been moved over from https://wordpress.org/support/topic/support-for-paginated-archive-pages/#post-19005250
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.
This issue has been moved over from https://wordpress.org/support/topic/support-for-paginated-archive-pages/#post-19005250
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.