Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter am2

    (@am2homeserver)

    I tried this at end of file /etc/nginx/nginx.conf

    location / {
    index index.php index.html index.htm;
    try_files $uri $uri/ /index.php?$args;
    }
    location /wordpress/ {
    try_files $uri $uri/ /wordpress/index.php?$args;
    }

    But I obtain this in log:
    2016/08/01 17:28:35 [emerg] 1262#0: “location” directive is not allowed here in /etc/nginx/nginx.conf:88

    Thread Starter am2

    (@am2homeserver)

    I will check it, thanks

    Thread Starter am2

    (@am2homeserver)

    Where I can check that?

    Forum: Fixing WordPress
    In reply to: Getting 404 Errors
    am2

    (@am2homeserver)

    I dont understand why you sent me to post a new theme to nothing. You could say: not open new topic, nobody will answer you.

    [Moderator note: Expletive removed. Please do not post that kind of language in the forums.]

    Forum: Fixing WordPress
    In reply to: Getting 404 Errors
    am2

    (@am2homeserver)

    I have a very similar issue:

    When I do click in a wordpress page I obtain this error (Permalink-postname mode):

    404 Not Found
    nginx

    Only if I set permalinks in simple/plain mode work well.

    /etc/nginx/nginx.conf –> https://pastebin.com/pkahCuMZ
    /etc/nginx/sites-enabled/wordpress.conf –> https://pastebin.com/G4hMhcEC
    with this last file (wordpress.conf) My site is broken, can not connect (there are a default folder with a link):

    Can not connect

    Firefox can not establish a connection to the server in tenpi2.ddns.net

    The site could be temporarily unavailable or too busy. Please try again in a few moments.
    If you can not load any pages, check the network connection on your computer.
    If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the web.

    In a support from a plug-in theme they said me this:

    May be related with page codes are fetching or passing.

    Any idea?

Viewing 5 replies - 1 through 5 (of 5 total)