Can I Remove the Language Switcher from WordPress Login?

Moved

This tutorial has moved to the new WP Ghost Knowledge Base where each feature is presented in detail.

View on new site

Yes. WP Ghost lets you remove the language switcher from the WordPress login page with a single toggle. No custom code or functions.php edits required. Go to WP Ghost > Change Paths > Login Security, switch on Hide Language Switcher, and click Save.

Why the Language Switcher Appears

WordPress 5.9 introduced a language switcher dropdown on the login screen. It shows up automatically when your site has multiple languages enabled in Settings > General or when you use a multilingual plugin like WPML or Polylang. The dropdown lets users choose their preferred language before logging in.

While convenient on multilingual sites, the language switcher is unnecessary on single-language sites and adds another WordPress fingerprint that bots and theme detectors can identify. Removing it gives you a cleaner, simpler login page that reveals less about your CMS.

How to Remove It

Go to WP Ghost > Change Paths > Login Security. Find the Hide Language Switcher option and switch it on. Click Save to apply the changes. The language switcher will no longer appear on your login page.

This setting works whether your login page uses the default /wp-login.php URL or a custom login path configured through WP Ghost. It also works alongside WP Ghost’s Login Page Design feature if you are using a custom-styled login page.

Other Login Page Customizations

Hiding the language switcher is one part of a complete login page cleanup. WP Ghost also lets you change and hide the login path so bots cannot find your login form at all, add brute force protection with reCAPTCHA, enable two-factor authentication for an extra verification step, and customize the login page design to replace the WordPress logo and branding with your own. Together, these features make your login page both invisible to bots and unrecognizable as WordPress to anyone who does find it.

Frequently Asked Questions

Will hiding the language switcher affect multilingual functionality?

No. This only removes the dropdown from the login screen. Your multilingual plugin (WPML, Polylang, etc.) continues working on every other page. Front-end language switching, translated content, and localized URLs are not affected. Users can still log in and use the dashboard in any installed language, as WordPress respects the user’s profile language setting regardless of the login page dropdown.

Why should I remove the language switcher for security?

The language switcher is a WordPress-specific element that theme detectors and bots can identify. If you are working to hide your site’s CMS identity, every WordPress fingerprint matters. The switcher is a minor signal on its own, but combined with other WordPress indicators, it helps scanners confirm your CMS. Removing it is part of a complete fingerprint removal strategy.

Does this work with a custom login path?

Yes. The Hide Language Switcher option works whether you are using the default /wp-login.php or a custom login URL configured through WP Ghost. It applies to whatever login page your site is using.

Does WP Ghost modify WordPress core files?

No. WP Ghost removes the language switcher from the login page output using WordPress hooks. No core files are modified. Disabling the option restores the language switcher instantly.