Changing permalinks -- .htaccess and RewriteRule? (2 posts)

  1. marky
    Posted 10 years ago #

    I'd like to change my permalink structure from /archives/2005/11/25/post-name/ to simply /2005/11/25/post-name/

    What must I add to my .htaccess to have requests to the old 'archives' directory re-written to the permalinks without it?

  2. James Huff
    Support Team Rep.
    Posted 10 years ago #

    Add the following to your .htaccess file, all on one line with a space between the relative and absolute URLs, and adjust accordingly:

    Redirect permanent /blog/archives/ http://www.yourdomain.com/blog/

Topic Closed

This topic has been closed to new replies.

About this Topic