Creating URLs for your site is more important for increase SEO. You need to select proper URL for pages.
Default WordPress URL structure was not SEO friendly at all.
Good SEO practices for URLs is to keep them under 100 characters long, to use dashes instead of underscores and to avoid special characters.
This URL doesn’t have any significance to your user.
This URL is clean, each folder (“technology” and “php” in the URL) makes sense, and it gives us a pretty good idea of what we’ll find when we visit the page (technology php).
How to Creating Great URLs
- It should be obvious: If a user can look at your URL and make an accurate guess about the contents of your page, you’re on the right track.
- Use keywords when you can:Those keywords that you spent so much time researching for your content can be used in your URL. Name your folders accordingly, using the keywords where appropriate.
- Shorter is better:A short URL is easier to copy and paste, say, and write.
- Never use multiple subdomains:
- Avoid too many folders: A folder creates one more layer that search engines have to crawl through—omit unnecessary folders from your site structure.
- Don’t use uppercase characters:Keep your URLs simple and concise by always using lowercase text.
- Don’t use any symbols:Search engines treat dynamic and static URLs differently, so keep yours static—that means no random characters. “?^&” means nothing to your user. If your website is in the CMS, then you have nothing to worry about—all CMS URLs are static.
The Permalink Settings Page :
In WordPress, links are called Permalinks.
First thing you need to do is to visit the Permalinks settings page in your WordPress admin area.
Simply click on Settings link in the admin menu and then click on Permalinks. This will take you to a page that looks like this:
Plain : The first option which is called plain used to be the default WordPress URL structure. This is not an SEO friendly option.
The day and name option is somewhat SEO friendly as it has the post name in it. However, with dates, the URL becomes too lengthy. But more importantly after some time your content seems outdated, even if you regularly update it. Similarly, the month and name option also runs the risk of being dated.
For news publication, then you want to have the dates in your URL to show the recency and improve the user experience.
Post name option is the most SEO friendly because it is short and pretty.
If you are running a larger publication, then you can use a custom structure that can also be SEO friendly.
Custom URL structure, you will need to add special tags in the custom structure box. For example, we use:
Notice how each tag is wrapped between percent signs. Also notice the trailing slashes / before, after, and between the tags.
reating Custom URL Structure with Available Tags
For the best results, we recommend using the options we mentioned above. You can copy the URL structure we use on WPBeginner or choose the post name as your URL structure.
Following are list of tags that you can use to create your own custom URL structure:
- %year% – The year of the post, four digits, for example 2018.
- %monthnum% – Month of the year, for example 07
- %day% – Day of the month, for example 28
- %hour% – Hour of the day, for example 22
- %minute% – Minute of the hour, for example 33
- %second% – Second of the minute, for example 44
- %postname% – A sanitized version of the title of the post (post slug field on Edit Post/Page panel). For example, if your post title is This Is A Great Post! It would become this-is-a-great-post in the URL.
- %post_id% – The unique ID # of the post, for example 284
- %category% – A sanitized version of the category name (category slug field on New/Edit Category panel).
- %author% – A sanitized version of the author name.
Save changes button after choosing your permalink structure.