title: Can not move wordpress site to new folder
body: <p>Ubuntu server 18, nginx 1.15, php-fpm, mysql.</p>
  
  <p>1) Moved WordPress <code>site.com</code> from <code>folder1</code> to <code>folder2</code>.</p>
  
  <p>2) Change the root dir for <code>site.com</code> from <code>/var/www/html/folder1</code> to <code>folder2</code> in <code>nginx</code> config.</p>
  
  <p>3) <code>nginx restart</code></p>
  
  <p>As result of seeing a white screen instead of <code>site.com</code>
  But! <code>wp-login</code> page works and after signing in as admin - site shows up. No problems. Sign out - watch white screen again.</p>
  
  <p>What am I doing wrong?</p>
  
  <p>Tried to search and replace links in the database from <code>folder1</code> to <code>folder2</code> with no luck.</p>