Title: Chamging
Last modified: October 17, 2024

---

# Chamging

 *  Resolved [andyandy](https://wordpress.org/support/users/androidandreas/)
 * (@androidandreas)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/chamging/)
 * Section 3.2 odf this article [https://sucuri.net/guides/how-to-clean-hacked-wordpress/](https://sucuri.net/guides/how-to-clean-hacked-wordpress/)
 * recommrnds gebnrating new secret keys as a way of hardening your WP installation–
   which I am keen to do after a major hack.
 * However I cannot even find the wp-config.php file – where is it?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fchamging%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Kalpesh Prajapati](https://wordpress.org/support/users/kprajapati22/)
 * (@kprajapati22)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/chamging/#post-18079215)
 * `wp-config.php` file is located in the root of your WordPress file directory.
   You can edit it using File manager of your Cpanel/Hosting account. Login to Cpanel
   or Hosting account -> Go to file manager -> Go to root diretory of WordPress.
 * You can also edit via FTP/SFTP, if you know how to do it.
 *  Thread Starter [andyandy](https://wordpress.org/support/users/androidandreas/)
 * (@androidandreas)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/chamging/#post-18079259)
 * OK, found it, thankyou.
 * But where would I work into th file the block of codes generated by clcking the
   Genaratoir link in Section 3.2 of the abovfe article?
 * Just copy and paste it anywhere? Do I need to delete anything?
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/chamging/#post-18080360)
 * Search your wp-config.php file for “Authentication unique keys and salts.” (it’s
   line 41 in the default wp-config.php file)
 * You’ll find the items to change along with a link to the generator there. Just
   copy/paste what the generator gives you over those lines.
 *  Thread Starter [andyandy](https://wordpress.org/support/users/androidandreas/)
 * (@androidandreas)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/chamging/#post-18080902)
 * Thanks. I actually found a plugin that I have set up to auromatically do the 
   joib on a weekly basis.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Chamging’ is closed to new replies.

## Tags

 * [secret keys](https://wordpress.org/support/topic-tag/secret-keys/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [andyandy](https://wordpress.org/support/users/androidandreas/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/chamging/#post-18080902)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
