Call Me On 0807 708 8529


By default, WordPress substitutes the prefix / category / in the URL structure before the title of each column. This is not good or bad, it’s just the structure of permanent links in WordPress for the convenience of visitors and for SEO.

But if you want, you can always change the structure of the permanent links and change the name of the prefix for the headings to something else. In this lesson, we show you how to change the Prefix for headings in WordPress settings so that you do not break anything and keep all your links in working order.

What is the Prefix for headings and why should I change it?

Every column on the WordPress site has its own name. You can see all the records of the site by a certain heading, if you just go to its page. For example, the entry you are currently reading belongs to the heading / tutorials /, and you can view the entire contents of this section if you go to

By default, WordPress adds the prefix / category / in the address between the site’s domain and the name of the heading. This helps to distinguish records and pages from headings and labels on WordPress.

For example, if you have a rubric named ‘News’, its address will look like this: category / news /

By the same principle, WordPress adds the prefix / tag / for the tag pages: tag / iphone /

This is the structure of links is SEO-optimal for both the search engines and visitors to the site. And for most sites there is no need to change these settings.

However, if you have a niche site and you want to use another word to indicate your categories, this can be done easily in WordPress settings.

Prefix for headings in the settings of WordPress

To change the prefix for the headings, go to the menu Settings → Permanent links :

In the Advanced section, you can change the prefix for Rubric and the prefix for Marks. Or you can remove it altogether (not recommended).

So, you can change the ‘ category ‘ to ‘ topics ‘, and your link to the News column will now look like this: topics / news /

Do not forget to save the changes by clicking on the button below.

Redirecting links after changing the Prefix for categories

If you change the prefix for the headings on the new site, nothing terrible will happen. But if you do this on a site that already has a lot of content published, this can lead to a 404 error if someone tries to go to the page of the rubric by the old link.

Fortunately, this problem is very easy to fix by setting up the usual redirection.

Install the free plug-in Redirection and go to the Tools → Redirection menu after it is activated.

Go down to the ‘Add new redirection’ section.

If you replaced the prefix category with topics as in the example in this lesson, then just fill in all the fields as shown in the picture below:

In the Source URL field, you enter the old prefix in this form: /category/(.*), where (. *) Means that any reference with the prefix / category /

In the Target URL field, you enter a new prefix in the form: / topics / $ 1, where $ 1 means that you must save any match from (. *) In the same form.

That is, in fact, only / category / on /topics/.

Do not forget to check the box next to Regular expressions and click Add Redirection.

Now when you try to go to a section with the old prefix, you will automatically be redirected to the new prefix.

Removing the prefix for headings in WordPress

If you wish, you can completely abandon the prefix for the categories and delete its name in the settings of WordPress. In this case, the address of the News column will look like this:

And although on our site there is such a setting without the prefixes of the headings, we do not recommend you to do so.

The fact is that the prefix for the headings helps visitors better navigate the site navigation, and the search engines help to see the structure of the site better, which is good for SEO.

There may also be another problem with some plug-ins. For example, if you use an arbitrary structure for Permanent links of the form% postname %, and you abandoned the prefix of the headings, this could lead to an endless loop if the name of the heading coincides with the name of the post.

But if you still want to experiment, take a look at the FV Top Level Categories plugin that will help you completely abandon the prefix for headings.



Leave a Reply

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

Copy Protected by Chetan's WP-Copyprotect.