Support » Plugin: WPS Hide Login » Redirect of wp-login.php to preferred page doesn’t work

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author NicolasKulka

    (@nicolaskulka)

    permalinks, htaccess ?

    permalinks:
    /%category%/%postname%/

    Plugin Author NicolasKulka

    (@nicolaskulka)

    I’m trying in local where is a very simple HTAccess (the standard htaccess of WordPress) but wp-login.php still redirects to 404 page (with errors)

    This is local htaccess

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /miolocal/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ./miolocal/index.php [L]
    </IfModule>

    Plugin Author NicolasKulka

    (@nicolaskulka)

    it’s ok.

    Other problem, conflict plugin or another thing

    Fresh install of WP 5.4.2 here.
    Single site deployment.
    No plugins other than WPS Hide Login v1.5.6.
    Standard plain permalink.
    Un-modified .htaccess file.
    Browsing to /wp-admin/ sends a HTTP 302 and changes to the configured preferred page.
    Browsing to /wp-login.php sends a HTTP 301 and changes to https://domain/-/-/-/-/-/-/-/-/-/-/

    ==> access.log <==
    x.x.x.x – – [02/Jul/2020:10:29:13 -0400] “GET /news/wp-admin/ HTTP/2.0” 302 0 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_16) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15”
    x.x.x.x – – [02/Jul/2020:10:29:13 -0400] “GET /news/?1 HTTP/2.0” 200 5974 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_16) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15”

    x.x.x.x – – [02/Jul/2020:10:29:28 -0400] “GET /news/wp-login.php HTTP/2.0” 301 0 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_16) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15”

    ==> error.log <==
    2020/07/02 10:29:28 [error] 129045#0: *4697 “/path/to/html/-/-/-/-/-/-/-/-/-/-/index.html” is not found (2: No such file or directory), client: x.x.x.x, server: domain, request: “GET /-/-/-/-/-/-/-/-/-/-/ HTTP/2.0”, host: “domain”

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