Join the community today
Become a Member

Any way to reinstall WordPress?

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

  1. ArisC

    ArisC Member

    98
    25
    18
    Jun 1, 2017
    Ratings:
    +46
    Local Time:
    10:59 PM
    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

    33,738
    7,467
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,480
    Local Time:
    5:59 AM
    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

    98
    25
    18
    Jun 1, 2017
    Ratings:
    +46
    Local Time:
    10:59 PM
    Nginx 1.13.10
    MariaDB 10.1.32
    Thank's :cool:
     
..