WordPress.org

Support

Support » How-To and Troubleshooting » Htaccess Breaks Site

Htaccess Breaks Site

  • 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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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?

    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.

    @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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Htaccess Breaks Site’ is closed to new replies.
Skip to toolbar