February 7, 2024

Remove Category from WordPress URL Via Custom Permalink Structure

Play Video

Removing unnecessary elements from your WordPress URLs can significantly improve your website’s aesthetics and SEO. One common issue WordPress users encounter is the inclusion of the word ‘category’ in category page URLs. This tutorial demonstrates how to remove the category from WordPress URLs using the Custom Structure setting in WordPress, ensuring a cleaner and more professional-looking website.


What is a Permalink Structure?

Understanding WordPress permalinks and their impact on SEO is crucial. Permalinks are the permanent URLs to your individual posts, categories, and other lists of webpage postings. A well-structured URL not only provides users with a clear idea of what the webpage is about but also improves search engine rankings.


Instructions to Remove Category from WordPress URL

  1. Navigate to Settings > Permalinks.
  2. Find the ‘Custom Structure’ option and ensure that the shortcode for the category, (%category%) is included in your URL structure.
    Find the 'Custom Structure' option
  3. Enter a period (.) in the ‘Category base’ field and click ‘Save Changes’ to apply the new settings.
    Enter a period (.) in the 'Category base' field and click 'Save Changes' to apply the new settings

    Tip: Adding a period in the category base effectively removes the ‘category’ word from your URLs.

  1. Test your updated URLs by visiting a category page on your site.

    Note: If you have existing category pages indexed in search engines, consider setting up 301 redirects to avoid 404 errors.


Official Documentation


Remove Category from WordPress URL – Conclusion

By following these simple steps, you can effectively remove the word ‘category’ from your WordPress URLs, leading to cleaner, more SEO-friendly links. Remember to handle redirects for any previously indexed category pages to maintain your site’s SEO health.

Credit to WPLearningLab
WPLearningLab is a YouTube channel dedicated to providing comprehensive WordPress tutorials and resources for users of all skill levels. With a focus on simplifying complex concepts, the channel offers valuable insights on themes, plugins, and site optimization, as well as troubleshooting tips and best practices for creating and maintaining a successful WordPress website.
Visit
Remove Category from WordPress URL Via Custom Permalink Structure
Welcome back!
Enter your Helwp credentials to sign in.

No Account yet? Sign Up

My Account
Menu
Give Feedback
Describe your feedback *
Rate Helwp
Share
Facebook
Twitter
LinkedIn
Reddit
Email
WhatsApp
Telegram
Pocket
Report
Problem *
Describe the problem
Want us to reply?
Your E-Mail
Affiliate Disclosure

At Helwp, we’re committed to transparency and honesty. Therefore, we want to inform you that some of the links on our website are affiliate links. This means that, at no additional cost to you, we may earn a small commission if you click through and make a purchase.

We only promote products or services that we genuinely believe in. These affiliate commissions help us to maintain the website and continue to provide you with free, high-quality WordPress content.

If you are interested in how you can support us even further, check out our support page.