title: How to move live prestashop site to localhost?
body: <p>i have a problem when transfer PS 1.7 from server domain to my local host</p>
  
  <p>I have followed all the steps of file transfer from the Prestashop documentation.</p>
  
  <p>****I do this step:****</p>
  
  <p><strong>1 - Download all prestashop files from server to my mac and placed it into /mamp/htdocs/prestashop/</strong></p>
  
  <p><strong>2 - Export prestashop database from server, create a database and import the SQL file in phpmyadmin from localhost, then add user to database with all privileges.</strong></p>
  
  <p><strong>3 - Edit the file /app/config/parameters.php:</strong></p>
  
  <pre><code>&lt;?php
  
  define('_DB_SERVER_', 'localhost');
  
  define('_DB_NAME_', 'DBName');
  
  define('_DB_USER_', 'user');
  
  define('_DB_PASSWD_', 'xxxxxxxxx');
  
  define('_PS_VERSION_', '1.7.0.6');
  </code></pre>
  
  <p><strong>4 - In livehost database change tables: ps_shop_url</strong></p>
  
  <pre><code>shop url table info:
  
  domain=localhost
  
  domain_ssl=localhost
  
  physical_uri=/prestashop/
  </code></pre>
  
  <p>I also clean the cache and delete all file except index.php in folder: </p>
  
  <blockquote>
    <p>cache/smarty/compile and /chache/smarty/cache.</p>
  </blockquote>
  
  <p>I check file rights and made a </p>
  
  <blockquote>
    <p>chmod -R 777 on /mamp/htdocs/prestashop/</p>
  </blockquote>
  
  <p>I deleted the .htacess file</p>
  
  <p><strong>When i try co connect in localhost:8888/prestashop/ i am still redirecting to the live server url. Sometime i also get the error 403 Forbidden.</strong></p>