Htaccess Breaks Site (4 posts)

  1. gotmedia
    Posted 7 years ago #

    Hi there!

    I seem to be having a problem with the latest version. Whenever I add a blank htaccess file, make it writable and then do the permalinks - it messes up my entire site to the point where I can't even access my site!

    I never had this problem with any of the earlier versions.

    Can anyone help?

  2. straffin
    Posted 7 years ago #

    I am having this exact same problem... it's likely a bug. I have things working now so I'm a bit hesitant re-break it in order to document and report the problem. Can anyone else shed any light on this?

  3. Saurus
    Posted 7 years ago #

    If it was a "bug" - how would you explain the thousands of WP sites running the latest version which do NOT have this problem? Don't upload a blank file - when you set pretty permalinks WP will create a proper htaccess file for you.

  4. straffin
    Posted 7 years ago #

    @Saurus - I have no .htaccess file at all. The one that is created when I select anything but the first option on the Permalinks options page results in an instant HTTP 500 error. Deleting the created .htaccess file returns the site back to health, but simply going back to the Permalinks options page (without saving or changing anything) results in the .htaccess file being re-created and sending the site back into HTTP 500 errors.

    I was able to get through this by (a) going to the Permalinks options page, (b) setting it back to the first option, (c) submitting the page (which results in a 500 error caused by the .htaccess file created in step a), (d) deleting the .htaccess file in another window/app, then (e) refreshing the page with the 500 error, which resubmits the form without an .htaccess file present. This has happened twice to me now, both on fresh installs.

    I cannot explain how thousands of sites work fine if they have changed the Permalinks options. I can simply relate what is happening to me and my site.

    Any *helpful* thoughts?

Topic Closed

This topic has been closed to new replies.

About this Topic