title: osCommerce links to categories taking to a wrong page
body: <p>I'm modifying a website made with osCommerce (I didn't make this website), and one of the things I have to modify is the look of the home page. My problem is that I have modified the <strong>index.php</strong> file, and all the changes look fine. </p>
  
  <p>However, when I click a link that has been written in PHP with this function:</p>
  
  <pre><code>&lt;?php echo tep_href_link(FILENAME_DEFAULT,'cPath=24&amp;sort=2a') ?&gt;
  </code></pre>
  
  <p>(In <code>/includes/filenames.php</code> I have <code>define('FILENAME_DEFAULT', 'index.php');</code>.)</p>
  
  <p>What happens is that it shows the correct results, but in a different page, with the old design. I don't understand it, because that link should take me to the same <strong>index.php</strong> that I modified, but obviously it's taking me somewhere else. </p>
  
  <p>I don't know what page is it showing, the only thing I see is the link written by the PHP function:</p>
  
  <blockquote>
    <p>(my_catalog_folder)/escaparate-c-24.html?sort=2a&amp;osCsid=p7fp55t489nv042p0ip4mp7si1 </p>
  </blockquote>
  
  <p>I guess that the <code>tep_href_link()</code> is writing that, but I don't know what page is using to show the results.</p>
  
  <p>Any clues would be much appreciated! </p>