The first and most important step to do after installing wordpress from your hosting provider is to check the permalink structure.
After a successful wordpress installation, we need to check the permalink structure before adding any theme or plugin is the best practice to avoid SEO errors in the future.
Permalink structure is important for user experience and for Google search engine bots to crawl and identify what the page is about and index your website for web visitors to get relevant content on search. The permalink needs to be common for all pages and not to be changed in between.
We can use different URL structure based on the website needs which is okay, but it has to be easy for humans to understand the URL structure to make it more user experience.
Step 1: On WordPress Dashboard >> Hover over Settings on the bottom >> Click Permalinks
The permalink is usually set to Date and Time format or custom structure with unnecessary tags.
We need to change it to Post name. If it's already selected to Post name by default then you can just click Save again.
Bad Permalink Structure looks like this, let's fix that.
Step 2: Change the Permalink to the Post name and Click Save Changes.
Now you have set the permalink to the best format, you can also add category, category base or tag base etc.
Note: Shorter url's are better.