Step 1: Log in to your WordPress admin dashboard.
Step 2: Hover over the "Settings" link in the side-bar and click on "Permalinks".
Available Formats:
Plain - https://domain.com/?p=123
Day and name - https://domain.com/2021/10/22/sample-post/
Month and name - https://domain.com/2021/10/sample-post/
Numeric - https://domain.com/archives/123
Post name - https://domain.com/sample-post/
Custom Structure - https://domain.com.xyz/%postname%/