Background of the issue:
I am trying to set up a WPML-powered site with different domains for each language. My main site is hidden link, and I have parked the domain medellinupclose.com to serve as the English version. I configured this in the WordPress Dashboard under WPML/Languages/Language URL format by selecting 'A different domain per language' and entered medellinupclose.com as the domain for the English language.
Symptoms:
There is a red notice saying that medellinupclose.com is invalid, even though the domain is correctly parked and displays the content of medellindecerca.com.
Questions:
Why does WPML say that medellinupclose.com is invalid?
How can I resolve the issue of the invalid domain notice in WPML?
While one of my teammates addresses your ticket, I will share some initial debugging steps.
Sometimes, the message you’re seeing could be a false positive. I recommend unchecking the "Validate on save" setting for the option "A different domain per language" and then saving your changes. Then, please check if your domains are functioning correctly on your website.
If the issue persists, it’s likely that the domains are incorrectly configured.
Hello. I did what you recommended. I uchecked the "Validate on save" option, but the problem still remains.
If I browse medellinupclose.com it still shows the primary language of medellindecerca.com (which is Spanish). What I am striving for is medellinupclose.com to be the English version of medellindecerca.
Now, I would like to know what kind of incorrect configuration could have the domains to prevent the translation to work as I wish.
I attach a screenshot of my Language URL Format settings.
Could you please increase the WordPress memory limit (WP Memory Limit) to at least 256 MB? WPML requires at least 128M.
Your current values are:
PHP Memory Limit 512M
WP Memory Limit 40M
You need to connect to your website's server and open the wp-config.php file in a text editor. The file is located in the WordPress root directory.
Add this code to the wp-config.php file to increase WordPress memory:
define ('WP_MEMORY_LIMIT', '256M');
Add this just before this comment:
// That's all, stop editing! Happy blogging.
The current values can be viewed under WPML > Support > WordPress.
These settings can be restricted directly by your hosting provider. Therefore, I recommend contacting them and asking them to change them directly if the changes are not applied immediately.
Now, please edit the content of the original homepage, save the page and then apply the translation again. Make sure to complete the translation inside the WPML Translation Editor to 100% and verify at Pages > All Pages that the page has been published in your second language.
Also, take note that if you create a template inside the Divi Theme Builder, then you will need to translate the Header, Body, and Footer Templates at WPML > Translation Management > Dashboard. If you assign those jobs to yourself you will be bale to access them at WPML > Translations.
If this will not solve the issue, please let me know.
Best regards
Andreas
The topic ‘[Closed] My second language domain is correctly parked but WPML says it is invalid’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.