Support » Fixing WordPress » I can’t login into my wp admin panel and website after changing links in General

  • Resolved dmitrijsd

    (@dmitrijsd)



    Hello!

    I had this links in my General Options:
    https://imgur.com/a/hBvPoJw
    I deleted “www.”, to improve my PageSpeed Insights results. It was bad because of redirect.

    Now I can’t login into wp admin panel and my whole website doesn’t work due to redirect.

    Could you tell me, please, what can I do with this problem?

    • This topic was modified 4 months, 1 week ago by  dmitrijsd.
    • This topic was modified 4 months, 1 week ago by  dmitrijsd.
    • This topic was modified 4 months, 1 week ago by  dmitrijsd.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator 🚀

    You can change them back directly in the database following this guide: https://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database

    You’ll find phpMyAdmin in your hosting account’s control panel.

    Next, contact your hosting provider’s support to make sure that your site is properly configured on their server to run without the www. prefix.

    dmitrijsd

    (@dmitrijsd)

    Hi! Thank you for your help!

    Unfortunately, now my website works only under link with “https://www”. Without https and www page every time reloads. But it’s only a half of a problem. Now I and my colleagues can’t login into wp admin panel. After pressing button “submit”, page simply reloads. What can I do to fix it? I already switched off cloudflare.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator 🚀

    What did you change the siteurl and home values to?

    dmitrijsd

    (@dmitrijsd)

    I used 1.2 Edit functions.php and added

    update_option( ‘siteurl’, ‘https://www.topmedia.agency’ );
    update_option( ‘home’, ‘https://topmedia.agency’ );

    As it was previously. After this step, my website began working, but with many redirect issues and now I can’t even login into wp. After this I switched off cloudflare, but this didn’t help me.

    This is an example:
    https://bertal.ru/index.php?a5459586/https://www.topmedia.agency/news/#h

    I know, that there is a mistake in link redirects, but I can’t fix it due to problems with login into wp.

    dmitrijsd

    (@dmitrijsd)

    Fixed

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.