Skip to content

Instantly share code, notes, and snippets.

@wilsonwc
Created January 25, 2013 03:49
Show Gist options
  • Save wilsonwc/4631605 to your computer and use it in GitHub Desktop.
Save wilsonwc/4631605 to your computer and use it in GitHub Desktop.
This is a simple filter modification that allows you to have an index.html landing page for a wordpress site while you are developing the full site in the same directory.
remove_filter('template_redirect', 'redirect_canonical');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment