My website has started generating 404 pages, and now there are more than a thousand 404 pages like so:
... (and so on)
I had installed a custom 404 plugin, and the problem started immediately after that. I have deactivated that plugin now. (I am not sure if the plugin started the problem in the first place, so am avoiding naming the plugin here.)
I was wondering if I should directly delete the pages via the database. It that advisable?