title: How To Change The Path of Products and Category in OpenCart?
body: <p>I want to change the the root path of OpenCart products, one level up from the index page. By default, a product page can be access by the following paths <strong>(OpenCart Installed in Root)</strong>;</p>
  
  <ol>
  <li>domain.tld/product</li>
  <li>domain.tld/category/sub-category/product</li>
  <li>domain.tld/brands/brand-name/product</li>
  </ol>
  
  <p>How can we move the path one page up or one level up from the root domain or index page?</p>
  
  <p>So, for example;</p>
  
  <ol>
  <li>hxxp://mydomain.com/<strong>custom-page</strong>/product-page</li>
  <li>hxxp://mydomain.com/<strong>custom-page</strong>/category/sub-category/product-page</li>
  <li>hxxp://mydomain.com/<strong>custom-page</strong>/brands/brand-name/product-page</li>
  </ol>
  
  <p>I've already prepared the custom page with a path <a href="http://mydomain.tld/store" rel="nofollow">http://mydomain.tld/store</a><br>
  Latest modules, Specials and other modules was already installed to this page.</p>
  
  <p>In my root, is a custom home page with a custom header that does not include the default OC menu, cart, search, wish list, and etc. It's an empty page, but having the default OC footer. My plan for this home page, is to put custom html, with some parallax effect. I am separating my STORE PAGE from this HOME PAGE. </p>
  
  <p>I searched for similar threads from the official OC Forum, I found <a href="http://forum.opencart.com/viewtopic.php?f=21&amp;t=114511&amp;p=455510&amp;hilit=change%20path#p455510" rel="nofollow">similar post</a> but it's not answered. </p>
  
  <p>I want to achieve this, because I am preparing for a Wordpress Integration, which shall be accessible via domain.tld/blog</p>
  
  <p>So my site navigtion would be,</p>
  
  <p>mysite.tld/store<br>
  mysite.tld/blog</p>
  
  <p>What could be the necessary files and code to edit if this is possible to achieve?</p>
  
  <h2><strong>UPDATE</strong></h2>
  
  <p>I've tested Seo URL rewrites and rewrote ?route=product/* to /store. And I see good results. The bad side is, as shadyx mentioned, it's a lot of effort. <br></p>
  
  <p>Also, after doing all the redirects/rewrites, I need again to deal with the breadcrumbs trails. So I also need to update it to mydomain.tld/store/category/sub-category/product. I don't have yet the solution for this.</p>
  
  <p><em>I guess, it's more easier to just install OC to /store folder.</em></p>