Chapter 2 Flashcards
3 folders at wordpress root
wp-admin, wp-content, wp-includes
2 folders that make up wordpress core
wp-admin, wp-includes
Directory that holds custom themes, plugins, and site media
wp-content
HTML content like Pages and posts and their tags are stored
In the MySQL DB
In wp-config, define option WP_SITEURL and WP_HOME
Allows you to temporarily change WP site URL. Does not alter DB value for siteURL.
In wp-config, define option WP_CONTENT_DIR and WP_CONTENT_URL
Path to wp-content dir. Allows you to move wp-content
In wp-config, define option WP_PLUGIN_DIR and WP_PLUGIN_URL
Path to plugin dir. Allows you to move where your plugins are
In wp-config, define option WP_POST_REVISIONS
Set to false to not keep revisions. Set to a number to specify how many revisions to keep.
In wp-config, define option AUTOSAVE_INTERVAL
Number of seconds between autosaves in post writing.
In wp-config, define option SAVEQUERIES
Set to true to populate array of queries made on page load. When debugging, you can print_r($array) to see what’s going on
In wp-config, define option FORCE_SSL_LOGIN
Force login over SSL
In wp-config, define option FORCE_SSL_ADMIN
Force all admin pages to be SSL
Specific location of the plugins director
wp-content/plugins
purpose of wp-content/index.php
Prevent directory listings of /wp-content
Location of uploads
/wp-content/uploads/year/month/file.extension