Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix WP-Admin page 404, but only on home wifi

Discussion in 'Misc WordPress Requests' started by afspeights, Apr 6, 2018.

  1. afspeights

    Guest

    WP-Admin page 404, but only on home wifi, by afspeights

    Hello,

    I’m having an odd issue where I get 404 errors every time I try to log into my wp-admin from my home wifi network. It works perfectly fine at my workplace and on GoDaddy’s end. I managed to get into wp-admin and the dashboard ONCE on SAFARI here at home but not on Chrome or Firefox, and now I can’t get in with Safari again. I’ve tried all the login links through CPanel and the one that worked earlier, but nada.

    I was only able to get into the site, I believe, when I turned off the security on my router. BUT it’s been disabled for hours now and I can’t get back in. What’s also strange is that when I type in the site address, I get the OLD site and not my “under construction” WordPress page.

    Tried flushing my laptop’s DNS, deleted all the cookies and history, etc. I’ve spent hours poring through the 404 error topics in the support forum here and searching Google and have yet to find a solution.

    The domain I’m trying to build the WP on is a non-SSL site, and I’m wondering if there’s something in the WP files, etc. that my router (or ISP?) doesn’t like. For example, there is a “force SSL” code, this,

    // Redirect to https login if forced to use SSL
    if ( force_ssl_admin() && ! is_ssl() ) {
    if ( 0 === strpos($_SERVER[‘REQUEST_URI’], ‘http’) ) {
    wp_redirect( set_url_scheme( $_SERVER[‘REQUEST_URI’], ‘https’ ) );
    exit();
    } else {
    wp_redirect( ‘https://’ . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘REQUEST_URI’] );
    exit();
    }
    }

    in the login file. I deleted it to see if it might make it work, but it doesn’t.

    I am at a loss for why I was able to get in just the once today, and why it would work everywhere else

    WP-Admin page 404, but only on home wifi
     
    #1

Share This Page

Monarch Social Sharing Plugin