Page 1 of 1
SEO URL not working for categories from the menu
Posted: Wed Sep 10, 2014 2:13 am
by dynamoproductions
Hello, i have the following problem with a client e-commerce. If i click from the Categories panel i get a correct SEO URL, i.e.
But if i click the menu PRODOTTI and then a category i will get a non SEO URL:
Code: Select all
http://www.qnim.eu/index.php?route=product/category&path=59
Image:
https://docs.google.com/file/d/0BwpRfco ... p=drivesdk
Is it a configuration problem or a template problem?
thanks
Re: SEO URL not working for categories from the menu
Posted: Wed Sep 10, 2014 2:45 pm
by imdevlper18
It is minor issue.
you need to assign a seo rewrite to category url on product page.
Re: SEO URL not working for categories from the menu
Posted: Sat May 02, 2015 7:26 am
by xlam
dynamoproductions wrote:Hello, i have the following problem with a client e-commerce. If i click from the Categories panel i get a correct SEO URL, i.e.
But if i click the menu PRODOTTI and then a category i will get a non SEO URL:
Code: Select all
http://www.qnim.eu/index.php?route=product/category&path=59
Image:
https://docs.google.com/file/d/0BwpRfco ... p=drivesdk
Is it a configuration problem or a template problem?
thanks
I got same problem like this...does any body fix this issue?
Re: SEO URL not working for categories from the menu
Posted: Tue May 18, 2021 1:34 am
by Tee.Mothiba
Hi
I have the same problem on oc 3.0
If i click my categories under the mega menu i get the correct seo url however if i click on the same category from the product page i get an unfriendly url.
For instance
https://braga.co.za/oem-satnav has several child pages,
https://braga.co.za/oem-satnav/a-c-gps
https://braga.co.za/oem-satnav/a-c-gps/acura-navigation
If i click acura-navigation on the mega menu the correct url is displayed
if i click the same category on the product page screen, i get an unfriendly url
here's a snippet snippet of my .htaccess
RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L]
RewriteRule ^system/storage/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
Worthy to mention that product pages seem to be working fine except for category pages only
Seo changes i have made accordingly
- Rename .htaccess.txt to .htaccess
- Enable Seo rewrite under system>settings>server
- Assigned seo url on the category page
Re: SEO URL not working for categories from the menu
Posted: Wed May 31, 2023 2:24 am
by turanmammad
Have a nice day!
I am also having the same problem. The seo links on the products are working correctly. However, the links do not work on category and information pages, cart pages. I made all the settings correctly. I have set the htaccess file correctly. seo url active from settings.
If anyone finds a solution, please help me.
Re: SEO URL not working for categories from the menu
Posted: Wed May 31, 2023 10:30 pm
by khnaz35
Here are a couple of things you could try:
Check the Code Generating the URLs: The problem could be that the code which generates the URLs on the product page is different from the one on the mega menu. This could be in your theme or in a module. You would need to look at the PHP files that generate these pages and see how the URLs are being formed. For instance, check the catalog/controller/product/product.php and the corresponding file for your menu.
Check SEO Keyword Assignment: Make sure that the SEO URLs are correctly set up in the OpenCart admin area. You've mentioned that you've assigned SEO URLs on the category page, so it would be a good idea to double-check these settings.
Review any Extensions/Modules affecting URL formation.
IF nothing works you may hire a professional to look at it.