WordPress Manual Upgrade for Experts: Difference between revisions

mNo edit summary
mNo edit summary
Line 42: Line 42:
find /var/www/html/WebSiteDirectory -type f -exec chmod 644 {} \;
find /var/www/html/WebSiteDirectory -type f -exec chmod 644 {} \;
</syntaxhighlight>
</syntaxhighlight>
*Copy the working version of the WordPress website files into the new directory (The below command will not overwrite any of the new files and will also preserve all permissions from the "original / working" WordPress version.  The end result is a directory with upgraded WordPress Files and all of the additional or custom stuff from the original site;<syntaxhighlight lang="text">
*Copy the working version of the WordPress website files into the new directory (The below command will not overwrite any of the new files and will also preserve all permissions from the "original / working" WordPress version.  The end result is a directory with upgraded WordPress Files and all of the additional or custom stuff from the original site
<syntaxhighlight lang="text">
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