First of all, you need to decide whether you want to install WordPress on the present web address or a sub-directory. If you want to install WordPress on the current homepage, then all of your previous files should be removed and replaced with WordPress files along with MySQL databases. So, better take a backup before performing the step because you won’t be able to recover them automatically through WordPress if the site is built in PHP.
On the other hand, if you want to install WordPress on a sub-directory such as example.com/wordpress or a sub-domain like wordpress.example.com, then your previous data stored on the main directory won’t be affected unless you manually decide to remove them. But, you must create a new MySQL Database separately for it so that it won’t create conflicts with your other version of the website.
For detailed instructions on how to install WordPress, check this guide: https://wordpress.org/support/article/how-to-install-wordpress/
Hope this helps.
Thank you for your answer. i am going to install wordpress on the present website. So how can I delete the previous files of the website?
DJ
(@itsjustdj)
It looks like the site you referenced is already using WordPress. It’s already installed and running.
As Damian mentioned, you should back up all the site files (and existing database) before deleting anything – just in case you need to restore it.
Here’s a helpful support doc on backing up a WP site that will also help you understand WordPress and its files better:
Backing Up Your WordPress Files