opencart seo url rewriting

大城市里の小女人 提交于 2019-12-07 00:10:48

To do this, you would really need to add an SEO keyword field in the admin, then add the keywords to the url_alias table as they are edited. You will also need to use blog_id=XXX in place of for example product_id=XXX. Easiest way to do this would be to copy the code from one of the core code types (product, category, manufacturer or information files) and how they do this in their model files. After this, you just need to handle the seo urls in the common/seo_url.php you have above to get the links running (again you just need to replicate one of the four types that are part of the core)

If this is a commercial mod you've bought, I would actually get in touch with the developer. It's likely they will have a solution for this, and if not it would be in their interest to add it for future customers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!