-
- 84 Posts
I've set "Use Friendly URLs" to "yes" and "Use Friendly Alias Path" to "no".
I would like to make one exception to this rule and that are my blogposts.
All blogposts are in a resource made with Grid Class Key, so all blogposts are also put directly under the mysite.nl, like mysite.nl/blogpost-1.
For the blogposts I would like to make an exception, so it will be like mysite.nl/blog/blogpost-1.
Now I have done this manually for each post by using "Freeze URL".
Is there a way to do this automatically when creating a new blogpost?
-
- 5,888 Posts
this could be done with a plugin at 'onDocFormSave'
-
- 84 Posts
Thanks Bruno.
My php knowledge is too limited to make it work, so I'll try it in the future....