Skip to content

Instantly share code, notes, and snippets.

@KruegerDesigns
Created May 21, 2012 17:31
Show Gist options
  • Save KruegerDesigns/2763436 to your computer and use it in GitHub Desktop.
Save KruegerDesigns/2763436 to your computer and use it in GitHub Desktop.
Simple dynamic to static RewriteRule for .htaccess files.
# Will rewrite a dynamic URL to a static URL
RewriteRule /thing.*/stuff.html /new/location [R=301,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment