Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
2672 Prikazi

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
Opusti
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
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
okt. 22
2016
3
mar. 25
2921
0
dec. 23
1411
0
sep. 23
1142
0
mar. 24
1000