• Resolved nrfw

    (@nrfw)


    The site is here. I just upgraded and cannot access the main page. The admin panel is accessible, and so are the posts through permalinks like this one. Tried changing the theme and permalinks structure, but the problem persists. Help would be appreciated!

Viewing 3 replies - 1 through 3 (of 3 total)
  • what’s your .htaccess file say?

    The index file in place has a meta refresh redirect. That’s why it’s constantly reloading. It doesn’t appear to be a file that has anything whatsoever to do with WordPress. if your server is set to look for “index.html” before index.php, and the file it’s serving is index.html, then it’ll serve that up. When I type in “index.php” it serves up the same page. My guess is you’ve accidentally overwritten the WordPress index.php file with the wrong one. Try going into your clean WordPress download and re-upload the index.php file that’s on the same level as wp-content.

    Thread Starter nrfw

    (@nrfw)

    Here’s my .htaccess:

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

    I tried re-uploading all the files from the update several times now, doesn’t help.
    I believe the server is set up to look for “index.html” first, yes, and that file then redirects to “index.php”. For some reason the redirection doesn’t work, though, and as you said typing in “index.php” turns up the same result, which is odd.

    Thread Starter nrfw

    (@nrfw)

    Problem solved on my own by adding the following to .htaccess:

    <IfModule mod_dir.c>
    DirectoryIndex index.php index.html
    </IfModule>

    Then deleting the index.html file which was responsible for the non-stop refreshing.
    It all works now!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘After 2.7.1 upgrade main page just keeps refreshing’ is closed to new replies.