404 errors all pages except home: [REWRITE] detect external loop redirection with target URL:

#1
I have just installed OpenLiteSpeed on Digitalocean.
Following setting up the server and website on an IP, I have since applied the domain name in wp-config.php defining wp_home and wp_siteurl.
Rebooting and logging in again, I was asked for a domain name or to cancel, so I entered a domain name. It also asked me if I wanted to install letsencrypt certificate for HTTPS - I said yes. HTTPS is now running on the website, and the homepage is loading fine, nice and fast.

But when I try to access any other page on my website, I get 404 Not Found. It was working fine earlier.

In my logs, the below occurs when I access a page that presents 404 error
2019-07-02 15:54:40.773588 [INFO] [162.158.158.5:56684] [REWRITE] detect external loop redirection with target URL: https://railspot.co.uk/map, skip.


Any advice gratefully appreciated.
 
Last edited by a moderator:
Top