How To Eliminate Numbers From WordPress Links (url’s)

52

Few days ago one of our readers sent us email asking the question how to remove numbers from WordPress post & page links. By default, WordPress utilizes post IDs (numbers) instead of beautiful keyword text in the URLs. This is not good for SEO. In other instances, WordPress will add a -two in front of your post, page, category, or tag URLs which just looks dire in front of users. In this article, we will display you how to remove numbers from WordPress URLs.

Permalink URL Arrangement:

WordPress has made in support for SEO friendly URL arrangement. All you require to do is to open Settings » Permalinks page in the admin area & select a URL structure for your website. There are lots of options available. We suggest selecting a URL arrangement that displays your post name in the URL because it is SEO gracious & will assist others find out your website in search engines. Once you have setup permalinks you require to save your changes. WordPress will now mechanically alter URLs for all your earlier posts also. Do not take stress if you have posted the older URLs anywhere because WordPress will automatically redirect those customers to new URLs.

Permalink URL Structure

Custom Slug:

Even though you are utilizing beautiful Permalinks now, you may still desire to eliminate numbers in your post URL. The most ordinary cause for this is when you are publishing a post that has no name or title.

Keep in mind, WordPress chooses the text to show in URL from your post’s heading, so if your post does not have a name or title, then WordPress will utilize the post’s ID in the URL. You can manually tell WordPress what to utilize in the URL instead of the post number.

Custom Slug

Just below the post heading, you will observe your post’s URL with an Edit button next to it. Clicking on the edit button will build the URL editable. This editable element is called post-slug. You can enter the text you would like to utilize as post slug in the URL.

Duplicate Pages & Post:

From time to time even when you edit the custom slug, the -2 continues to be added in your URLs. For instance you generate a new about page & your URL looks like this:

http://yoursite.com/about-2/

Now would not you desire to remove that -2, & just have it as /about/. This trouble happens when you have the similar slug being utilized already. Make sure all your pages & posts to see that there is not any that has the similar slug (i.e /about/). If you discover one, then you require deleting it unless you are using it. More often than not, you won’t discover an active page with the similar slug.

This is when you require seeming in the Trash folder. When you trash a WordPress page or post, it is not completely deleted. It sits in the trash for thirty days before it obtains eternally deleted. This is done to provide you an opportunity to renovate trashed item if you by chance deleted them. As long as the post or page stays in the trash, the slug can’t be re-used. So if you desire to re-use the /about/ slug, then you must remove the ‘About page’ sitting in the trash folder. Once you do that, you should be capable to edit your slug like the way shown above & remove the -2.

About the author / 

admin

Leave a reply

Your email address will not be published. Required fields are marked *

Combo Widget