Yoast SEO
Permalinks (1 post)

  1. afem1010
    Posted 3 years ago #


    I recently used Yoast permalinks overview on his website to change from "Day and name" to "Post name" structure, with the relevant edit to the .htaccess file. http://yoast.com/change-wordpress-permalink-structure/

    I wanted to however to change it to a custom structure of "/%category%/%postname%/" - wanted to ask what edits I would need to do to the permalink PLUS the .htaccess to ensure I change it to this structure and place the necessary 301 redirects.

    my current line for 301 redirect in .htaccess is as follows:

    RedirectMatch 301 ^/([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)$ WEBSITE ADDRESS/$4


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic