wp-config.php Settings Flashcards
When you hardcode the site url in your wp-congfig.php file, you will also want to set what other setting?
WP_SITEURL
Where can you typically find and edit the wp-config.php file?
In the root directory of your site
T/F: All plugins will add links to manage their plugins under the main Settings link in the navigation.
False
What line of code correctly sets the site url to “example.com” in the wp-config.php file?
define( ‘WP_SITEURL’, ‘http://example.com’ )
What line of code tells WordPress to stop saving drafts for posts?
define ( ‘WP_POST_REVISIONS’, false );
T/F: It is possible to save your FTP information in your wp-config.php file to help with automatic updates.
True
What code would add to your wp-config.php file to increase the memory limit of your WordPress site to 96 megabytes?
define ( ‘WP_MEMORY_LIMIT’, ‘96M’ )