title: htaccess, ressources not found and links redirected to localhost
body: <p>I would like to upload my website to a server test</p>
  
  <p>so I uploaded all to a test server </p>
  
  <p>there <a href="http://changeyourbody.fr/spb/" rel="nofollow">http://changeyourbody.fr/spb/</a></p>
  
  <p>the trouble I have is that all images, js file, and others, are not found</p>
  
  <p>and they are all uploaded to the ftp, so they should be found</p>
  
  <p>moreover all links brings to localhost</p>
  
  <p>this is what I do not understand</p>
  
  <p>I just set up a url rewrite</p>
  
  <p>in the ht access like that</p>
  
  <pre><code>php_flag output_buffering on
  Options +FollowSymlinks
  RewriteEngine On
  RewriteRule ^index\.php/p/([^/.]+)(\.html)?$ ?p=$1 [L,NC,QSA]
  </code></pre>
  
  <p>and my links are liek that</p>
  
  <pre><code>&lt;a href="index.php/p/accueil"&gt;Accueil&lt;/a&gt;
  </code></pre>
  
  <p>I do not know what's wrong did I have done ?</p>
  
  <p>anykind of help will be much appreciated</p>