We are trying to make ANPAMILLA.GAL fully work as an alias of ANPADOIESDOMILLADOIRO.COM (main domain, where the WordPress blog was firstly installed). And now we can use inner URLs like https://anpamilla.gal/hazte-socio/ as an alternative to https://www.anpadoiesdomilladoiro.com/hazte-socio/
But when we try to browse directly to https://anpamilla.gal it just jumps and redirects to https://www.anpadoiesdomilladoiro.com (and we definitely DON’T want that, but the shorter domain name to be kept at navigation bar).
I guess it’s something like this other thread: https://www.ads-software.com/support/topic/top-page-doesnt-work-but-sub-pages-do/
Or could it be something related to Polylang automatic language recognition and jumping?
As far as I know, there is no cache acting, both at client and server side, but I cannot be 100% sure!
Can you please help us? Danke sehen!
]]>I don’t think I fully understand how it works. For my part, I have a wordpress MU configured in subdirectories, and I want to use a second domain for the sub-site; http:/site1/subsite1, but that the wordpress base url is no longer displayed in the browser, but only the name of the second domain.
Can this plugin do that?
Thanks
]]>I found a documentation (https://polylang.pro/doc/url-modifications/#subdomains-name-and-domains), in which they are stating: “For advanced users, it is possible to use subdomains (or a different domain per language). All your subdomains (or domains) must point to the same directory (where the WordPress index.php is present). Polylang checks if your domains or subdomains are correctly accessible. Otherwise, Polylang returns an error message. Contact your host provider to get the documentation for the subdomains and domains installation. Note: we know that the interface of some host providers does not allow to choose the directory where a subdomain is pointing. Check with your host provider if it offers this possibility.”
As the second domain is parked it should work, right? What else can I do?
Thank you very much.
]]>I created redirections in the old site in the Redirection plugin, but the dutch redirections are being redirected to the french pages on the new site. I can’t see why this is working this way, certainly, since the other domains are being redirected fine.
]]>The problem is that when we clear the cache, it will always be the caching folder with the dutch domain that gets cleared, no matter which domain/language we’re on when clearing the cache. I think the reason for this is that the plugin uses get_option('home');
to get the domain name, which gets stripped down and gets used to find the right caching folder, only this option always returns the dutch domain because there is only one home option in the database and that one is set to the dutch domain.
I noticed that wordpress does return the right domain when using home_url();
instead, which would most likely solve the issue.
I have set up Polylang to translate via 2 different domains.
FR : fr.com (site default)
EN : en.com
The permalinks work perfectly in all languages. The issue I’m having is that the media isn’t being uploaded to the respective upload directories. For example, when I upload a media from en.com it still uses the fr.com uploads directory if I logged into the fr.com wp-admin. It then inserts the media URL with the en.com site url and causes the site to throw a 404 error for that media since the site url doesn’t contain that media file.
How can I tell Polylang to upload the media in the language of the current post?
Thanks
]]>