Welcome to Centmin Mod Community
Become a Member

Any way to reinstall WordPress?

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

  1. ArisC

    ArisC Member

    36
    11
    8
    Jun 1, 2017
    Ratings:
    +15
    Local Time:
    9:57 AM
    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

    29,053
    6,594
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,790
    Local Time:
    4:57 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

    36
    11
    8
    Jun 1, 2017
    Ratings:
    +15
    Local Time:
    9:57 AM
    Thank's :cool: