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:

  1. Log in to the OpenCart 1.5 Dashboard as an Administrator
  2. Hover over System in the menu, then click on SETTINGS
  3. Click the Server tab
  4. Next to Use SEO URL's, select Yes
    opencart15-system-settings-seo-selected

    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

    Notes regarding OpenCart 1.5 installations in subfolders:
    Many sites run OpenCart 1.5 directly from http://domain.com. If you by chance have OpenCart installed in a subfolder, such as http://domain.com/store, you'll need to edit your .htaccess file and make the following change:

    Find these lines:

    # 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

  5. After making the changes above, click the Save button in the top right.

    You have now successfully enabled SEF URLs in OpenCart 1.5!

    After enabling SEF URLs, your next step will be to set descriptive text for your pages to be used in the SEF URLs. For example, you'll need tell OpenCart to use "about-us" in the URL for the about us page.
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
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.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 757-416-6627 Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}