Skip to content

Instantly share code, notes, and snippets.

@sudar
Created February 20, 2011 18:17
Show Gist options
  • Save sudar/836170 to your computer and use it in GitHub Desktop.
Save sudar/836170 to your computer and use it in GitHub Desktop.
.htaccess rule to change from date based permalinks to postname permalinks
RedirectMatch permanent ^/blog/[0-9]{4}/[0-9]{2}/[0-9]{2}/([a-z0-9-/]+) http://sudarmuthu.com/blog/$1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment