Inner URLs work with second domain but home page just jumps

[ad_1]

Thread Starter
Touda

(@touda)

Tried to uncheck automatic language recognition at Polylang settings and it didn’t fix the issue.

Anyway there is still an automatic jump because Polylang knows that /gl/ is the main language so when you go to the home page (no matter with which domain name), it makes the browser jump to /gl/ subdirectory. Maybe it’s forcing it as ANPADOIESDOMILLADOIRO.COM/gl instead of a relative /gl/ jump? (When you use Polylang there has to be always, at least, this first jump.)

Do you know if there is some incompatibility between your plugin and Polylang at this level?

Thread Starter
Touda

(@touda)

More info:
Not ALL inner URL keep the alternative domain name: those related to the home page, in both languages, do jump:
http://anpamilla.gal/gl
http://anpamilla.gal/es
http://anpamilla.gal/inicio
http://anpamilla.gal/inicio-gl

May it gives you some clue of what’s happening?

hello 🙂
unfortunately you have two things in your setup, that are not good for our plugin. first is polylang. we have stated in our description that we do not offer compatibility with those multi-language-plugins, since they use their own logic for domains and redirections, ans you already found out. second is that we did not intend to map whole websites, but only parts (so not the root domain). that does work sometimes but is not tested, so we can not help you with that topic.

but i suggest you try our partner plugin which is described here: https://www.falkemedia.at/multiple-domain-mapping-on-single-site-premium/
they also offer a premium version for enhanced functionality.

i hope this will work for you 🙂
matt

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer