Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Ignoring and untracking Wordpress contents
# contents of wp-content (but not the folder itself)
# both sitemap.xml and sitemap.gzip
# local config for local dev!
# override above exclusion to include the blog theme folder and files
# system created files
# exclude the .htaccess, too, so we don't have to reset permalinks
# attempt to load files from production if they're not in our local version
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule (.*)$1
# define these manually, overriding the values in the SQL database.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.