title: How to make custom SEO url in opencart?
body: <p>I'm trying to make my custom URLs but having some troubles (Opencart 1.5.3.1). I want the category page to be </p>
  
  <p><a href="http://myshop.com/category_id" rel="nofollow">http://myshop.com/category_id</a> if I don't have SEO keyword for category in admin panel</p>
  
  <p>OR </p>
  
  <p><a href="http://myshop.com/category_seo_keyword" rel="nofollow">http://myshop.com/category_seo_keyword</a> if I have entered SEO keyword for category</p>
  
  <p>and my product page to be </p>
  
  <p><a href="http://myshop.com/category_seo_keyword/product_id" rel="nofollow">http://myshop.com/category_seo_keyword/product_id</a></p>
  
  <p>where {product_id} is always "product-" + "product id, not model". I don't want to display SEO keyword for product even if it's entered in admin panel.</p>
  
  <p>for example <a href="http://myshop.com/cameras/product-13" rel="nofollow">http://myshop.com/cameras/product-13</a></p>
  
  <p>Any ideas?</p>