• Hi there,
    I am encountering an error with my website where on loading, when you explicitly request https://www.aider.sk or aider.sk ( without prefixing it with https or http) or when requesting exact page in the same manner ( https://www.aider.sk/blog ) the website sometimes goes from HTTPs>HTTP>HTTPs and only then it gets finally loaded.

    This do not happen on all requests, only some of them.

    What I have tried:

    Steps to reproduce:

    I will provide the steps to reproduce the error on my website

    • Open incognito mode > in chrome preferably
    • go straight to website https://www.aider.sk or aider.sk
    • if this does not occurs on the first try.

    Thank you for your help.

    • This topic was modified 2 months, 1 week ago by Samuel.

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • I can’t understand it, I always end up in the SSL web. If it only happens sometimes according to you, it’s even harder to understand. However, I don’t see WordPress itself as the reason here. You have entered the URLs correctly there. Could it also be due to the cache of the browser you are using? That would be the only reason I could see here.

    Thread Starter Samuel

    (@samxcode)

    I am able to replicate it fairly easily, I can not upload video here, i uploaded it to imgur:

    https://imgur.com/a/H85DtOI

    Yes, it is harder to understand, I do not understand it also. I was told by the provider that they did everything they could and that the issue is on the website or in its settings. But as I said, I followed the guides, double-checked the settings, still no solution.

    Also, cache plugins are turned off, and on the provider side, I disabled the “http cache.”

    The cache of the browser should not be an issue as I always access and test this in incognito mode.

    Thanks for your help.


    Thread Starter Samuel

    (@samxcode)

    From network tab https://imgur.com/a/p9fcwvC

    Interesting. I’ve tested a few things now and haven’t even had this effect. I also did the test with direct HTTP connections. No cache in the way. There was never a redirect to http there either.

    If it happens, you should be able to see who is causing it in addition to the redirection in the HTTP header. If it was WordPress, it would be there. If there’s nothing there, it’s probably something from the server.

    I’m unable to reproduce this at my end either.

    For the specific URL tested in the video, all my tests (curl, local browser and external online tools) consistently produced: https://www.aider.sk/blog -301- https://aider.sk/blog -301- https://aider.sk/blog/

    >>> https://www.aider.sk/blog
    Status:	301 Moved Permanently
    Code:	301
    Server:	openresty
    Date:	Fri, 13 Sep 2024 05:12:03 GMT
    Content-Type:	text/html; charset=iso-8859-1
    Content-Length:	229
    Connection:	close
    Location:	https://aider.sk/blog
    alt-svc:	h3=":443"; ma=86400
    
    >>> https://aider.sk/blog
    Status:	301 Moved Permanently
    Code:	301
    Server:	openresty
    Date:	Fri, 13 Sep 2024 05:12:05 GMT
    Content-Type:	text/html; charset=UTF-8
    Content-Length:	0
    Connection:	close
    X-Redirect-By:	WordPress
    Location:	https://aider.sk/blog/
    alt-svc:	h3=":443"; ma=86400
    
    >>> https://aider.sk/blog/
    Status:	200 OK
    Code:	200
    Server:	openresty
    Date:	Fri, 13 Sep 2024 05:12:09 GMT
    Content-Type:	text/html; charset=UTF-8
    Connection:	close
    Vary:	Accept-Encoding
    Link:	<https://aider.sk/?p=286>; rel=shortlink
    alt-svc:	h3=":443"; ma=86400
    Thread Starter Samuel

    (@samxcode)

    HI, Thanks all for investigating.

    I was talking today with our hosting provider, to see if the error is on their side. – Meaning happening on top of our WordPress, maybe on DNS routing level or something.


    But got reply, same as from you, that they are not able to replicate it. The scenario seems to be happening only to me, meaning that there could have been this problem earlier, but I fixed it in the meantime.

    The support crew of our hosting provider suggested that the problem is local happening only on my machine , and the problem could be the browser cache and/or the router cache, which I have not heard of.

    So just to confirm the last time with you guys, when requesting page: www. aider. sk/blog – you are not getting redirects to : https>http>https ?

    If really, that is the case the issue can be local to my machine.


    Thanks for help.

    • This reply was modified 2 months, 1 week ago by Samuel.

    Yes, that doesn’t happen with me. I also think it’s most likely that it’s caused locally in your case. Why don’t you test it on your cell phone or from another computer?

    Thread Starter Samuel

    (@samxcode)

    HI all,

    So regarding my issue, it still persist, i tried connecting via different network and it did not change anything. the issue with https > http > https redirection on loading in incognito window still persist.

    Now i turned on cache plugin, which i do not think can worsen this issue.

    But also, as we stated it seems to be not an error caused by wordpress.

    Please could you test the page loading one last time?

    Thanks a lot.

    threadi

    (@threadi)

    Still not happening for me, despite repeated attempts.

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