.htaccess'e şunu ekle

ErrorDocument 410 /410.php
daha sonra wp kurulu dizine 410.php sayfası oluştur verdiğim kodları koy

<?php 
header("HTTP/1.0 410 Gone");
header("HTTP/1.1 410 Gone");
header("Status: 410 Gone");
header("Cache-Control: no-cache");
header("Pragma: no-cache"); 

?>
en son temanın header.php'sine şunu ekle
if ( is_404() ) {       wp_redirect( '410.php' );       exit;    }