Why my wp site always redirecting to the old website path..?

Did you update the URL in the DB? It sounds like the site still thinks it’s running in the old location which usually indicates the DB still has the old path in it.

I highly recommend the Search and Replace tool that Interconnect IT produces. The stable 2.1 version is my preference.

Make sure you remove this script when you have finished. It’s an open door for bad actors into your DB.