title: False URL in wordpress localhost
body: <p>I am working with localwebsite , when I use background-image:url('wp-content/uploads/....')
  It renders the link of <code>localhost/wp-content/uploads/...</code> instead of <code>localhost/foldername/wp-content/uploads/...</code>
  Do anyone has an idea ?This is what I have done but none of them has worked.
  In .htacess</p>
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
     RewriteEngine On
     RewriteBase /foldername/
     RewriteRule ^index\.php$ - [L]
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteCond %{REQUEST_FILENAME} !-d
     RewriteRule . /foldername/index.php [L]
  &lt;/IfModule&gt;
  </code></pre>
  <p>and in wp-config.php</p>
  <p>I have added</p>
  <pre><code>define( 'WP_HOME', 'http://localhost/foldername' );
  define( 'WP_SITEURL', 'http://localhost/foldername/' );
  </code></pre>
  <p>but that doesn't work
  DO anyone has an idea?</p>
  <p>Thanks in advance</p>