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?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm Arnel Custodio, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Support Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
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.