• My Permalink Settings is as follow.

    /%postname%.html

    Hence, my post url is like [ redundant link removed ]

    And I suppose for link like /sdafjlasdf/, it should return 404 just like /sdafjlasdf.html does. However, the link /sdafjlasdf/ returns homepage rather than 404.

    My Nginx rewrite rule is as follow:

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

    Can anyone give me some idea how to fix this issue?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Permalink Settings, cannot return 404 correctly’ is closed to new replies.