Skip to content

Instantly share code, notes, and snippets.

@bacoords
Last active January 20, 2023 05:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bacoords/9cb8eb43a661fc01d51cc9c9921b19f4 to your computer and use it in GitHub Desktop.
Save bacoords/9cb8eb43a661fc01d51cc9c9921b19f4 to your computer and use it in GitHub Desktop.
Default WordPress/WP Engine .gitignore File
# Wordpress - ignore core, configuration, examples, uploads and logs.
# Forked from: https://github.com/github/gitignore/blob/main/WordPress.gitignore
# Core
/wp-admin/
/wp-content/index.php
/wp-content/languages
/wp-content/plugins/index.php
/wp-content/themes/index.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-includes/
/index.php
/license.txt
/readme.html
/wp-*.php
/xmlrpc.php
# Configuration
/wp-config.php
# Themes and Plugins
/wp-content/themes/*
/wp-content/plugins/*
/wp-content/mu-plugins/*
!wp-content/themes/understrap-child-theme
# Log files
*.log
# htaccess
.htaccess
# WP Engine
.wpe-devkit/
.wpe-pull-ignore
.wpe-push-ignore
.wpengine-conf/
_wpeprivate/
# Other
.DS_Store
node_modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment