简体   繁体   English

Magento URL重写问题

[英]Magento URL Rewrite Issue

thanks in advance for looking at my post. 预先感谢您浏览我的帖子。

I am getting quite confused about my Magento URLS 我对Magento URL感到非常困惑

At present my URL appears like: http://exache.com/varifocal-vandal-proof-1080p-dome-camera 目前,我的网址如下所示: http : //exache.com/varifocal-vandal-proof-1080p-dome-camera

However I want it to appear like http://exache.com/cameras/dome-cameras/varifocal-vandal-proof-1080p-dome-camera 但是我希望它看起来像http://exache.com/cameras/dome-cameras/varifocal-vandal-proof-1080p-dome-camera

So instead of domain/product I would like it to appear domain/parent-category/sub-category/proudct.. 因此,我希望它不是域/产品,而是域/父类别/子类别/产品。

Can anyone help? 有人可以帮忙吗?

Okay, Try following: 好的,请尝试以下操作:

  1. Login to Magento Admin 登录到Magento管理员
  2. Go to Catalog Configuraiton. 转到目录配置。 (System -> Configuraiton -> Catalog) (系统->配置->目录)
  3. There, you'll see Search Engine Optimizations section (on right column) 在那里,您会看到“搜索引擎优化”部分(在右列)
  4. Expand that and Select Yes to "Use Categories Path for Product URLs" 展开它,然后选择“是”以“使用产品URL的类别路径”
  5. Save config 保存配置

Refresh cache and try browsing front-end. 刷新缓存,然后尝试浏览前端。

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

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