Login to your OpenCart admin panel.
- Navigate to System > Settings and click the "Edit" link.
- On the "Server" tab, set "Use SEO URL’s" to "Yes" and save the changes.
- Connect to your server via FTP using any FTP client (e.g. FileZilla)
- In your main OpenCart directory, there should be a file called .htaccess.txt. Rename it to .htaccess. If you already have an .htaccess file, add this code at the end of the file:
If your store is in a separate directory (e.g. "shop"), open the .htaccess file in a text editor and look for this line:
If your shop is installed in a directory called “shop“, for example, change the above line in the .htaccess file to:
Remember to put the slash (/) at the end. Otherwise the SEO URLs will not work with OpenCart. Adding SEO keywords for your products and categories
Note: The default OpenCart SEO URL functionality doesn't work with multi language multi shops. You'll need to install an extension for that.
Note 2: Do not use spaces in your keywords. Use only unique SEO keywords. You cannot use the same keyword for a product and a category.