Support » Installing WordPress » Conflicting instructions on .htaccess in Upgrading Codex

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • skippy



    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.




    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.


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

    Sorry for the long delay in responding.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Conflicting instructions on .htaccess in Upgrading Codex’ is closed to new replies.