Remove the categories prefix | WordPress.org

[ad_1]

If you enable the “Remove the categories prefix” option in the Yoast SEO plugin, it will remove the prefix from your category URLs, but it will not automatically create a 301 redirect from the old URLs to the new URLs.

To create a 301 redirect from the old URLs to the new URLs, you can use one of the following methods:

  1. Use a plugin: There are several WordPress plugins that can help you create redirects, such as “Redirection” or “Safe Redirect Manager”.
  2. Use .htaccess: If you are using an Apache web server, you can create the redirects in your .htaccess file.
  3. Use your web host’s control panel: Some web hosting providers offer tools to manage redirects in their control panel.

I hope this helps! Let me know if you have any other questions.

Thank you, that’s what I figured but wanted to double check.

I’ll handle the 301 redirects in Nginx then.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer