跳至内容
菜单
此问题已终结
2 回复
2705 查看

I am working on a website module and blogs. In terms of the Blog- URL, I would like to remove the ID from the URL, does anyone can help me with this issue? 

For instance, 

the current behavior is 

http://localhost/blog/blog-12/post-13

How to convert the above-mentioned URL to the expected behavior as follows:

http://localhost/blog/blog/post

形象
丢弃
最佳答案

Hi Mohammed,

Based on your requirement you need to inherit blog.post model in your custom module.

and override this method and change.

Thanks

形象
丢弃
最佳答案

Hi

We have the same need

how to remove those ids from the urls

it looks not good at all, for visitors and also for Google

形象
丢弃
相关帖文 回复 查看 活动
0
10月 22
2043
3
3月 25
2941
0
12月 23
1424
0
9月 23
1150
0
3月 24
1007