production site routes to staging site after cloning

Hello I am new to wordpress, our website was down (due to plugin update) I was not even able to access the admin panel due to this, so I went to the directory and copied from our staging directory (the only working directory) to the public_html directory (Production Directory). This did fix access to the website but now when I access the website the home page is referencing the correct directory (non staging) but when I navigate to any tabs I am re-routed to the staging site (staging directory) which I do not want. Does anyone know how to fix this in order to stop the public html from redirecting to the staging html?