How to edit my wp-config.php file?

Asked by:
CrazyHare / 8 Points
Time:
2013-10-04 9:02 pm EST
Category:
Wordpress
Hits:
1,033
I've read several of your tutorials, and several suggest that I update my wp-config.php file in WordPress.

-- -- How do I edit this file?

-- -- Is there a WordPress plugin that can help me edit the file?

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

arnelc
Staff
17,314 Points
2013-10-04 9:28 pm EST
Hello CrazyHare,

Thanks for the question! The easy answer is that if you have an account with Web Hosting Hub, then you can login to your cPanel, then go to the file manager and use it to find your WP-CONFIG.PHP file and make changes. The WP-CONFIG.PHP file can be easily modified with the editors in File manager. You can normally find the file in the root of the WP site you are dealing with. If you need help finding the configuration file, go to Config file locations.

In terms of a plug-in, it's probably easier and faster to edit it when you're not actually running WordPress. I believe there is a plugin that would do it - you can search the WordPress plugins for it.

I hope this helps to answer your question! Please let us know if you have any further questions or comments.

Regards,
Arnel C.

To submit a comment on this answer, please first login.

Thanks Arnel! OK, so far I've got this:

-- How do I edit the wp-config file --
1. login to cPanel
2. go to file manager
3. Find wp-config.php in the root of the WP site

-- Here are my follow up questions: --
A. What is "WP"?
B. How can I find out the "root" that you're talking about?
CrazyHare
8 Points

2013-10-04 10:01 pm EST
Hello CrazyHare,

Thanks for the question. WP is simply shorthand for "WordPress." Sorry if it was confusing you.

The easiest way to describe "root" in relation to the wp-config file is simply to state that it is the location where your installation files for WordPress are located. By definition, your default Web ROOT, is located in the /public_html/ folder (open up your File manager and look for the Public_html folder).

Therefore, if you installed WordPress to your main or primary domain URL, then the files will be located in the /public_html/ folder. This folder is the ROOT (or root folder/directory) of your installation.

In contrast, If you installed your WordPress website into a folder located inside the public_html folder, then the hierarchy would look something like this:

public_html
- wordpress-install-folder

This means that "wordpress-install-folder" is a folder/directory located inside of the public_html folder. If you installed it into this folder, then the "wordpress-install-folder" is now the ROOT folder of your WordPress installation.

This explanation is used to illustrate WHERE the files of the WordPress installation would be located. By default, the WP-CONFIG.PHP file is located in the root directory of the WordPress installation.

I hope this helps to clarify the issue. If you want more information on the term, you can look it up here.

Regards,
Arnel C.






arnelc
17,314 Points
Staff
2013-10-04 10:50 pm EST
Want to share this Question?
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}