Search Engine Friendly URLs are urls that use descriptive words instead of variables. Look at the following examples:
Normla URL | SEF URL |
---|---|
http://domain.com/index.php?route=information/information&information_id=6 |
http://domain.com/about-us |
As you can see above, having about-us in the URL helps users know what the page is about. It also can play a role in getting you pages higher in the Search Engine Result Pages, making it easier for customers to find your site in Google (and other search engines).
In this OpenCart 1.5 tutorial, we are going to walk you through the steps for enabling search engine friendly URLs.
To enable SEF URLs in OpenCart 1.5:
Please note:
OpenCart 1.5 advises you that mod-rewrite must be enabled and that you will need to rename the htaccess.txt file to .htaccess. All of Web Hosting Hub's servers have mod-rewrite enabled by default, so you'll simply need to rename the file to read .htaccess
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/
RewriteBase /
... and update the RewriteBase with your subfolder name, such as:
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/
RewriteBase /store
Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
---|---|---|---|
Call: |
877-595-4HUB (4482) 757-416-6627 (Intl.) |
Chat: | Click To Chat Now |
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!