wp-config.php Settings Flashcards

1
Q

When you hardcode the site url in your wp-congfig.php file, you will also want to set what other setting?

A

WP_SITEURL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Where can you typically find and edit the wp-config.php file?

A

In the root directory of your site

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

T/F: All plugins will add links to manage their plugins under the main Settings link in the navigation.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What line of code correctly sets the site url to “example.com” in the wp-config.php file?

A

define( ‘WP_SITEURL’, ‘http://example.com’ )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What line of code tells WordPress to stop saving drafts for posts?

A

define ( ‘WP_POST_REVISIONS’, false );

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

T/F: It is possible to save your FTP information in your wp-config.php file to help with automatic updates.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What code would add to your wp-config.php file to increase the memory limit of your WordPress site to 96 megabytes?

A

define ( ‘WP_MEMORY_LIMIT’, ‘96M’ )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly