I think it is related to this part of my nginx setup for the site (the default forge code):
location / {
try_files $uri $uri/ /index.php?$query_string;
}
In the above example, if a request is made for /blahblah, the first location will initially get the request. It will try to find a file called blahblah in the root directory. If it cannot find one, it will follow up by searching for a file called blahblah.html. It will then try to see if there is a directory called blahblah/
Failing all of these attempts, it will redirect to /index.php
This means that any url entered which does not serve a page, will return to index.php
I'm still stuck however, as doing this:
location / {
try_files $uri $uri/
}
Breaks the site. Any tips please?