2020-01-22 02:51:50 +01:00
|
|
|
# Wordpress - ignore core, configuration, examples, uploads and logs.
|
2021-12-06 23:39:54 +01:00
|
|
|
# https://github.com/github/gitignore/blob/main/WordPress.gitignore
|
2019-05-12 15:05:22 +02:00
|
|
|
|
2020-01-23 19:27:27 +01:00
|
|
|
# Core
|
|
|
|
#
|
|
|
|
# Note: if you want to stage/commit WP core files
|
|
|
|
# you can delete this whole section/until Configuration.
|
2020-01-22 02:51:50 +01:00
|
|
|
/wp-admin/
|
|
|
|
/wp-content/index.php
|
2020-01-23 21:16:15 +01:00
|
|
|
/wp-content/languages
|
2020-01-22 02:51:50 +01:00
|
|
|
/wp-content/plugins/index.php
|
|
|
|
/wp-content/themes/index.php
|
|
|
|
/wp-includes/
|
|
|
|
/index.php
|
|
|
|
/license.txt
|
|
|
|
/readme.html
|
|
|
|
/wp-*.php
|
|
|
|
/xmlrpc.php
|
2019-05-12 15:05:22 +02:00
|
|
|
|
2020-01-23 19:27:27 +01:00
|
|
|
# Configuration
|
|
|
|
wp-config.php
|
|
|
|
|
2020-01-22 02:51:50 +01:00
|
|
|
# Example themes
|
|
|
|
/wp-content/themes/twenty*/
|
2015-04-24 20:10:30 +02:00
|
|
|
|
2020-01-22 02:51:50 +01:00
|
|
|
# Example plugin
|
|
|
|
/wp-content/plugins/hello.php
|
2015-04-24 20:10:30 +02:00
|
|
|
|
2020-01-22 02:51:50 +01:00
|
|
|
# Uploads
|
|
|
|
/wp-content/uploads/
|
2019-05-12 15:05:22 +02:00
|
|
|
|
2020-01-22 02:51:50 +01:00
|
|
|
# Log files
|
2019-05-12 15:05:22 +02:00
|
|
|
*.log
|
2020-01-22 02:51:50 +01:00
|
|
|
|
|
|
|
# htaccess
|
2020-01-23 21:16:15 +01:00
|
|
|
/.htaccess
|
|
|
|
|
2022-05-29 14:39:37 +02:00
|
|
|
# htpasswd
|
|
|
|
/.htpasswd
|
|
|
|
|
2020-01-23 21:16:15 +01:00
|
|
|
# All plugins
|
|
|
|
#
|
|
|
|
# Note: If you wish to whitelist plugins,
|
|
|
|
# uncomment the next line
|
|
|
|
#/wp-content/plugins
|
|
|
|
|
|
|
|
# All themes
|
|
|
|
#
|
|
|
|
# Note: If you wish to whitelist themes,
|
|
|
|
# uncomment the next line
|
2022-05-29 14:39:37 +02:00
|
|
|
#/wp-content/themes
|