SEO Custom URL in Opencart

If your some URLs not working Seo Friendly in Opencart after SEO enabled in Admin settings and do configuration in HTACCESS file for these URL:-


  1. http://[Your Domain.com]/index.php?route=checkout/cart  
  2. http://[Your Domain.com]/index.php?route=account/register 
  3. http://[Your Domain.com]/index.php?route=account/wishlist 
  4. http://[Your Domain.com]/index.php?route=checkout/checkout
  5. http://[Your Domain.com]/index.php?route=checkout/success
  6. http://[Your Domain.com]/index.php?route=simple_blog/article
  7. http://[Your Domain.com]/index.php?route=account/login
  8. http://[Your Domain.com]/index.php?route=product/special
  9. http://[Your Domain.com]/index.php?route=affiliate/account
  10. http://[Your Domain.com]/index.php?route=checkout/voucher
  11. http://[Your Domain.com]/index.php?route=product/manufacturer
  12. http://[Your Domain.com]/index.php?route=account/newsletter
  13. http://[Your Domain.com]/index.php?route=account/order
  14. http://[Your Domain.com]/index.php?route=account/account
  15. http://[Your Domain.com]/index.php?route=information/contact
  16. http://[Your Domain.com]/index.php?route=account/return/insert
  17. http://[Your Domain.com]/index.php?route=information/sitemap
  18. http://[Your Domain.com]/index.php?route=payment/pelepay/callback
--------------------------------------------------------------------------------------------------------------------
To Make Seo URL Friendly I added these below code to following files. and it was working good.
---------------------------------------------------------------------------------------------------------------------
Opencart Version 2.1.x Or 1.5.x

1. catalog -> controller -> common -> seo_url.php

Opencart Version 2.2.x 

1. catalog -> controller -> startup -> seo_url.php

Here it is given customized Code. We Don't have to use whole file. Only use customized code:- 




 




Popular posts from this blog

How to open cPanel using WHM access.

Cant use dump() function in twig files or how to enable debug in opencart twig or print_r alternate use dump() in opencart 3.0