Polylang interfering with various download plugins
-
Hi everyone,
I’m using polylang on my website managing two languages. Everything works fine except that Polylang’s URL rewrite settings seem to interfere with almost every Download Manager available for WordPress.
I could track down the problem to the URL settings and the way the download plugins are using permalinks / endpoints to create download links. Those links won’t work because of the language string which is usually added to the URL by polylang.
e.G.
With my polylang URL settings pages and posts have permalinks like this, with a short language string such as “en” and “de” added by polylang:
https://www.mydomain.com/en/my-post/
So far so good.
When I’m installing a download mangagement plugin such as “Lana Download Manager”, “Download Monitor” or “WP Download Manager” those tools are generating individual download links to track downloads, e.G.
https://www.mydomain.com/downloads/20035/
And those links won’t work when polylang is enabled. Every download link leads to an 404 error.
It seems that polylang somehow interferes with those download links. When I manually add a language string such as “de” to the URLs the links work fine:
https://www.mydomain.com/de/downloads/20035/
But I cannot get the download management plugins to consider that specific fact that polylang is installed.
Is there any way of either configuring Polylang make exceptions when rewriting the URLs for certain permalinks? (e.G. https://www.mydomain.com/downloads)
Any ideas? I’d appreciate and would be thankful! Thank you so much!
Richard
- The topic ‘Polylang interfering with various download plugins’ is closed to new replies.