Skip to content

Instantly share code, notes, and snippets.

@sudar
Created February 20, 2011 18:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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