Skip to content

Instantly share code, notes, and snippets.

@brrn
Created December 20, 2016 20:46
Show Gist options
  • Save brrn/60278bc792f725ce1e31ae5d640bded2 to your computer and use it in GitHub Desktop.
Save brrn/60278bc792f725ce1e31ae5d640bded2 to your computer and use it in GitHub Desktop.
Git Ignore file for WP Engine
# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
*[Tt]humbs.db
*.Trashes
# User specific
.htaccess
*.log
# Plugins used in development
# add local dev plugins here
wp-content/plugins/query-monitor
# WP Engine specific
.smushit-status
.gitattributes
_wpeprivate
wp-content/object-cache.php
wp-content/mu-plugins/force-strong-passwords
wp-content/mu-plugins/mu-plugin.php
wp-content/mu-plugins/slt-force-strong-passwords.php
wp-content/mu-plugins/stop-long-comments.php
wp-content/mu-plugins/wpengine-common
wp-content/mysql.sql
# Hyperdb plugin from WPE
wp-content/db.php
wp-content/plugins/hyperdb*
# 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/*
wp-content/debug.log
# WordPress default themes
wp-content/themes/twenty*
wp-content/languages/themes/twenty*
# WordPress core (as of 4.0.0)
/index.php
/license.txt
/readme.html
wp-activate.php
wp-blog-header.php
wp-comments-post.php
wp-config.php
wp-config-sample.php
wp-cron.php
wp-links-opml.php
wp-load.php
wp-login.php
wp-mail.php
wp-settings.php
wp-signup.php
wp-trackback.php
xmlrpc.php
wp-admin
wp-includes
wp-content/index.php
wp-content/themes/index.php
wp-content/plugins/index.php
# Large/disallowed file types
# a CDN should be used for these
*.mp3
@Brandonsmith23
Copy link

Thanks for this :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment