Contributions

2 Contributions
  • Answer

    NginX throws 404 error when I visit example.com/page

    Brilliant, works perfectly. Thank you!
    By dcmbp
  • Question

    NginX throws 404 error when I visit example.com/page

    Hi, I'm having a problem with my NginX configuration. I get a 404 error when I try to visit a page on my website, however index.php loads just fine. Here's my NginX config: ``` Default server configuration server { ...
    Accepted Answer: @dcmbp You're receiving the 404 error because of this line: try_files $uri $uri/ =404; The above means that if a file or directory does not exist, throw a 404. If you need to redirect all of the requests to index.p...
    3 By dcmbp Nginx Ubuntu 16.04