Skip to content

Instantly share code, notes, and snippets.

@montrealist
Last active October 25, 2015 21:28
Show Gist options
  • Save montrealist/b8a9e5138786ac2fce5f to your computer and use it in GitHub Desktop.
Save montrealist/b8a9e5138786ac2fce5f to your computer and use it in GitHub Desktop.
.gitignore for wpengine projects
*~
.DS_Store
.svn
.cvs
.git
.listing
*.bak
*.swp
Thumbs.db
*.log
plugins/wp-file-cache/cache
cache
_wpeprivate
.cache
temp
tmp
*.tmp
imagecache*
uploads*
*_backup
gt-cache
ics-importer-cache
.ftpquota
nbproject/
wp-config-sample.php
wp-content/w3tc*
wp-content/w3-*
#wp-content/plugins
wp-content/plugins/cloudzoom-woocommerce/
wp-content/plugins/wpengine-snapshot/snapshots/*
wp-content/plugins/*/cache
wp-content/uploads/snapshots
wp-content/themes/thesis*/custom/cache
wp-content/themes/thesis*/lib/scripts/cache
wp-content/themes/*/cache
wp-content/w3tc-bak
wp-content/backup*
wp-content/temp*
wp-content/debug.log
wp-content/backups
wp-content/managewp
wp-content/upgrade/*
wp-content/uploads
wp-content/blogs.dir/*/*
pclzip-*
# WordPress debugging files
log.txt
debug.log
# Gallaries in various places
gallery/*
wp-content/gallery/*
wp-content/album/*
# Found in 'sneakernews' - probably just a backup but never going to be good to include
wp-content/plugins/plugins
# Found in the root of pod-1009
.a
# Forum software we probably shouldn't support anyway
forum/*
# known large file types
*.hqx
*.bin
*.exe
*.dll
*.deb
*.dmg
*.iso
*.img
*.msi
*.msp
*.msm
*.mid
*.midi
*.kar
*.mp3
*.ogg
*.m4a
*.ra
*.3gpp
*.3gp
*.mp4
*.mpeg
*.mpg
*.mov
*.webm
*.flv
*.m4v
*.mng
*.asx
*.asf
*.wmv
*.avi
*.zip
*.tar
*.tgz
*.gz
# miscellaneous in root dir:
.htaccess
.gitignore
apple-touch-icon-precomposed.png
apple-touch-icon.png
favicon.ico
last-mod
# wordpress specific
wp-config.php
wp-content/uploads/
wp-content/blogs.dir/
wp-content/upgrade/*
wp-content/backup-db/*
wp-content/advanced-cache.php
wp-content/wp-cache-config.php
wp-content/cache/*
wp-content/cache/supercache/*
# wpengine specific
.smushit-status
.gitattributes
_wpeprivate
wp-content/object-cache.php
wp-content/mu-plugins/mu-plugin.php
wp-content/mu-plugins/slt-force-strong-passwords.php
wp-content/mu-plugins/limit-login-attempts
wp-content/mu-plugins/wpengine-common
wp-content/mysql.sql
# wp core (as of 3.4.1)
/db-config.php
/index.php
/license.txt
/readme.html
/wp-activate.php
/wp-app.php
/wp-atom.php
/wp-blog-header.php
/wp-comments-post.php
/wp-commentsrss2.php
/wp-config-sample.php
/wp-cron.php
/wp-feed.php
/wp-links-opml.php
/wp-load.php
/wp-login.php
/wp-mail.php
/wp-rdf.php
/wp-rss.php
/wp-rss2.php
/wp-pass.php
/wp-register.php
/wp-settings.php
/wp-signup.php
/wp-trackback.php
/xmlrpc.php
/wp-admin
/wp-includes
/wp-content/index.php
/wp-content/themes/twentyten
/wp-content/themes/index.php
/wp-content/plugins/index.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment