php - add category to url for only posts of particular category in Wordpress


I am aware that I can change the url structure using/%category%/%postname%/ to show the category in the url but I only want this effect for posts with category ='Articles'.

How can this be achieved?




You could use a plugin for that, try redirection or custom-post-type-permalinks

People are also looking for solutions to the problem: php - How does the mysqli execute function work internally?


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.