Community

Can't install wordpress after deleting site

Dm
Dmitriy #1

Good day!
I removed the site from the cyberpanel and then added it. But now I can’t install WP on it, it shows 404 error. Does anyone know what is the problem?

CT
Carlos Torres #3

Hello,

cyberpanel has a bug which leaves the .htaccess file of the wordpress installation with lsphp so when you try to install from the software manager it does not let you, since it detects information in the path of a previous wordpress installation, so that you let install it you must eliminate all traces of a previous installation, you can support yourself by accessing by ssh to the user path where you want to place the wordpress and perform the following sequence of commands

ls -lha → so that it allows you to see all the files in the path including the hidden ones like .htacces etc…

after this i strongly recommend to go to the path i.e. cd /home/$user/$path and apply an rm -rf to each file you see associated with wordpress.

If you require support, you can send captures and I will gladly guide you.

sh
shoaibkk #5

is the directory there?
go to home directory and check if there

Dm
Dmitriy #6

Thank you!

Sign in to reply