Skip to Main Content

Permalink: How to customize your blog links

Divi: the easiest WordPress theme to use

Divi: The best WordPress theme of all time!

With over 701.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates. [Recommended]

Recently, one of our readers asked us:

What should be done to get rid of the numbers that are usually present by default on all the article and page links of my WordPress blog ?

In other words how to change the link structure (Permaliens) from his WordPress website.

Indeed, by default, WordPress uses the identifiers (which are numbers), in order to access content via the URL. 

This practice unfortunately has the merit of being very bad, especially for the SEO Google. In other cases, WordPress will add a " -2 After each publication name, page, category, or tag in the " slug Of the page (URL).

In this article, we are going to show you how to change your permalinks to get rid of the numbers in your WordPress URLs.

But, if you've never installed WordPress discover How to Install a WordPress Blog in 7 Steps et How to search, install and activate a WordPress theme on your blog 

But back to why we are here.

The structure of Permalinks

WordPress has built-in support, which allows you to change the structure of your links. All you have to do is navigate to the " Settings >> Permalinks And choose a format for your links. There are many options there.

Discover also with us How to create custom Permalinks on WordPress

We recommend that you choose a URL structure that displays the post title in the URL, as it is very useful in SEO and it allows visitors to discover your blog structure in search engines. 

Once you have completed your changes, save them.

how-customize-your-permalinks

WordPress will automatically change the URLs of all your posts, even older ones that will now become unavailable in their current form. Don't worry, if your permalinks were in the former form 

(example: http:// yourblog.com /?= 10 )

redirects will be automatic to the new form

(example: http:// votreblog.com /Title-of-the-page).

Custom slug

Even if you use better Permalinks, you may still want to get rid of the numbers in your URL. One of the reasons for this urge is that when you publish an article that does not have a title, WordPress will use a process to assign a link to the post.

Read also: How to publish your articles by email on WordPress

Easily create your website with Elementor

Elementor allows you to easily create any website design with a professional look. Stop paying expensive for what you can do yourself. [Free]

Remember, WordPress chooses the title of your post or page in the URL of your post or page, if the latter does not have a title, WordPress uses its identifier (ID) in the URL. You can manually ask WordPress what to use in the URL instead of the post or page number.

Discover also: How to schedule posting articles to your WordPress blog

Right below the post or page title, you'll see your post's URL with a " Edit " beside. By clicking on the button, the URL will be editable. This modifiable part is called " post-slug " You can enter the text you want to use as " post-slug In the URL.

Note: You can only add letters, numbers and dashes in the URL slug.

change-the-permalink

Duplicate messages and pages.

Sometimes even when you change the slug personalized, the text -2 »Continues to be added to your URLs. For example, you create a new post, and your URL looks like this:

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

Now you want to get rid of the " -2 So that the link ends rather like this /help ". This problem occurs when you have the same slug already in use.

Here too for you 5 WordPress plugins to visually edit CSS to discover absolutely.

Consult all your items and pages, to make sure that no other article uses the same slug. If you find one then you should delete it unless you are still using it. 

More often, you won't find an active page with the same slug.

Check your recycle bin. Because when an article or WordPress page is moved to the trash, it is not entirely deleted. It will remain in the recycle bin for 30 days before being permanently deleted.

See also: How to integrate a Google form on WordPress

This is a measure to give you an option to restore the deleted article or page if you accidentally deleted them.

As long as the publication or page remains in the trash, the slug of this publication can not be used. So to use it again you need to delete the article using this " slug », From the recycle bin. Once you have done this you should be able to change your " slug As stated above and get rid of the text " -2 ».

Are you looking for the best WordPress themes and plugins?

Download the best plugins and WordPress themes on Envato and easily create your website. Already more than 49.720.000 downloads. [EXCLUSIVE]

Read also our article on 5 WordPress plugins to better manage your newsletter

This technique also works for categories and tags.

Discover also some themes and premium WordPress plugins  

You can use other WordPress plugins to give a modern look and optimize the grip of your blog or website.

We offer you here some premium WordPress plugins that will help you do that.

1. WP Rocket

WP Rocket is the best premium WordPress caching plugin on the market. It is the simplest and most user friendly caching plugin, which is very useful if you don't know the technical terms used for different caching options.wprocket plugin

It allows users to instantly cache their website with one click. Its robot automatically retrieves your WordPress pages to build up the cache, then it automatically activates recommended WordPress caching settings, such as gzip compression, page cache, and cache preloading.

Discover also our 10 WordPress plugins for firewalls to optimize the security of your website

WP Rocket also includes optional features that you can enable to further improve performance. What includes Lazy Loading images, support for CDN, DNS prefetching, minification, etc ...

Download | Demo |Web hosting

2. Zoom Gallery

Zoom Gallery is a WordPress plugin premium powerful and responsive that will help you create a wonderful gallery of images in your website, with the aim of presenting your images in the most beautiful and intuitive way.Zoom Gallery wordpress plugins add gallery portfolio website blog

This gallery will be ideal for anyone looking to post many photos on their website in a grid layout. Its code is clean and light, so its installation will not affect the performance of your website.

Increase your knowledge in slider by consulting our 5 excellent premium WordPress plugins to add a slider

Its features include: compatibility with the Visual Composer plugin, a 100% responsive layout, quick and easy installation, intuitive handling and much more

Download Demo |  Web hosting

3. Yellow Pencil: Visual CSS Style Editor

Yellow Pencil is a visual style editor that you can use with any theme to personalize your website in minutes (fonts, colors, animations and more…).YellowPencil Visual CSS Style Editor wordpress plugin

This premium WordPress plugin will create CSS styles in background while you play with the colors as if it were a game. It was designed for beginners as well as experienced users.

Discover also our 5 plugins WordPress to show notifications

No coding knowledge is required. However, the WordPress plugin has a good CSS editor for those who like to code. You can code live with this editor and customize your CSS.

Easily create your Online Store

Download free WooCommerce, the best e-commerce plugins to sell your physical and digital products on WordPress. [Recommended]

Download | Demo | Web hosting

Recommended Resources

Find out about other recommended resources to help you build and manage your website.

Conclusion

Here ! That's it for this article. We hope this article has helped you get rid of the numbers in your URLs WordPress. If you have suggestions or remarks, leave them in our section Comments.

However, you will also be able to consult our resources, if you need more elements to carry out your projects of creation of Internet sites, by consulting our guide on the WordPress blog creation.

Do not hesitate to share with your friends on your favorite social networks

... 

This article features 5 comments

  1. Hello and bravo for the work and the quality of the articles, very interesting

    I'm looking for an accurate info and after having browsed the net in french, I'm still not enlightened ?!

    So question: how do you manage to have on google results a "space" instead of a "dash" between the words of the title of the article AND a ">" instead of the usual slash "/"

    Right here : https://blogpascher.com > Blog> WordPress Tutorial

    Thank you very much for your insight & see you soon!

    Ghizlane

      1. Thanks for the reply, I looked at your article, but there is no information about it and I have already peeled Yoast SEo but no apparent adjustment of this type of display.

        Can you tell me how it is set for your site?
        (since the google display of blogpascher looks like what I want to have)

Leave a comment

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

This site uses Akismet to reduce unwanted. Learn more about how your comments data is used.

Back To Top
7 shares
Share6
tweet1
Save