• Resolved ambrosa

    (@ambrosa)


    Hi.
    WPS Hide Login version 1.9.15.12
    WordPress 6.5.3

    I’ve a strange issue with Redirect Url setting.
    If I try to connect to https://mysite/wp-admin/ it works fine: user will be redirect to new page
    But if I try to connect to https://mysite/wp-login.php ALWAYS user will be redirected to 404 page and not to Redirect URL page.

    Login URL works fine ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support MaximeWPS

    (@seinomedia)

    Hello,

    Thanks for using WPS Hide Login.

    How do you create your redirections ? Is your redirection from wp-login.php is right when WPS Hide Login is deactivated ?

    Thread Starter ambrosa

    (@ambrosa)

    Hi Maxime.
    This is a fresh WP installation made 10 days ago (WP 6.5.2 than upgraded to 6.5.3), a small blog for personal use.

    If your WP Hide Login is disabled (or not installed), all works fine:
    – connection to https://mysite/wp-login.php goes to standard WP Login page (CORRECT)
    – connection to https://mysite/wp-admin/ are redirect to https://mysite/wp-login.php?redirect_to=https%3A%2F%2Fmysite%2Fwp-admin%2F&reauth=1 (as expected to standard login page) (CORRECT)

    If I enable your plugin (see config to https://postimg.cc/NLwg7rC7 ):
    – connection to https://mysite/loragin/ goes to standard WP login page (CORRECT)
    – connection to https://mysite/wp-admin/ goes to the redirection url https://mysite/contattaci/ (CORRECT)
    – connection to https://mysite/wp-login.php goes to 404 standard page (WRONG ?)

    I never do any other redirection.

    Plugin Support MaximeWPS

    (@seinomedia)

    Are you using Elementor with a customised 404 page ?

    Thread Starter ambrosa

    (@ambrosa)

    What is Elementor ? This https://www.elementor.com ? No. I don’t use elementor. But can be a theme problem ? I use BLOGUS theme by Themeansar.

    This is my wp-login.php 404 page https://postimg.cc/Q9bK1hrn

    Really it’s not a big deal: 404 page it’s ok. Hakers don’t find the original wp-login.php page so all it’s fine.
    But I’m curious about WHY it doesn’t work as exptected.

    Regards.

    Plugin Support MaximeWPS

    (@seinomedia)

    You didn’t tell me how you created your redirections. With a plugin ? In .htaccess file ?

    Hey @seinomedia

    I am having a similar issue. When going to mydomain.com/wp-admin/ it redirects to the 404 page but when I go to mydomain.com/wp-login/ or mydomain.com/wp-login.php it loads a page but not the 404 page and it doesn’t redirect to the 404.

    I am using Elementor for my 404 page. Is there something specific I need to do with WPS Hide Login when using Elementor 404 pages? I realized this is happening on all of my elementor sites, none of my other sites.

    Thanks!

    Plugin Support MaximeWPS

    (@seinomedia)

    @ambrosa, @wantabit

    I’m going to share this issue with our dev team to fix the issue

    Thread Starter ambrosa

    (@ambrosa)

    Thanks. I’m sorry: I’ve not answered to your previous question. As I said before, I DON’T made any type of redirection within my webserver (nginx). Probably, as for Elementor, it’s my theme “BLOGUS” that create this funny problem.

    Plugin Support MaximeWPS

    (@seinomedia)

    This has been fixed in the last release.

    Hi everyone,

    I’m experiencing the same issue as described here. I’ve created a custom login page and want to prevent users from accessing the default WP login page/form.

    • “/wp-admin” redirects correctly to my error page.
    • “/wp-admin.php” redirects to a default 403 page.
    • “/wp-login.php” and “/wp-login” both redirect to the default WP 404 page instead of my custom login page.

    How can I resolve this to redirect all to my error page?

    Thanks a lot for your help!

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.