Skip to content

Instantly share code, notes, and snippets.

@mkorkmaz
Created May 23, 2017 09:45
Show Gist options
  • Save mkorkmaz/0636f5200edaf50d171797e7d9905f11 to your computer and use it in GitHub Desktop.
Save mkorkmaz/0636f5200edaf50d171797e7d9905f11 to your computer and use it in GitHub Desktop.
Apache redirect according to date.
RewriteCond %{TIME_YEAR}%{TIME_MON}%{TIME_DAY} > 20170523
RewriteRule ^$ /destination/url.html [R=301,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment