• 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’);
    define(‘WP_SITEURL’,’http://example.cl’);.

    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)
  • 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

    (@ekabo)

    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.