Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
2818 Tampilan

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

Avatar
Buang
Jawaban Terbai

Hi Mohammed,

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

and override this method and change.

Thanks

Avatar
Buang
Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Okt 22
2128
3
Mar 25
3157
0
Des 23
1547
0
Sep 23
1277
0
Mar 24
1114