WordPress Manual Upgrade for Experts: Difference between revisions

mNo edit summary
Line 39: Line 39:
cp -R -n -v -a -x /var/www/html/WebSiteDirectory.WorkingVersion/* /var/www/html/WebSiteDirectory  
cp -R -n -v -a -x /var/www/html/WebSiteDirectory.WorkingVersion/* /var/www/html/WebSiteDirectory  


Note: Flags can be combined, IE -Rnvax, but are shown separately for clarity.
Don't forget the ASTERISK on the end of the Source.
Flags can be combined, IE -Rnvax, but are shown separately for clarity.
</syntaxhighlight>
</syntaxhighlight>
*Make sure the wp-config.php file is in the upgrade directory (there shouldn't be a wp-config.php file in the upgrade folder and it should be copied with the above CP command)
*Make sure the wp-config.php file is in the upgrade directory (there shouldn't be a wp-config.php file in the upgrade folder and it should be copied with the above CP command)
*Also remember a LOT of extensions use the .htaccess file to modify the behavior of WordPress, so copy the original version of that file into the upgrade directory.