I have just installed WordPress to replace a HTML site. I'm using cPanel to redirect old pages to new pages, using a 301 redirect.
However, I have noticed that in a number of cases, having set up a redirect, if I delete the old html file, then the redirect stops working, resulting in a 404 error. When I replace the old html file then the redirect works again. Can anyone explain what's happening.