How To Change Categories’ URLs In WordPress

Changing URL is something you shouldn’t do frequently because of SEO. However, there are times you need to change the URL to reflect the content of your pages/posts.

In WordPress, you can choose to include the category in the URL. For example, my permalink structure is:

category in permalink
category in permalink

Then my post URL will container the category. For example, I have an article in the World News category. The URL of that post will be

Now, for example, I would like the change the world-news into breaking-news. How would I do that?

Let me show you how.

How to change the category in your post URL

First, you need to go to Posts->Categories. You will see your category listed there:

 

List of categories
List of categories

As you can see, the category we want to change is World News. If you notice at the right of World News row, there is field called slug. This is what displays in the URL of every posts of that category.

Now, if we want to change world-news to breaking-news, simply change the slug to breaking-news.

Step 1: Click on Quick Edit link under World News

Quick Edit category
Quick Edit category

Step 2: Change the slug to breaking-news. Remember, you don’t need to change the name to Breaking News to update the URL. Changing the slug only is sufficient.

Step 3: Hit the Update Category button

Now, if I view the URL of the post mentioned at the beginning of the article, I can see the new category slug:

So, that’s how you change the category name in the URL. However, it is not recommended to change the URL of any pages/posts frequently because it will take time for search engines to update your new URL. After changing the URL, you also should do a redirect from the old url to the new URL to make sure when the visitors go to the old URL, they will get redirected to the new URL, not a 404 page.

Extract List Of Unique Words From a Book, Article (Supports .txt, .pdf format)

As an ESL, I usually wonder: “how many words I need to know to speak English well?”. I read somewhere that you don’t need more than 2,000 words to carry out 99% of daily conversations. 2,000 words don’t seem to be a lot and if I can learn 10 words a day, I can be conversational in any language in just 200 days (less than a year).

So, what if I want to enjoy the novels, books in English, how many words I need to know.

I doubt the number would be a lot more than 2,000 words.

So I made a tool to read all the text in a book (you can select more than one book in .pdf or .txt format) and it will export all the words in that book into a table.

Here are some results:

Adventures of Huckleberry Finn

As you can see at the top, there are 6461 different words in this book.

Wuthering Heights

for Wuthering Heights, you need to know 9,456 words.

That’s a lot of words.

The numbers aren’t 100% correct. There are some gibberish such as website address, two letter (like country codes) may get in the list. However, you can roughly estimate that there are 95% of the numbers are real words.

I find that this is a good way to quickly find out new words that I don’t know. I can click on the words to get the definition (if available) on the right.

You can download the program here for free. If you have any suggestion, please let me know.

Download Word Extraction app here