Whenever I try to publish a post in wordpress, I always get redirected to the installation page…why?

I recently updated a handful of plugins and after the update finished,
the redirect started happening.

1) Try deactivating those plugins and reactivate them one by one until the problem reoccurs.

2) Try Debug and see what PHP errors you might be getting. See https://codex.wordpress.org/WP_DEBUG

Add

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false);

in wp-config.php and the debug.log file will be in wp-content.

Change the “display” line to true

define( 'WP_DEBUG_DISPLAY', true);

to dump them to the browser as well as log them.