How to get permalink of post based on post name? November 23, 2022 by Tarik Billa You need to change your permalink structure from Plain to Post Name. For that, Go to Settings > Permalinks