WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jcleary
    Member
    Posted 8 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
    Member
    Posted 8 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
    Member
    Posted 8 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.

    Thanks!

  4. Beel
    Member
    Posted 8 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
    Member
    Posted 8 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