How do I uninstall Wordpress from my Ubuntu Server?

February 5, 2015 13.8k views

I want to completely uninstall wordpress from my server and know if I just delete the files via FTP there will be issues. Thank You

1 comment
  • rm -rf /var/www/localhost/htdocs/wordpress

    in mysql -> drop table wordpress;
    all gone!
    The best thing you will ever do for your server too!

1 Answer

You should also remove the configuration files associated with the virtual site for apache/nginx/whatever webserver you’re using.

You also might want to clean up the database that wordpress was using.

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!