InMotion Hosting Support Center

OpenCart SEO Friendly URLS

Category: Opencart

284 Points
2013-02-17 9:23 pm EST

Hits: 3,309

Today I tried to enable "Use SEO URL's". I actually did it on the phone with an In Motion tech. He said I was the third person today to have trouble doing this.


Enabled the radio button in the server settings.

Renamed the htaccess.text file to htaccess.

Now, most of the site is working BUT the DOG BEDS category. When clicking on dog beds the site goes straight to one product, Organic Bumper Beds.

The DOG BED category does not work.

All other categories work fine.

What is going on?


When I removed the SEO Keyword/words from all categories everything now works. I got that idea from another site.

I am not sure that it is a good idea to put no SEO keywords in the categories. One more thing, when you have SEO keywords in the categories, all of the urls in the product pages have their keywords PLUS the keywords in the categories. Making for a long URL.



You must login before you can ask a follow up question.

You must login before you can submit an answer.



9,968 Points
2013-02-18 3:25 pm EST
Hello simonbk, and thank you for your question.

I was unable to replicate the type of behavior that you've explained here. I also enabled Use SEO URL's in my OpenCart admin settings, then re-named my .htaccess.txt to just .htaccess.

After that when I hovered over any of my categories which did have a SEO Keyword set in the options, that category would use a search engine friendly URL. For instance I had the default products setup so by default the Desktops category had a SEF URL of /opencart/desktops for me. However the Laptops and Notebooks didn't have a SEO Keyword set, and as such its URL remained simply /opencart/index.php?route=product/category&path=18.

I went and updated the SEO Keyword for the Laptops and Notebooks category, and it successfully updated the SEF URL to /opencart/laptops-and-notebooks. However when I tried to access the Laptops and Notebooks > Mac sub-category, it also pulled up just /opencart/laptops-and-notebooks. So I had to also go into the Laptops and Notebooks > Macs category and add a SEO Keyword of macs. This successfully updated the SEF URL to /opencart/laptops-and-notebooks/macs and allowed the correct page to display.

So it doesn't sound like you want to remove the SEO Keyword for all of your categories to get them to work, but rather you need to ensure that each and every category has a unique keyword in use that you would like to use the SEF URLs. Otherwise it seems to revert back to simply using the /opencart/index.php?route type URLs.

It does look like you could end up with some longer URLs as with the category using a SEF URL but not a product, you'd end up with something like /opencart/laptops-and-notebooks/macs?product_id=51, with the product also using SEF URLs it would end with /opencart/laptops-and-notebooks/macs/macbook-pro. However any single product can also be called by just its SEO Keyword without the category, so for instance /opencart/macbook-pro would pull up the exact same product, just not under the category that it's placed under.

Right now from what I can tell it appears that you've setup SEO keywords on your products, but not on the categories themselves. So currently your individual product URLs are rather short such as

- Jacob

You must login before you can post a comment about this answer.

Like this Question?

Need more Help?


Ask the Community!

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

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!