Conflicting instructions on .htaccess in Upgrading Codex (5 posts)

  1. jcleary
    Posted 10 years ago #

    Okay, I was getting ready to follow the instructions on the Upgrading page in the Codex when I noticed that it appears to have conflicting instructions on what to do with the .htaccess.

    In the overview part of the page it says:

    On your host server site, delete your old WordPress files, but DO NOT DELETE:

    • wp-config.php
    • .htaccess (if it exists)
    • The wp-content folder
    • Your language file in wp-includes/languages/

    While in the detailed Instructions section is says:

    DELETE all other WordPress files and folders, including .htaccess.

    So which is it, save or delete the .htaccess?

  2. skippy
    Posted 10 years ago #

    Either. We're still trying to find the best sequence of steps here.

    If you delete your .htaccess, you'll need to reconstruct it again. This is usually easy, but not always.

    If you have custom rules in your .htaccess file, then don't delete it.

  3. skippy
    Posted 10 years ago #

    I have updated the Upgrading_WordPress instructions to include the caveat about custom rules in .htaccess files. I'd appreciate it if you (and others) could review it to make sure it still makes sense.


  4. Beel
    Posted 10 years ago #

    I think in the long run it might perhaps be better to tell them to save all custom rules and delete the file.

  5. jcleary
    Posted 10 years ago #

    Sorry for the long delay in responding.

    Skippy, the instructions make more sense now, thanks for clarifying.

Topic Closed

This topic has been closed to new replies.

About this Topic