Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client wanted to hide the main language on the front end for non-admin users because it was not ready for public viewing. They were also considering switching the main language to a translated language and were concerned about potential data loss or issues.

Solution:
We informed the client that it is not possible to hide the default language using WPML's 'Hide languages' feature, as it only allows hiding secondary languages. We suggested using a Maintenance Mode plugin to hide the entire site from users until it is ready. Here is an example of such a plugin:

Additionally, we advised that if the client has original content that is not ready to be published, they should set this content as 'Draft' in WordPress. This is not related to WPML, as WPML only handles translations of the original content. For more information on drafts, please visit:
WordPress Drafts

If the solution provided here is not relevant to your situation, either because it's outdated or not applicable to your case, we recommend opening a new support ticket. We also highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you need further assistance, please contact us in the WPML support forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 5 replies, has 2 voices.

Last updated by Andreas W. 8 months, 2 weeks ago.

Assisted by: Andreas W..

Author Posts
March 23, 2024 at 1:49 pm #15443195

haraldK-9

Hi there,

is it possible to hide the main language in the front end for non Admin Users?
i am not finished the main language yet.
Each language has its own domain. i can hide the other languages but not the main language.

is there a away around?
thank you in advance

March 23, 2024 at 3:01 pm #15443236

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

No, this is sadly not possible.

If you go to WPML > Languages > Hide languages you will see that you can only disable any second language apart from the the site's default language.

I do sadly not have a workaround for this issue.

Maybe you should use a Maintenance Mode Plugin to hide the entire content from the users until the site is ready.

Example:
https://wordpress.org/plugins/search/Maintainance/

Best regards
Andreas

March 23, 2024 at 3:34 pm #15443284

haraldK-9

Hi Andreas,
i need to go Online with the first language. cant finish the others yet.
I dont think there are maintanace plugins for wpml that just do maintanace mode for one domain.

Can i switch the main language to the translated language? do i loose anything when i do that?
If I try this, what do I have to watch out for? (Except that I make backups in advance)

thank you in advance

March 23, 2024 at 3:38 pm #15443286
haraldK-9

Hi,
one more:

i have also a problem with the www. part.
domain.com does redirect correct to the cirrect language
hidden link does redirect to the homepage of the "main language"

i checked dns settings twice and i asked their support they said all is good.

any advice what here is wrong?

Thank you again for your help!
Best regards

New threads created by Andreas W. and linked to this one are listed below:

https://wpml.org/forums/topic/split-www-redirect-issue/

March 23, 2024 at 3:55 pm #15443311

haraldK-9

Can i send you the credentials somehow so you can check?

I talked with the Hosting Support, they said it is coming from wordpress!

Thanks in advance

March 23, 2024 at 4:33 pm #15443353

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

If you have original content, that is not ready for publishing, then you can set this content as "Draft" in WordPress.

hidden link

This is not a WPML topic, as WPML only creates translations from your original content.

About the "www"-redirect issues I can offer to split this issue into a new ticket and follow up with this about you from there.

Best regards
Andreas

March 23, 2024 at 4:35 pm #15443362

haraldK-9

Thank you for your help.