Difference between revisions of "WordPress Manual Upgrade for Experts"

m
Line 35: Line 35:
*Extract the files (if downloading a TAR version);
*Extract the files (if downloading a TAR version);
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
tar -xf WhatEverFIleName
tar -xf WhatEverFileName
mv WhatEverFileName NewFileName (to rename from the default WordPress Directory name)


OR
OR
Line 42: Line 43:
</syntaxhighlight>
</syntaxhighlight>


*Move or copy the ''extracted'' files to the ''original'' web server directory: mv Source Destination
*Move or copy the ''extracted'' files to a directory of the same name as the ''original'' web server directory (IE, after the above MV command when backing up the WordPress Site, the original Directory containing the site should not exist (or at least be empty)): mv Source Destination
*Set the proper ownership and file permissions on the new files (the below example is for Apache on CentOS)
*Set the proper ownership and file permissions on the new files (the below example is for Apache on CentOS)
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
Line 59: Line 60:


*Make sure the wp-config.php file is in the upgrade directory (The "original / working" version of the file should be copied with the above CP command as it does not typically exist in a newly extracted version of WordPress (it's generated))
*Make sure the wp-config.php file is in the upgrade directory (The "original / working" version of the file should be copied with the above CP command as it does not typically exist in a newly extracted version of WordPress (it's generated))
*Also remember a LOT of extensions make use of an .htaccess file (with Apache and other web servers) to modify the behavior of a WordPress site, so make sure that file from the original version of that file is copied into the upgrade directory (its a hidden file, so make sure).
*Also remember a LOT of extensions make use of an .htaccess file (with Apache and other web servers) to modify the behavior of a WordPress site, so make sure that file from the original version of that file is copied into the upgrade directory (it is a hidden file, so make sure).


===Plugins===
===Plugins===