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 Active Member

    109
    27
    28
    Jun 1, 2017
    Ratings:
    +50
    Local Time:
    4:06 AM
    Nginx 1.13.10
    MariaDB 10.1.32
    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

    35,107
    7,751
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,953
    Local Time:
    11:06 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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 Active Member

    109
    27
    28
    Jun 1, 2017
    Ratings:
    +50
    Local Time:
    4:06 AM
    Nginx 1.13.10
    MariaDB 10.1.32
    Thank's :cool:
     
..