How To Change Your URL Style in WordPress
Your URL format in WordPress, also known as "Permalinks" within WordPress, allow you to specify how you would like a post’s URL to appear. By default, WordPress will append the page ID number.
To change the Permalink settings, in the back end of WordPress, click Settings > Permalinks.
Choose the format you prefer or create one using the Custom Structure. Click Save Changes.