I have OC v4.0.2.3 installed.
How to get the SEO path without /en-gb/product/ ?
The existing path always show up like: mysite.com/en-gb/product/my-product-name/,
I want all products listing to get their individual SEO path like this: mysite.com/my-product-name/
Please advise. Thanks in advance!
How come "?route=product/product&language=en-gb" always follow the product's url instead?
Such as: mysite.com/my-product?route=product/product&language=en-gb
I want simply like: mysite.com/my-product.
Please help how to make it. Thanks in advance!
have you set up SEO urls, and set up each product / page with its own url?harap wrote: ↑Wed Sep 27, 2023 1:12 pmI deleted the en-gb and product keyword from Design>SEO.
How come "?route=product/product&language=en-gb" always follow the product's url instead?
Such as: mysite.com/my-product?route=product/product&language=en-gb
I want simply like: mysite.com/my-product.
Please help how to make it. Thanks in advance!
here is how to for OC.3.X i have never setup SEO iv OC4.x but im sure it will be almost the same
https://www.opencart.com/blog?blog_id=206
another good page again for OC3.x but worth a read
https://webocreation.com/25-seo-best-pr ... #gsc.tab=0
https://www.waxedperfection.co.uk/ Car Detailing Product Blog's and Review's
That's how OC 3 worked, is this not possible in OC 4?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Maybe it is / was https://webocreation.com/how-to-remove- ... #gsc.tab=0
i will let your professional eye cast over it.
https://www.waxedperfection.co.uk/ Car Detailing Product Blog's and Review's
According to: https://webocreation.com/how-to-remove- ... #gsc.tab=0WaxedPerfection wrote: ↑Wed Sep 27, 2023 8:24 pmMaybe it is / was https://webocreation.com/how-to-remove- ... #gsc.tab=0
i will let your professional eye cast over it.
I tested by replacing with:
if (!$js) {
return str_replace('en-gb/', '', str_replace('&', '&', $url));
} else {
return str_replace('en-gb/', '',$url);
}
It is not working.
https://www.waxedperfection.co.uk/ Car Detailing Product Blog's and Review's
That is a shame for people who wanted cleaner URLs but probably not going to cause any SEO problems.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
I want to use the same SEO url for my product url on OC 4.0.2.3 to migrate from OC 2x.
Hope this mission is possible.
You could set up 301 redirects in your .htaccess.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
I need some help with this as well.
I am using OC Version 4.0.2.1.
using Journal theme
I have enabled SEO URLs in System>Settings>Store>Server>Use SEO URLs
I have renamed .htaccess and RewriteEngine is ON
I do NOT have 'en-gb', 'information', 'manufacturers', 'product' or categories or any other keywords in Design>SEO URL
I have all above on my site
(Not sure if I need this and if yes, do not know what to add)
My site is not showing SEO-friendly URLs, it keeps showing me
mysite.com/my-product?route=product/product&language=en-gb
When adding 'en-gb' to Design>SEO URL it makes the SEO URL work but the page redirects back to the home page for all categories, information pages, products, and manufacturers. (but shows /en-gb/ in the path which I do not want)
I simply want clean URLs like
mysite.com/product
mysite.com/category
mysite.com/information-page
mysite.com/manufacturer
Thank you in advance for your help.
This looks like a different problem so please start a new post.briggsbridget2 wrote: ↑Thu Oct 12, 2023 4:41 amMy site is not showing SEO-friendly URLs, it keeps showing me
mysite.com/my-product?route=product/product&language=en-gb
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
You have installed Journal3.2 or a other template with sample data??briggsbridget2 wrote: ↑Thu Oct 12, 2023 4:41 am
My site is not showing SEO-friendly URLs, it keeps showing me
mysite.com/my-product?route=product/product&language=en-gb
When yes, then the original seo_url entries from the standard installation are deleted.
Code: Select all
(0, 1, 'information_id', '1', 'about-us', 0),
(0, 1, 'information_id', '2', 'terms', 0),
(0, 1, 'information_id', '4', 'delivery', 0),
(0, 1, 'information_id', '3', 'privacy', 0),
(0, 1, 'language', 'en-gb', 'en-gb', -2),
(0, 1, 'route', 'information/information.info', 'info', 0),
(0, 1, 'route', 'information/information', 'information', -1),
(0, 1, 'route', 'product/product', 'product', -1),
(0, 1, 'route', 'product/category', 'catalog', -1),
(0, 1, 'route', 'product/manufacturer', 'brands', -1);
After manual insert the missing parts you have no route=product/product&language=en-gb in your url, but mysite.com/en-gb/product/my-product
And then: Welcome to this thread

you can try to remove the above code from product controller.
https://www.ectransistors.com/
https://www.transistormosfet.com/
Sounds like a random guess that might break stuff ...chongshengdz wrote: ↑Wed Nov 29, 2023 2:52 amroute=product/product&language=en-gb
you can try to remove the above code from product controller.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Users browsing this forum: No registered users and 6 guests