• Resolved Tweakfreaks

    (@tweakfreaks)


    If I enable the “Remove the categories prefix” option, will the plugin automatically 301 redirect /category/<name> to /<name>?

    Or do i have to do that myself via my web server?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    Thread Starter Tweakfreaks

    (@tweakfreaks)

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

    I’ll handle the 301 redirects in Nginx then.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove the categories prefix’ is closed to new replies.