Bird
0
0

Which file must you edit to connect WordPress to your database during installation?

easy📝 Syntax Q12 of 15
Wordpress - WordPress Basics and Architecture
Which file must you edit to connect WordPress to your database during installation?
Awp-config.php
Bindex.php
Cfunctions.php
Dstyle.css
Step-by-Step Solution
Solution:
  1. Step 1: Identify the configuration file

    WordPress uses wp-config.php to store database connection details.
  2. Step 2: Confirm the file's role

    This file contains database name, username, password, and host info needed for setup.
  3. Final Answer:

    wp-config.php -> Option A
  4. Quick Check:

    Database config file = wp-config.php [OK]
Quick Trick: Database settings go in wp-config.php [OK]
Common Mistakes:
  • Editing index.php for database settings
  • Changing style.css instead of config files
  • Confusing functions.php with config file

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Wordpress Quizzes