Fixing Broken WordPress Installation in Safer Way:
Hello Guys ! WordPress is the most famous CMS around having vast community and support.Still some times we got in to situation where Something went wrong in wordpress installation ,Which is not fixed by updating,So we are eager to fix our installation to increase the performance of our blog and get rid of error and Slow speed.Well today i got A safer way to Fix the wordpress installation ,Which i have tested and i used this way to Upgrade my WordPress blog/site.
So without wasting time Lets see how to Fix the WordPress Installation without Loosing data and in much safer way.
Before Continue to the Steps of repairing wordpress broken installation I suppose you have a Server Cpanel and Ftp Account From your respective Hosting. The cpanel control is Necessary for this Repair process of the WordPress installation. Also make a BackUp Before Doing This Fix .So that if anything went wrong You can restore your installation.
Fixing Broken WordPress Installation in safer way:
- Create a New Folder on Your Cpanel Server Root(Public_html) .Say you have old wordpress installation in “abc” Folder .Keep that intact .and create a new Folder called “abc_new” ,which will hold our new installation.
- Now Download the New WordPress From WordPress website. and Upload it to This newly created directory via FTP .
- Now From Your Old Installation Copy “wp-config.php” File,This File Contain our Database and Connection information.Download this file From your old wordpress installation and keep it as we gonna use it in Next Steps.Also Copy the Stuff from wp-content directory Eg:Uploads directory.
- Now From Your Cpanel Copy Your Intire Old wordpress Installation and move it outside Public_html folder or i should say move it in your home directory so that it will no longer be browsed .may be You could rar or tar it and then move to home directory,thats entirely your choice.
- Now We have removed older installation to place where it cant be browsed replace it with Newly uploaded or you can just tell your server to Point your domain name to your newly created Folder:”Say you have created new folder abc_new where new installation reside, So you can simply tell your server to point your domain name say abc.com to abc_new .
- Now Browse the New installation from your domain name.The WordPress installer will start.It will say Config file is not present and there fill be create button which will create config(wp-config.php) file.Click on that button and config file will be created.Now Do not Continue to Next step ,Just Stop here after the creation of wp-config.php file .this is important step So you dont have to move to next stage of installation.
- Now Replace the Newly created wp-config.php with the older copy(wp-config.php) we have downloaded from older installation of wordpress.
- Now Browse again your domain name in new browser window.it will say “config file present WordPress is already installed”.
- Now continue to next steps and you will see your new dashboard Bug free .And after that dont forget to Copy Uploads directory(wp-content/uploads) From older wordpress installation to newer wordpress installation.
- Tada we have done here.Now you can add your plugins or whatever you need to customize as your wordpress installation is repaired.
I hope You liked This post and it was help to repair your wordpress installation.Please hit like and do share if you liked this post.
Thanks for vising designaeon and reading our post.