• I have WordPress installed on a local Apache server and running Win7 on an Intel i7 CPU.

    I had been struggling with a permalinks issue and was in the “General” page playing with the url’s and then the permalinks. What I was after didn’t work the way I wanted so I changed everything back to the way it was when it was working. I cleared the cache & cookies in the browser – closed it and opened it again – but when I went to the login page it opened with no styles – just plain HTML. After I enter my username and password and login I get a 404 error “The requested URL /bigsurwebdesign/wp-login.php was not found on this server”. So the long and short of it is I can’t get into the admin panel dashboard.

    I have looked at the .htaccess file, and the index.php (root – WordPress is in it’s own directory) and they haven’t changed. This is the second time this has happened to me, but I don’t remember what I did to fix it the first time. I don’t understand this as I made absolutely sure I changed the URL’s and the permalink settings exactly as they were when the site was working.

    The address to my WordPress installation is: https://localhost/bigsurwebdesign/wordpress/

    and the URL is: https://localhost/bigsurwebdesign/

    I would go into MySql command line and change things there if I knew what to change and the language to get there.

    Can anyone clear this mystery up for me?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter sonofadoc

    (@sonofadoc)

    You may be wondering what the .htaccess and index.php files look like to get preliminaries out of the way. So here’s the code to .htaccess:

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

    And here’s the code to the index.php file:

    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require('./wordpress/wp-blog-header.php');

    the problem if that no one can access you website. localhost is on everyone’s computer. you may try portforwarding so people can see your site and help you faster.

    Thread Starter sonofadoc

    (@sonofadoc)

    I realize this is a problem. I don’t know how to “portforward.” Is this something I can do without a complicated set up? IP address and DNS and all the stuff required to open the server up to the www.

    Thread Starter sonofadoc

    (@sonofadoc)

    Nope. My ISP is via a satellite and my computer is directly connected to a modem (that cannot be configured). If I had a router I might be able to do it.

    Is there an expert in WordPress out there that would be willing to try and give me a suggestion or two with the information provided?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Broken Site – Cannot Login to Dashboard’ is closed to new replies.