Title: No access &#8211; wrong editing of wp-config
Last modified: August 21, 2016

---

# No access – wrong editing of wp-config

 *  [Ekabo](https://wordpress.org/support/users/ekabo/)
 * (@ekabo)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/wp-3/)
 * Hi, I need advice to solve my problem with my wordpress installation.
 * …I guess I screwed wp-config file by adding two lines of code at the beginning(
   i did this because I couldn´t login to wp admin saying that I had too many redirects,
   so I found a solution that recommended to add these two lines:
 * define(‘WP_HOME’,’[http://example.cl&#8217](http://example.cl&#8217););
    define(‘
   WP_SITEURL’,’[http://example.cl&#8217](http://example.cl&#8217););.
 * I added them but now I can’t access to anything…FTP can’t´connect and CPanel 
   doesn´t open….
 * I have the backup of the wp config but how can I upload it if I can´t access 
   the files…I use Cyberduck and my hosting is Webtelhost….thanks for your help

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

 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/wp-3/#post-4784989)
 * If FTP and cPanel aren’t working, contact your hosting company. WordPress doesn’t
   have anything that can crash those two systems, so if the yare down, there’s 
   a lot more wrong on the server then jsut the small bit of code that you’ve posted.
 * BUT… I’ve looked at the site that you’ve got linked there, and it’s working fine.
   If that’s the site that you’re talking about, then it’s all good. If it’s not…
   I’m not understanding why you linked to it??
 *  Thread Starter [Ekabo](https://wordpress.org/support/users/ekabo/)
 * (@ekabo)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/wp-3/#post-4785027)
 * Thank you very much…yes, you´re right…it is the right link to my page and it 
   was working good but I could´t see it. I insisted with the hosting provider and
   they checked and it was a Firewall issue. They fixed it and I could access by
   FTP and CPanel and the first thing I did was to upload the original wp-config
   file (without the piece of code I had added before), just in case.
 * Now this no connection problem is solved but I continue having the original problem:
   
   I can´t log in into the WP Admin….the message: too many redirects occurring trying
   to open a page that is redirected to open another page which then is redirected
   to open the original page.
 * Thanks for your time.

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

The topic ‘No access – wrong editing of wp-config’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Ekabo](https://wordpress.org/support/users/ekabo/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/wp-3/#post-4785027)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
