Error «The requested URL was not found on this server» en Xampp

Cómo solucionar el mensaje de error:

Not Found

The requested URL was not found on this server.

Apache/2.4.54 (Win64) OpenSSL/1.1.1p PHP/7.4.30 Server at example.local Port 80

Acceder a la base de datos, pj. usando localhost/phpmyadmin

Seleccionar en la tabla wp_options pulsamos sobre Editar en la opción permalink_structure

Quitamos el valor /%category%/%postname%/ o el valor que nos muestre y salvamos.

Volver a la web y testar de nuevo el funcionamiento.