There are several possibilities
If your theme has a page called 404.php
there you should change the title.
If you do not have that page, you can do it with a filter on your functions.php
page. Just add this fragment
add_filter('pre_get_document_title', 'toledano_cambio_404', 10);
function toledano_cambio_404($title) {
if (is_404()) {
return 'No encontramos lo que buscabas';
}
return $title;
}
Important
Do not indicate which version you use, but this example only works with the Wordpress version 4.7.4 or higher .