Post by zch0071 » Tue Sep 16, 2014 3:56 pm

How to delete the categoryURL of the product URL?
For example:
Change To To

In seo_url.php find

Code: Select all

$url .= '/' . $query->row['keyword']; 

Code: Select all

$url = '/' . $query->row['keyword']; 
so the products URL won't include category URL. Although it will result in breadcrumb navigation missing, but it can also reduce duplication of URL addresses.

How can I modify in order to remove the category URL and guarantee no missing breadcrumbs navigation?

New member


Sun Sep 20, 2009 12:10 am

Post by Johnathan » Tue Sep 16, 2014 10:21 pm

Breadcrumbs are based on the URL, so you'd need to modify a bunch of core functionality to get it working without that component of the URL. It's probably beyond what someone would lead you through on the forum, so you may need to hire someone to do it for you.

If you need to find a developer, I recommend you post a request in the OpenCart "Commercial Support" forum (, which is checked by a number of OpenCart developers. You can also try checking out the OpenCart "Partners" area (

Image Image Image Image

User avatar
Global Moderator


Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: Google [Bot] and 41 guests