2.14.3.14. Enable clean URL in OpenCart

OpenCart has a built-in feature that allows you to enable human-readable URLs for all site pages (products, categories, etc.).

  1. Using the file manager or any FTP client, open the site root directory and make sure that the .htaccess file (with this exact name) is present in it. If the file is named, for example, htaccess.txt, rename it to .htaccess (be sure to include the dot at the beginning). If the file is missing, create it with standard content.
  2. Open the site admin panel.
  3. Go to "System → Settings":
  4. To the right of the store name, click "Edit":
  5. Switch to the "Server" tab.
  6. Opposite "Use SEO URLs", set the switch to "Yes":
  7. Save changes by clicking "Save" in the upper-right corner of the page:
  8. Check the operation of the SEO URLs on the site pages.

If, after performing the steps described above, SEO URLs do not work on all the pages where they should, it is possible that you will need to manually correct the links in the template files used on the site. For assistance with this issue, we recommend contacting the developer of your site or the template used on it directly.

Content