Jump to content

【已解决】关于.htaccess 去除数字


babylonjudge

Recommended Posts

开启了友好url
但是这个友好url不太喜欢
论坛的目录页 比如nike sb 最后的尾数会变成35-nike-sb (那个35应该是nike sb这个目录的ID吧)
然后产品页面 比如nike sb 01这个产品 最后尾数会变成nike sb/10-nike-sb-01.htm
现在想要的效果是
nike sb目录 最后尾数变成nike-sb
nike sb 01产品页面 最后尾数变成nike sb/nike-sb-01.htm

不知道如何修改?是否是修改.htaccess文件?

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...