Rename Login Page Compability with WPML
-
Hello,
Thank you for your plugin. It ‘s great.
I have a compatibility issue with wpml when i use the “Rename Login Page” and the (wp core) function wp_login_form.
In second language the login form cause error 404 either the login credentials are correct either not.
I create a ticket at wpml that you can find here https://wpml.org/forums/topic/login-form-is-not-working-after-changed-wp-admin-slug/
The instructions is:
1) Go to wp-content/all-in-one-wp-security-and-firewall/classes/wp-security-process-renamed-login-page.php2) Find the following code:
if (function_exists('icl_object_id') && strpos($home_url_with_slug,$login_slug)){ $home_url_with_slug = home_url($login_slug); function qtranxf_init_language() {} }
3) Replace it with the following:
if (function_exists('wpml_object_id') && strpos($home_url_with_slug,$login_slug)){ $home_url_with_slug = home_url($login_slug); function qtranxf_init_language() {} }
Are you going to make any update at the plugin to solve the compatibility issue? Because i don’t want to change theme files and lose updates.
Thanks in advanced.
The page I need help with: [log in to see the link]
- The topic ‘Rename Login Page Compability with WPML’ is closed to new replies.