Skip to content

Instantly share code, notes, and snippets.

@davidperezgar
Created March 10, 2019 22:37
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 davidperezgar/ced9ba069d8230bdc49fb4225645110c to your computer and use it in GitHub Desktop.
Save davidperezgar/ced9ba069d8230bdc49fb4225645110c to your computer and use it in GitHub Desktop.
Gitignore recommended for WordPress Site repository
#Wordpress
htaccess.txt
index.php
licencia.txt
license.txt
readme.html
robots.txt
wp-activate.php
wp-blog-header.php
wp-comments-post.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
.htaccess
cache/
wp-cache-config.php
advanced-cache.php
dump.sql
dump.zip
wp-config-sample.php
wp-config.php
wp-admin/
wp-includes/
wp-content/uploads/
wp-content/themesBAK/
wp-content/languages/
wp-content/themes/genesis/
# Ignore docs files
_gh_pages
_site
.ruby-version
# Numerous always-ignore extensions
*.diff
*.err
*.log
*.orig
*.rej
*.swo
*.swp
*.vi
*.zip
*~
# OS or Editor folders
._*
.cache
.DS_Store
.idea
.project
.settings
.tmproj
*.esproj
*.sublime-project
*.sublime-workspace
nbproject
Thumbs.db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment