Viewing 3 replies - 1 through 3 (of 3 total)
  • You might be running into this problem, in which, presumably, the existing 410 error document configuration refers to a nonexistent path, e.g. ErrorDocument 410 /this-file-does-not-exist.html. If that’s the case you’ll need to either create the missing file or override the directive with a working one.

    Thread Starter Sanjay

    (@rsclmumbai)

    I’m using Nginx, CentOS, PHP-FPM.
    Any thoughts for Nginx?
    Thanks

    Thread Starter Sanjay

    (@rsclmumbai)

    It seems like there are 2 ways to do this:

    1. Define 410s in nginx.conf

                            location ~ /folder-name/.* {
                                    return 410;
                            }

    2. create a php file.

    <?php
    header("HTTP/1.1 410 Gone");
    ?>

    If there are more methods, pls update this post, until then, hope this helps others.

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

The topic ‘410 redirect not working’ is closed to new replies.