Support » Fixing WordPress » Failed redirect

  • david0h

    (@david0h)


    Hi,
    I had this website set up yesterday (hosted on a Vultr server using nginx) in such a way that the www page would redirect to https://makercommunity.org.au fine.
    I was attempting to set up some Cron job services to work with civicrm and today trying to get to the www version of the software redirects to a link of https://https//makercommunity.org.au
    I don’t believe or at least remember changing any urls as part of those Cron attempts.

    I am not sure what happened. Would I be able to fix this with a redirect or is there an easy way to find where that mistake was made?

    Thank you for your help, I am very much a beginner in these matters.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator bcworkz

    (@bcworkz)

    There’s a missing colon in the rewrite directive after “https” —
    https//makercommunity.org.au/
    This causes browsers to try to get the IP address of “https” domain from a nameserver, which of course fails. Another redirect will not help. Locate the original error at where you placed the original directive.

    This is unrelated to cron directives. It’s probably an accidentally introduced typo from when you were reviewing the file. You may have accidentally saved the change without intending to.

    david0h

    (@david0h)

    Thank you bcworkz,
    would you have a suggestion on the best way to search for the location of this typo?

    thank you very much for the help

    Moderator bcworkz

    (@bcworkz)

    I’m not that familiar with nginx. AFAIK, the redirect should be within a server block in one of the files at /etc/nginx/sites-available/, the one that defines www.makercommunity.org.au as a hostname. There should be a rewrite or return line which contains the typo.

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