Redirect non-existant URLs from WP to frontpage

Hello experts,

some time ago i had a blog on the same URL and now i have a lot of requests on blog entrys that does not exist anymore, with apache and .htaccess it was easy, but how can i manage this with nginx.

So i want to redirect all non-existant URLs on my wordpress site to the frontpage

Thanks

you could use the free redirection plugin directly in WP: https://wordpress.org/plugins/redirection/ nice thing about that plugin also is that it will watch for other updates and then write them to the DB for redirection.

a quick google search found this stackoverflow: http://stackoverflow.com/questions/33181254/ngnix-301-redirect

ok this works fine https://de.wordpress.org/plugins/all-404-redirect-to-homepage/