Skip to Content
Menú
This question has been flagged
2 Respostes
2656 Vistes

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
Descartar
Best Answer

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
Descartar
Best Answer

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
Descartar
Related Posts Respostes Vistes Activitat
0
d’oct. 22
2003
3
de març 25
2906
0
de des. 23
1409
0
de set. 23
1135
0
de març 24
997