Skip to content

Instantly share code, notes, and snippets.

@martylouis
Last active September 29, 2016 16:23
Show Gist options
  • Save martylouis/75c3428ad13a4ff13593 to your computer and use it in GitHub Desktop.
Save martylouis/75c3428ad13a4ff13593 to your computer and use it in GitHub Desktop.
WP Engine .gitignore
node_modules
*.log
*.bak
*.swp
*~
.cvs
.DS_Store
.svn
Thumbs.db
# wordpress specific
.htaccess
sitemap.xml
sitemap.xml.gz
wp-config.php
wp-content/advanced-cache.php
wp-content/backup-db/*
wp-content/blogs.dir/
wp-content/cache/*
wp-content/cache/supercache/*
wp-content/plugins/
wp-content/upgrade/*
wp-content/uploads/
wp-content/wp-cache-config.php
# wpengine specific
.gitattributes
.smushit-status
_wpeprivate
wp-content/mu-plugins/limit-login-attempts
wp-content/mu-plugins/mu-plugin.php
wp-content/mu-plugins/slt-force-strong-passwords.php
wp-content/mu-plugins/wpengine-common
wp-content/mysql.sql
wp-content/object-cache.php
# wp core (as of 3.4.1)
/db-config.php
/index.php
/license.txt
/readme.html
/wp-activate.php
/wp-admin
/wp-app.php
/wp-atom.php
/wp-blog-header.php
/wp-comments-post.php
/wp-commentsrss2.php
/wp-config-sample.php
/wp-content/index.php
/wp-content/plugins/index.php
/wp-content/themes/index.php
/wp-content/themes/twenty*
/wp-cron.php
/wp-feed.php
/wp-includes
/wp-links-opml.php
/wp-load.php
/wp-login.php
/wp-mail.php
/wp-pass.php
/wp-rdf.php
/wp-register.php
/wp-rss.php
/wp-rss2.php
/wp-settings.php
/wp-signup.php
/wp-trackback.php
/xmlrpc.php
# large/disallowed file types
# a CDN should be used for these
*.3gp
*.3gpp
*.asf
*.asx
*.avi
*.bin
*.deb
*.dll
*.dmg
*.exe
*.flv
*.hqx
*.img
*.iso
*.kar
*.m4a
*.m4v
*.mid
*.midi
*.mng
*.mov
*.mp3
*.mp4
*.mpeg
*.mpg
*.msi
*.msm
*.msp
*.ogg
*.ra
*.webm
*.wmv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment