Hello, is it possible to remove category/subcategory from product URL?
For example:
www.domain.com/category/subcategory/product1
www.domain.com/category/product1
TO:
www.domain.com/product1
I want when you click from category page to a product to remove category and subcategory from product URL.
Thanks
For example:
www.domain.com/category/subcategory/product1
www.domain.com/category/product1
TO:
www.domain.com/product1
I want when you click from category page to a product to remove category and subcategory from product URL.
Thanks
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
I believe there are plenty of SEO extensions that do this sort of thing.ADD Creative wrote: ↑Fri Oct 18, 2024 6:54 pmYou would have to modify the code or use and extension for that.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Legendary Member
Would you recommend some?paulfeakins wrote: ↑Fri Oct 18, 2024 7:12 pmI believe there are plenty of SEO extensions that do this sort of thing.ADD Creative wrote: ↑Fri Oct 18, 2024 6:54 pmYou would have to modify the code or use and extension for that.
Thanks
Only this list of trusted developers: https://www.antropy.co.uk/blog/good-qua ... xtensions/
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Legendary Member
Why? I don't entirely know, but woud having the category in the URL not help with search? Seems counter productive.
-
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS
The issue probably is that the canonical tag and site map links don't have the categories in the URL. This gives search engines mixed signals as the on site links don't match the other links. At the very least it wastes crawl budget, especially on large sites when you multiply it by all the URL parameter combinations.
The issue with removing the categories is you will lose breadcrumbs, which could be counter productive for user experience. The canonical URL is the most likely to be indexed and this will be missing breadcrumbs and the categories in the URL anyway.
If the canonical url differs from the advertised url, it means an additional crawl per product at most.ADD Creative wrote: ↑Sat Oct 26, 2024 6:28 pmThe issue probably is that the canonical tag and site map links don't have the categories in the URL. This gives search engines mixed signals as the on site links don't match the other links. At the very least it wastes crawl budget, especially on large sites when you multiply it by all the URL parameter combinations.
The issue with removing the categories is you will lose breadcrumbs, which could be counter productive for user experience. The canonical URL is the most likely to be indexed and this will be missing breadcrumbs and the categories in the URL anyway.
By the way, the OC google sitemap feed prints out both the product urls with and without categories, which, in the former case, is rather useless when the canonical is set to without.
That issue was fixed from 3.0.3.8 onwards.nonnedelectari wrote: ↑Sat Oct 26, 2024 9:09 pmBy the way, the OC google sitemap feed prints out both the product urls with and without categories, which, in the former case, is rather useless when the canonical is set to without.
ah, good.ADD Creative wrote: ↑Sat Oct 26, 2024 11:58 pmThat issue was fixed from 3.0.3.8 onwards.nonnedelectari wrote: ↑Sat Oct 26, 2024 9:09 pmBy the way, the OC google sitemap feed prints out both the product urls with and without categories, which, in the former case, is rather useless when the canonical is set to without.
For removing category and subcategory paths from product URLs, our Complete SEO extension is a great solution. It lets you create clean, simplified URLs and offers additional SEO tools to boost your store’s visibility. Check it out here: Complete SEO Package.
Best quality modules - Top support - Check GeekoDev Extensions
Who is online
Users browsing this forum: Semrush [Bot] and 13 guests