Support » Plugin: Yoast SEO » Permalinks

  • afem1010



    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.

    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

  • The topic ‘Permalinks’ is closed to new replies.