• Resolved debycoles

    (@debycoles)


    I successfully installed an SSL cert on my site through cloudflare and all was working well for a couple of days.
    Then I went into my WP settings and changed the URL for the site from http to https and now I can’t get into my site.
    I get a grey error page – motorhomeeurope.com redirected you too many times.
    Darn it. Seemed like a good idea but clearly it wasn’t.

    I’ve cleared my cookies etc so I’m stuck now on how I can fix it and change back that URL.

    Any tips please?

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

Viewing 15 replies - 1 through 15 (of 22 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    ww.wp.xz.cn Admin

    Try using a different browser.

    Worse case you can edit the config file but you need to be familar with FTP software to do that. If you need to FTP in edit back the url to how it was previously.

    Thread Starter debycoles

    (@debycoles)

    Yes I’ve tried a different browser and several different devices too. All the same 🙁
    I’m looking through the notes that Otto linked to, but yes, it’s really complicated for someone like me to do.
    I’m afraid to edit the functions file in case I screw it all up completely!
    I’ll try to be brave and give it a try….

    Or ask your host to restore if that was the only change made today

    Thread Starter debycoles

    (@debycoles)

    OTTO – I followed the instructions and added the two lines to the php file.

    Add these two lines to the file, immediately after the initial “<?php” line.
    update_option( ‘siteurl’, ‘http://example.com&#8217; );
    update_option( ‘home’, ‘http://example.com&#8217; );

    But then I got a different error – http error 500
    Still couldn’t get into the site.

    When I took the two lines back out of the functions file again, then I am back where I started with the redirect error.

    Thread Starter debycoles

    (@debycoles)

    Seeing the functions.php didn’t work, I tried following the instructions to edit the config file.

    Add these two lines to your wp-config.php, where “example.com” is the correct location of your site.
    define( ‘WP_HOME’, ‘http://motorhomeeurope.com&#8217; );
    define( ‘WP_SITEURL’, ‘http://motorhomeeurope.com&#8217; );

    That PARTLY worked. It brought back up the public site OK, but I still got the redirect error when trying to get into the dashboard. So http://motorhomeeurope.com/wp-admin still gave the redirect error.

    Any more ideas I can try?

    Thread Starter debycoles

    (@debycoles)

    I asked my hosting to restore yesterdays backup, but they told me they don’t take back ups of individual sites, only a disaster recovery backup of the server and it would cost me $150 for a site restore from that backup. 🙁

    So I asked them to just make the change to the UTL for me – again, yes if I want premium support at $150!

    Wow, they never used to be like this …

    Do not pay yet – your site is working, only home page is misconfigured. index.php problem?

    • This reply was modified 7 years, 5 months ago by wp-muhkiainen.
    Thread Starter debycoles

    (@debycoles)

    @toppahattu – you can see the site OK?
    Well at least that is good news.
    But whatever the problem is, I don’t know how to fix it so I think I’m going to have to delete the site and start building it over again. Will be a waste of a few days work but at least I will learn not to make the same mistake again.

    Yes I can see. A tip – add /a after your site address. 😉

    An example:

    https://yoursite.com/a

    • This reply was modified 7 years, 5 months ago by wp-muhkiainen.
    Thread Starter debycoles

    (@debycoles)

    @toppahattu – oh yes! I can see it – except for the home page. And the dashboard.
    Well that is strange.
    At least I can go into the public pages, and copy those pages and save the text, so I can add them back to the site again when I set it up.
    Thank you for that. You got me a little closer… 🙂

    You can get your site to work properly by setting a static front page.

    Creating a Static Front Page

    Thread Starter debycoles

    (@debycoles)

    I do already have a static front page, my Home page is set as the static home page.
    It was working just fine before I changed the URL this morning.
    But even so, I can’t get into the dashboard to make any changes to the site now. The wp-admin page just gives me the redirect error, same as home. So I’m stuck really.

    Try:

    How to fix the ERR_TOO_MANY_REDIRECTS on WordPress

    Step 3 — Disabling your .htaccess file
    Another possibility is that some setting in your .htaccess file is making your website go into a redirection loop. In this case, you can disable your .htaccess file to regain access to your site.

    Access File Manager via your hosting control panel.
    Select your .htaccess file, right-click it and select Rename. If you cannot find your .htaccess file, try looking at this guide.
    Rename your .htaccess file to anything else, for example to .htaccess1

    Thread Starter debycoles

    (@debycoles)

    This is what it says in my .htaccess file.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    It appears to be exactly the same as the default one they suggest replacing it with. I did however do as it said and renamed the file, but the result was still the same. Doesn’t seem to be anything weird in there.

    Option 2 there on the page you linked to, the adding to the wp-config file does bring up the homepage of the site OK, but still doesn’t get me into wordpress dashboard. I still get redirects there.
    I think I’m at the point where I have to start again from scratch, remove the site and reinstall.

Viewing 15 replies - 1 through 15 (of 22 total)

The topic ‘Changed URL to https in settings and now cannot get into site’ is closed to new replies.