• Resolved steveb123

    (@steveb123)


    Since upgrading I have a 500 server error. This seems to be caused bt the htaccess files. I cannot access the site front end or back end when the files are in place. When I rename them (ie they are not used) I can access the front page and all the back end. However the menu on the front page does not link to any of the other pages. Also when I try and view page from the “Edit Page” in the back end, I get a Page not found message. This was not an issue before the upgrade.

    The.htaccess in the root folder looks like this

    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /
    </IfModule>
    AddType video/x-flv .flv# BEGIN AskApache sid1018
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /wpaldous/.*/wp-comments-post\.php.*\ HTTP/ [NC]
    RewriteRule .* – [F,NS,L]
    # END AskApache sid1018
    # BEGIN AskApache sid1025
    RewriteCond %{REQUEST_URI} !^/wpaldous/(wp-login.php|wp-admin/|wp-content/plugins/|wp-includes/).* [NC]
    RewriteCond %{HTTP_HOST} ^$
    RewriteRule .* – [F,NS,L]
    # END AskApache sid1025
    # BEGIN AskApache sid1026
    RewriteCond %{HTTP:Content-Disposition} \.php [NC]
    RewriteCond %{HTTP:Content-Type} image/.+ [NC]
    RewriteRule .* – [F,NS,L]
    # END AskApache sid1026
    # BEGIN AskApache sid1029
    RewriteCond %{HTTP_USER_AGENT} ^.*(opera|mozilla|firefox|msie|safari).*$ [NC,OR]
    RewriteCond %{HTTP_USER_AGENT} ^-?$
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.+/trackback/?\ HTTP/ [NC]
    RewriteCond %{REQUEST_METHOD} =POST
    RewriteRule .* – [F,NS,L]
    # END AskApache sid1029

    # 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

    The .htaccess in the wordpress folder (in this instance wpaldous) looks like this

    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /
    </IfModule>

    # BEGIN WordPress

    # END WordPress

Viewing 5 replies - 1 through 5 (of 5 total)
  • Jonas Grumby

    (@ss_minnow)

    Try renaming the .htaccess file (name it old.htaccess or something). See if your site works. If it does, go into Permalinks settings and turn Permalinks off and then back on. WordPress should write a new .htaccess file automatically. All of that Apache stuff in there is not typical.

    Thread Starter steveb123

    (@steveb123)

    Hi Jonas,

    Many Thanks, it seems like a happy bunny now. I now have only one .htaccess with a very limited text


    # BEGIN WordPress

    # END WordPress

    It is situated in the root folder i.e. outside the “wordpress folder”

    Many thanks again

    Jonas Grumby

    (@ss_minnow)

    Thanks for marking it resolved. So many people forget to do that, and it helps people who have similar questions when they find resolved threads.

    Having the same issue, tried renaming to old.htaccess but no go.

    When I launch the site on in my browser, I just see source code??

    Thread Starter steveb123

    (@steveb123)

    I didn’t see any source code when I had my problem, so I am not certain you have the same issue. Make sure that you only have one .htaccess file…I had two, rename both and then switch Permalinks on and off as suggested in the above post if it works

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘htaccess issues since update’ is closed to new replies.