• Resolved sam69

    (@sam69)


    Hi,

    We delete posts on a regular basis. Can this plugin help to send 410 gone status? I’ve tried some .htaccess codes but then every link goes to 410.

    Thanks

    Edit, and if it can redirect all deleted post ONLY to 410, how do we setup in your plugin?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter sam69

    (@sam69)

    Hello?

    Plugin Author John Godley

    (@johnny5)

    Yes, you can create 410 actions, as described on this page:

    https://redirection.me/support/redirect-actions/

    Thread Starter sam69

    (@sam69)

    Thanks and in our case as above, what would go in the source url?

    Edit: i tried /oursite/.* and used a redirection checker and it just shows a 404 still

    • This reply was modified 6 years, 7 months ago by sam69.
    Plugin Author John Godley

    (@johnny5)

    > Thanks and in our case as above, what would go in the source url?

    The URL of your deleted post(s)

    Thread Starter sam69

    (@sam69)

    In our case that won’t work as hundreds or even thousands of posts could be deleted. Please see edit above. Thanks for quick response.

    Plugin Author John Godley

    (@johnny5)

    Did you enable the ‘regex’ checkbox? Do you really want everything on /oursite/.* to be set to a 410?

    Thread Starter sam69

    (@sam69)

    Yes to enabled regex but of course not to everything to 410. As i mentioned only deleted post. Doesn’t the rule : when matched 404 -> with http code 410 do that?
    ALL we want is only deleted post at any time, which may be mass deleted so impossible to enter one at a time to go from 404 to 410.

    Plugin Author John Godley

    (@johnny5)

    > Doesn’t the rule : when matched 404 -> with http code 410 do that

    No, it will match everything that the regular expression matches and then return a 410 error.

    There is currently no way to only match deleted posts, unless they also happen to match a particular regular expression

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘410 instead of 404’ is closed to new replies.