Want to subscribe to topics you're interested in?
Become a Member

Any way to reinstall WordPress?

Discussion in 'Blogs & CMS usage' started by ArisC, Jul 30, 2017.

  1. ArisC

    ArisC Member

    39
    13
    8
    Jun 1, 2017
    Ratings:
    +18
    Local Time:
    12:12 PM
    Nginx 1.13.6
    MariaDB 10.1.28
    Hello, I tried to migrate one of my sites and something went wrong and I get error 500 in /wp-admin. There is any way to reinstall WordPress on the same domain?
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    7:12 PM
    Nginx 1.13.x
    MariaDB 5.5
    Every centmin.sh menu option 22 wordpress install at end has info to the /root/tools/wp_uninstall_${vhostname}.sh script where ${vhostname} = yourdomain.com. Running the script will remove your wordpress site and nginx vhost. It doesn't remove the wp database itself - you can manually do that with
    Code (Text):
    mysqladmin drop DATABASENAME
    


    Then you can re-run centmin.sh menu option 22 to reinstall same domain wordpress site.
     
    • Like Like x 1
  3. ArisC

    ArisC Member

    39
    13
    8
    Jun 1, 2017
    Ratings:
    +18
    Local Time:
    12:12 PM
    Nginx 1.13.6
    MariaDB 10.1.28
    Thank's :cool: