WPML

Overview of the Issue

When you set a custom “access denied” message in Advanced Access Manager, visitors see it in the default language on every translated page. The message does not appear in WPMLString Translation, so you cannot translate it.

Workaround

Show a page instead of the message:

  1. Create a page with your access denied text, and translate it.
  2. In the AAM settings, open Access Denied Redirect, and for the frontend choose Redirect to a page.
  3. Select the page. Visitors are sent to the page in their language.

All known issues

Need Help with This Issue?

Ask a support question and we’ll look into it with you.