When I load my website on my browser it works perfectly fine. When I do an HTTPS status check for my website, the root page (mydomain.com/) returns with a 200 Status code. But any non-root page (mydomain.com/*) returns with a 404 Status code. I wrote my website with React and host it with Github pages and can’t think of any reason why only the root page would return properly for a status check, but otherwise works fine when loading with my actual browser. Any ideas?
I care about this because when I try to embed my link into a LinkedIn post, I get the response “Sorry, we were unable to retrieve information about your link. Please try another link.” I assume this is because it is trying to obtain the metadata for my page and is seeing a 404 error just like the HTTPS status checker.
1