We are currently having URL structure as domain.com/category/sub-category/product-name , We want this to be changed to domain.com/product-name by removing /category/sub-category from the product page urls.
Also another thing is when once we done this to avoid 404 errors, how can 301 redirect all old urls to new urls
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk
From a SEO perspective it doesn't make any difference. Just make sure the link canonicals are correct on your product page, they should be without cateory path by default.We are currently having URL structure as domain.com/category/sub-category/product-name , We want this to be changed to domain.com/product-name by removing /category/sub-category from the product page urls
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
What do you mean by making suree link canonicals are correct i.e currently we are seeing /category/sub-category structure, how to remove that? can you please elaborate on how to do in opencart 2.2?JNeuhoff wrote: ↑Sat Apr 17, 2021 6:20 pmFrom a SEO perspective it doesn't make any difference. Just make sure the link canonicals are correct on your product page, they should be without cateory path by default.We are currently having URL structure as domain.com/category/sub-category/product-name , We want this to be changed to domain.com/product-name by removing /category/sub-category from the product page urls
Code: Select all
<link href="https://example.com/kingston-128mb" rel="canonical" />
/storage/flash-memory/kingston-128mb
/storage/kingston-128mb
/accessories/kingston-128mb
/kingston-128mb
etc.
A product can belong to different categories, including lower level categories. This makes perfect sense for user-friendly navigation and URLs. But for SEO purposes the link canonical is generated as described above. See this Google docs for more information.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Users browsing this forum: Google [Bot] and 262 guests