Welcome to Centmin Mod Community
Register Now

Any way to reinstall WordPress?

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

  1. ArisC

    ArisC Active Member

    113
    27
    28
    Jun 1, 2017
    Ratings:
    +52
    Local Time:
    8:13 AM
    Nginx Latest
    MariaDB Latest
    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

    36,401
    7,992
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,306
    Local Time:
    3:13 PM
    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

    113
    27
    28
    Jun 1, 2017
    Ratings:
    +52
    Local Time:
    8:13 AM
    Nginx Latest
    MariaDB Latest
    Thank's :cool:
     
..