title: htaccess config for urls
body: <p>I'm migrating a website from an old server and after I uploaded all the files and connect the database, the dynamic content on pages is giving me a 404 error.</p>
  
  <p>The old server was managed with Nginx, the new server is using <code>Nginx-Hybrid</code> so I can use the <code>.htaccess</code> file.</p>
  
  <p>In my opinion, the <code>.htaccess</code> needs a special configuration but I haven't found a solution yet. </p>
  
  <p>Can someone please give me an advice?</p>
  
  <p><strong>Here is an example of the production site pages:</strong></p>
  
  <pre><code>https://www.arecontvision.com/index.php
  https://www.arecontvision.com/Company/about-arecont
  https://www.arecontvision.com/products/SurroundVideo+Omni+G2+Series
  https://www.arecontvision.com/pressreleasedetails/Arecont+Vision+ConteraIP%E2%84%A2+Multi-Sensor+Camera+Named+2018+Campus+Safety+BEST+Winner
  </code></pre>
  
  <p><strong>Here is the new site I'm working on:</strong></p>
  
  <pre><code>https://sales.arecontvisioncostar.com/index.php
  https://sales.arecontvisioncostar.com/Company/about-arecont
  https://sales.arecontvisioncostar.com/products/SurroundVideo+Omni+G2+Series
  https://sales.arecontvisioncostar.com/pressreleasedetails/Arecont+Vision+ConteraIP%E2%84%A2+Multi-Sensor+Camera+Named+2018+Campus+Safety+BEST+Winner
  </code></pre>