How to Edit SEO URL in Opencart
Why URL Structure Matters for an OpenCart Store
OpenCart is a capable ecommerce platform, but out of the box it produces URLs built from query strings and numeric identifiers. A product address that looks like a database call tells neither a search engine nor a shopper anything useful. Clean, descriptive URLs improve click-through rates in search results, make links more shareable, help crawlers understand site hierarchy, and reduce the risk of duplicate content caused by parameter variations. For a store with hundreds of products, fixing URL structure is one of the highest leverage technical improvements available.
The good news is that OpenCart includes native support for SEO friendly URLs. The process involves a server-side rewrite configuration, a store setting, and then per-record keyword entries. This guide covers all three, plus the redirect discipline that protects the rankings you have already earned.
How AAMAX.CO Supports OpenCart Store Owners
Technical ecommerce SEO is where many stores quietly lose revenue, and it is exactly what our team fixes. At AAMAX.CO we audit OpenCart installations end to end: URL structure, canonical tags, faceted navigation, page speed, structured data, and crawl budget waste. As a full service digital marketing company offering web development, digital marketing and SEO services worldwide, we can handle the server configuration, the migration mapping, and the ongoing optimisation without breaking your live storefront. If your product pages are not ranking despite good inventory and fair pricing, the cause is often structural. Our specialists can identify it, fix it safely, and then build the content and link strategy that turns your fixed foundation into consistent organic sales.
Step One: Enable Rewrites on the Server
Before OpenCart can serve clean URLs, your web server needs to route every request through the front controller. On Apache, locate the file named htaccess.txt in your OpenCart root directory and rename it to .htaccess. This file contains the rewrite rules OpenCart expects. Confirm that the Apache rewrite module is enabled and that your virtual host allows overrides, otherwise the file will be ignored silently.
On Nginx there is no htaccess support, so the rewrite must be added to your server block. The rule should try the requested file, then the directory, and finally pass everything else to index.php while preserving the query string. If you are on shared hosting without access to the server configuration, ask your host to apply the rule; most providers do this on request.
Step Two: Turn On SEO URLs in the Admin
Log into your OpenCart admin panel and navigate to System, then Settings. Edit your store, open the Server tab, and set the option for SEO URLs to Enabled. Save the setting and clear any caching layer you run, including OpenCart modification cache, a CDN, or a full page cache plugin.
At this point your store will attempt to serve keyword-based addresses. Any record without a keyword assigned will continue to use its query string form, which is why the next step matters.
Step Three: Edit Product URL Keywords
Go to Catalog, then Products, and edit the product you want to change. Open the SEO tab. Depending on your OpenCart version you will see a keyword field per store and per language. Enter the slug you want, using lowercase letters, numbers, and hyphens only. Do not include a leading or trailing slash, do not include the domain, and do not use spaces, underscores, or accented characters.
Write slugs that describe the product the way a customer would search for it. Include the primary attribute that differentiates it, keep it under roughly sixty characters, and remove filler words that add length without meaning. Avoid stuffing repeated keywords; a slug that reads naturally performs better than one crammed with terms.
Step Four: Edit Category and Information Page Keywords
Categories follow the same pattern. Open Catalog, then Categories, edit the record, and use the SEO tab to set the keyword. Because categories usually target broader commercial terms, their slugs should match the collection language shoppers use rather than internal merchandising labels.
Information pages live under Catalog, then Information, and also expose a keyword field. Manufacturer pages are edited under Catalog, then Manufacturers. In newer OpenCart releases you can review and manage every keyword in one place through Design, then SEO URL, which is far faster than opening records one by one. That screen lets you filter by key and value, spot missing entries, and correct conflicts in bulk.
Step Five: Handle Redirects Properly
Changing a URL that already receives traffic or has inbound links without a redirect throws away accumulated value and hands visitors a not found page. Before you edit anything, export a list of your current indexed URLs from your analytics and search console data. After each change, add a permanent redirect from the old address to the new one at the server level.
Group your changes into a single planned migration rather than editing slugs continuously over months. A one-time, fully mapped change is far easier to monitor than a slow drip of individual edits. After the migration, resubmit your sitemap, watch crawl errors for two to four weeks, and fix any redirect chains where one old URL points to another old URL before reaching the final destination.
Troubleshooting Common OpenCart URL Problems
The most frequent error is a message stating that the SEO URL is already in use. OpenCart enforces uniqueness across all keywords, so a product cannot share a slug with a category or another product. Search the SEO URL manager for the conflicting value and rename one of the records.
If clean URLs return a not found error for every page, the rewrite configuration is not active. Verify the .htaccess rename, the rewrite module, and the override permission. If only some pages break, those records are missing keywords. If URLs work but images and stylesheets fail to load, your base URL setting probably lacks a trailing slash or mixes secure and insecure protocols.
Watch out for duplicate access as well. A page reachable through both a clean URL and its original query string form should declare a canonical tag pointing to the clean version, so search engines consolidate signals on one address.
Best Practices to Keep in Place
Keep your URL depth shallow, ideally no more than three levels from the homepage. Decide once whether category paths appear in product URLs and stay consistent, because switching later forces another migration. Use one language slug per language rather than translating on the fly. Never recycle an old slug for a different product, and always update internal links, menus, and banners to point at the final URL instead of relying on redirects.
Getting Expert Help With Your Store
Editing SEO URLs in OpenCart is straightforward once the server, the store setting, and the record keywords are aligned, but the redirect and canonical work around it is where stores usually stumble. If you want the change handled without downtime and paired with a broader growth plan, our team can take it from audit to implementation. We also help ecommerce brands with digital marketing campaigns that amplify the organic gains a clean site structure unlocks.
Want to publish a guest post on aamax.co?
Place an order for a guest post or link insertion today.
Place an Order