WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Upgrading after giving WordPress its own directory? (4 posts)

  1. acroamatic
    Member
    Posted 8 years ago #

    Before I upgrade from 2.0.1 to 2.0.2, I hope that I can get some clarification on this issue.

    I initially installed WordPress in my root folder. I then followed the instructions given here: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    So now, index.php and .htaccess are in the root, while the WP core files are in a directory called 'wordpress'.

    I've reached the stage of upgrading which requires me to upload the new WP files to the appropriate folder.

    My question is: which is the appropriate folder?

    Do I upload all the new files into the wordpress directory and delete the old index.php and .htaccess from the root (then follow the instructions to give WP its own directory again)?

    Or do I upload the new files, overwriting the respective files in their current folders?

    Or do I upload everything in the root, then copy over wp-config.php and the wp-content folder to the root?

    I just realised that I didn't follow the instructions in 'Giving WP its own directory' to the letter. Step 7: I moved index.php and .htaccess to the root instead of copying.

    I'm really confused.

  2. Austin Matzko
    Member
    Posted 8 years ago #

    Just upload the new index.php (modifying acc. to step 9 of the page you linked to) over the existing one that's in root with the .htaccess. Upload everything else in the directory where you put the WP core files.

    Basically you're just replacing the existing files, where necessary.

  3. iand
    Member
    Posted 8 years ago #

    You have me confused too. If it is working 100% now, then your upgrade needs to put the new files in exactly the same places (I think this your option 2 :) ).

    Take a look at this thread, it lists the files that are changed between 2.0.1 and 2.0.2. Also, when you upgrade it is better to delete and upload than overwrite (which can cause problems).

  4. acroamatic
    Member
    Posted 8 years ago #

    Thanks for the help filosofo and IanD! Got 2.0.2 installed following your instructions. Cheers!

Topic Closed

This topic has been closed to new replies.

About this Topic