コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
2673 ビュー

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
2019
3
3月 25
2921
0
12月 23
1414
0
9月 23
1143
0
3月 24
1001