Latest Articles
So far this was never an issue, there were problems with uploading modules via the installer because of the ftp connection but you could allways install ocmods without any issue. However, some .. Read More
People had this issue so many times I thought I would write a bit about it. The  types of issues with opencart's 2.x modification system that I identified so far are: 1. Old Vqmod .. Read More
This small tutorial will show you how to manually add custom links to the default top menu in opencart. If you dont want to go trough all the hustle and would like to be able to completly customize.. Read More
To enable seo urls in opencart navigate in admin to system > settings , edit the store and on the server tab of the store settings you will find "Use SEO urls", set it to yes. So far e.. Read More
All Articles

How to enable SEO Urls in opencart

To enable seo urls in opencart navigate in admin to system > settings , edit the store and on the server tab of the store settings you will find "Use SEO urls", set it to yes. So far every user knows to do this, but what most often forget is to activate the htaccess file.

To activate the htaccess file, connect to your store via a ftp client. In the root of your opencart store you will find a file called .htaccess.txt. To activate it, you must rename it to .htaccess (exactly like that without another dot at the end). After this, your seo urls will work or you could get an internal server error when trying to view the website (this can happen if your hoster doesnt have the apache mod_rewrite installed. In this case you will have to rename the .htaccess file back to .htaccess.txt, disable seo urls in admin and contact your hoster).

If you have opencart installed in a subdirectory of a domain (ex: store.com/somefolder/) you will have to edit the .htaccess file and the line:

RewriteBase /

 

will have to be changed in:

RewriteBase /somefolder/

 

where of course you will replace somefolder with the name of your actual folder.

This is all you have to do in order to have seo urls in your store.

Posted by Flo

1 Comments To "How to enable SEO Urls in opencart"

toro On 19 Jul 2015
hello i'm not woking seo urls. enable seo urls when i click link so redirect 404 page. help me email: toroduykha@gmail.com Reply to this comment

Write a comment

Your Name:


Enter the code in the box below:

Your Comment:
Note: HTML is not translated!