Home Forums Redirect loops 301 Redirect Problem

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #277855 Reply
    Scarlet Paolicchi
    Participant

    I recently switched hosts and my posts seem to be having a 301 redirect problem. When I completed first new post and tried to shared on Facebook, the link said 301 (where it would normally show the description of the link). I thought that was weird so I tried the home page and an old post link and they were fine. So I tried Facebook Debugger for developers and for the new post link it showed a redirect loop and it does the same for all new posts I have published.

    Circular Redirect
    We could not resolve the canonical URL because the redirect path contained a cycle.
    Redirect Path
    Input URL arrow-right https://familyfocusblog.com/the-first-sleepover-how-to-know-if-your-child-is-ready/
    301 HTTP Redirect arrow-right http://familyfocusblog.com/the-first-sleepover-how-to-know-if-your-child-is-ready/
    301 HTTP Redirect arrow-right https://familyfocusblog.com/the-first-sleepover-how-to-know-if-your-child-is-ready/

    This made me realize that before site migration the settings had a little red 1 by it and it offered the chance to check something for ssl that I did not check because it said there was a possibility of creating a redirect loop. That 1 is gone now. I don’t know if it checked that during the migration so I tried unchecking “Enable WordPress 301 redirection to SSL” in the setting of the Really Simple SSL plugin.
    THen the debugger showed
    this
    Redirect Path
    Input URL arrow-right https://familyfocusblog.com/the-first-sleepover-how-to-know-if-your-child-is-ready/
    301 HTTP Redirect arrow-right http://familyfocusblog.com/the-first-sleepover-how-to-know-if-your-child-is-ready/
    but I that looks like it is just directing it from https to http which is not right.

    Any ideas what is wrong and how to fix it?

    Thanks so much,
    Scarlet

    #278059 Reply
    Mark
    Keymaster

    Hi Scarlet,

    the Facebook scraper does show that the it has detected a redirect to http:// because the canonical url is http://. However, when looking at your site source code the canonical url is listed with https://. Redirect tools (like httpstatus.io) also don’t show a redirect to http://. This leads me to believe Facebook is a bit confused about the correct url, possibly because of caching. I’d suggest to wait for a little while to see if the this resolves itself. Your site will continue to work fine.

    Mark

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: 301 Redirect Problem
Your information: