Why do my new WordPress pages redirect to home / staging site?

There are quite a few places, plugins, tools, etc that can cause re-directs, not to even consider custom code.

If you think the re-direct is in your database and you are comfortable with wp-cli then you can use this command:

wp search-replace '00.00.00.00' 'example.com' --dry-run

This will tell you where the data you’re searching for is located. Remove –dry-run and wp-cli will actually make the change.

If its NOT in the database, you need to look in your wp-config file, disable plugins and check for any custom code (functions.php for themes and child themes etc) to see if there is a piece of code forcing a redirect.)

You could try searching for it with SSH within files by using grep:

grep -rH "00.00.00.00"