简体   繁体   English

Opencart中类别页面的URL修改

[英]URL Modification for category pages in opencart

WE are working with opencart for website and i have problem with category pages url , when i am giving unique url for a category using admin panel or bulk data upload using export/import toll for categories it is not working properly and on the front end it is showing category not found or page not found error.I tried deleting duplicate url's in oc_url_alias table and also i am providing unique url for the category when i am creating a new one. 我们正在与opencart一起使用网站,我对类别页面url有问题,当我使用管理面板为类别提供唯一的url或使用类别的导出/导入通行费上传大量数据时,它无法正常工作,并且在前端显示未找到类别或未找到页面错误。我尝试删除oc_url_alias表中的重复网址,并且在创建新网址时,我为该类别提供了唯一网址。 We have subcategories under main category and if i am trying to add url for any subcategory then also the category pages are throwing some error , can anyone suggest a way to solve this because i don't want the custom url path which will come for categories in opencart like (www.domain.com/index.php?route=product/category&path=1_2) and we are trying to add seo freindly urls for all the pages 我们在主类别下有子类别,如果我要为任何子类别添加url,那么类别页面也会抛出一些错误,有人可以建议解决此问题的方法,因为我不希望将用于类别的自定义url路径在像(www.domain.com/index.php?route=product/category&path=1_2)这样的opencart中,我们正在尝试为所有页面添加seo友善的url

Hope you enabled seo url from admin and renamed htaccess.txt to .htaccess in root dir 希望您从管理员启用seo url,并将htaccess.txt重命名为root目录中的.htaccess

and if still not working, must be issue with your export / import extension 如果仍然无法使用,则必须与您的导出/导入扩展名有关

if there is 2 values for single category id in database, it will also through error 如果数据库中的单个类别ID有2个值,则也会出现错误

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM