Troubleshooting and Fixing WordPress
WordPress is known as the best content management system for the rich content websites. This guide is for intermediate to advanced WordPress users. This guide will not cover the basic topic about the WordPress like signing up, theme selection etc.
Before reading further you should be at least familiar with the basic terms of WordPress. For convenience, we have divided this guide into 6 chapters. Let’s read and learn the troubleshooting and fixing of WordPress!
Site & Server Configuration
- Boosting up your WordPress: Optimize your WordPress website and boost up the speed and performance for better user experience. You can do this by installing plugins provided by WordPress free of cost. For further information on how to boost up your WordPress, click here or you can visit this link WordPress Codex.
- Updating WordPress manually: There are cases when you need to update your WordPress manually. However, it can be updated automatically using built-in tools available in Admin Dashboard. Updating it manually is not an arduous process but it is a bit time taking. You can update it manually by following the simple steps in this tutorial.
- Creating login URL: You can easily change your login page URL from /wp-admin or /wp-login.php to a simple easy to remember address just by adding one line code to .htaccess. This can be done by following this simple guide available here. You can also do this by installing plugins provided by WordPress.org. Plugins are easy to use and free, you can use Better WP Security for this purpose.
- Redirecting your 404 page to homepage: There is no one who likes the 404 page, keep this page away from your visitors or design it as friendly as possible if you want the top ranking in SEO. There are two ways to get rid of this code. First, remove all the links that direct to a 404-code page, but you will never be able to remove all the links. And second, the better option, redirect your 404-code page to the home page. To do this you will need to edit the .htaccess. To know how to do this, follow this guide.
- A/B testing or Split testing: Do you have different ideas for page layout but unsure how visitors would respond to each of these? Well, you can try them all by A/B testing. It will allow you to provide different views to different visitors and you will be able to see how visitors respond to each. You can do this by using plugins provided by WordPress.org. MaxA/B is known to be the best for split testing. If you want a further guide on what it is and how it is done, check this tutorial.
- Installing WordPress locally: Most web developers will suggest you complete your website locally, do all the serious work required and then give it to web servers for further handling. But how to install WordPress locally? Well, here are a few resources provided for you, these will help you to install WordPress on your Windows PC, Mac or USB drive.
Moving to WordPress
Whether you want to move from another server to WordPress, WordPress.com to WordPress.org, WordPress to a new server or any other. If you relate the terms “moving” and “WordPress” you are on the right track, continue reading.
- Moving from any platform to WordPress: This guide will provide you all the necessary steps to move from any platform to WordPress. Read Moving from anywhere to WordPress, A guide by WPMU DEV.
- Moving from WordPress.com to WordPress.org: WordPress.com provides free hosted blogs with a subdomain of WordPress. On the other hand, WordPress.org provides self-hosted blogs with your personal domain. If you are serious about blogging and thinking of something big, then move to WordPress.org. Follow this guide provided by WordPress.
- Moving from WordPress to a new server: If you find some other hosting provider providing better facilities as per your requirements then move on. Read how you can do this by clicking here, it is a guide by codex.
- Moving to a new domain without hurting SEO: Moving to a new domain will cause a short-term ranking drop. However, if you have finally decided to change your domain name, you can minimize the length of short-term damage by notifying the search engines and implementing redirects. To know how to do this, read this guide on how to move to a new domain without hurting SEO by Web Dev Door.
- Moving from Joomla to WordPress: Just like WordPress, Joomla is also a popular content management system. If you started with Joomla but you feel that your website will work better with WordPress, then move to it by following some simple steps. Click here to learn how to do so without damaging your website.
- Moving from Blogger to WordPress: Blogger is a free hosting platform, that will offer you a hosted blog but you will get a shared domain. If blogging is just your hobby then it’s fine but it you are thinking about something bigger than that, you need to move on to WordPress.org, a self-hosted platform. When you finally decide to move on, read this guide.
- Moving from Tumblr to WordPress: Tumbler is another free blogging website. If you want your own self-hosted blog then, you’ll need to transfer your Tumblr blog to WordPress instead of creating all the contents again. Follow this guide for further help.
How to Remove Hidden WordPress Theme Links
Before learning how to remove these links, let’s learn what these links are. When you download WordPress themes from an unreliable source, they inject malicious codes inside those themes and sometimes these codes can be inserted by hackers by inserting fake media files like images or other tricks.
These codes are written in the same color as the background and that’s why you or your visitor won’t be able to see these. Whether these are built in right into the theme or injected by tricks, these links are harmful for your website as these may be built for moving the traffic from your website to elsewhere, giving control of your website to a hacker, redirect your customers to site full of malware, steal their personal data and many other unlawful activities. It is your duty to protect your visitors and it is our duty to teach you how. Continue reading.
How to Identify and Remove Suspicious Links and Contents
Have you installed a free theme from an unreliable source? And you feel like the theme may contain some suspicious codes? Or even if you are overprotective about your website, give it a review for any malware. Follow this step by step guide:
- Backup your whole site along with all contents, in case if you remove something important by mistake during the process.
- Use WordPress approved tools to check for the codes. There are several plugins and utilities available to track such malicious codes like Exploit Scanner and Theme Authority Checker (TAC). These tools will help you identify any harmful contents not present in a healthy site. Remember that these tools will only identify such codes, removing those codes is still your job.
- After identification, download your contents. You can remove these suspicious codes in your FTP application, edit these and then re-upload and make sure it works.
- If you think these codes are damaging your database, use phpMyAdmin to update your database.
Be sure that you removed only the harmful links from your website. Removing any useful link may damage your website. If you are unsure about the links, ask help from your hosting server or hire a professional.
Here are a few tips you can use to protect your site from future damage:
- Always keep WordPress up-to-date.
- Use themes from approved WordPress providers only.
- Password protect all the sensitive information and all the folders.
- Change all the passwords on regular basis.
- Delete any unnecessary administrator accounts.
- Delete any unnecessary files.
How to Fix a Broken WordPress Site
We have collected some useful website for you to solve all the problem related to fixing a broken site. Read and rescue your website. Click on the problem that you are facing and it will redirect you to the site. We have personally accessed these links, feel safe to visit.
- Fix maintenance mode message after updating.
- Fix posts returning 404 error
- Fix a Broken Database Connection
- Fix Internal Server Error
- Fix Immediate Updates
- Fix Fatal Error
- Fix Email Issues
- Fix a Recurring Logout Issues
- Unlock the Admin Area if You Get Locked Out
- Fix Too Many Redirects Issue
- Fix the Image Upload Issue
- Fix the White Screen of Death
How to Fix a Hacked WordPress Website
WordPress is the most preferred CMS for those who are not familiar with coding thing but a famous website can be an attractive target for hackers. Your websites can be hacked if your plugins are out of date, or your database is not updated, by injecting viruses etc.
No matter how your website is hacked the important thing is all your important data is in danger. A hacker can steal your traffic and you can lose all the ranking in SPR. Let’s learn how to fix a hacked website, follow the steps:
- Take your website offline. Let your employees know that you are working on your website by putting a 505 code with the help of your hosting provider that your website is being repaired.
- Backup your data.
- Use FTP or ask your service provider for information how your website was hacked, and let them know you are hacked if you are using a shared hosting plan.
- Scan and clean your database and uninstall all your themes and plug-ins.
- Create a new directory and install a fresh copy of WordPress in it.
- Using a database managing tool like PHPMyAdmin review your database. Check if your .htaccess file is intact.
- Now, connect your WordPress Installation to your database.
- Set up a new administrator account and delete the old one and adjust all the permissions to your new account.
- Log in to WordPress with the default theme then download and install fresh copies of themes and plugins.
- Restore any media files or contents but make sure they are not infected ones and disable any PHP files from your uploads.
- Test your site, if everything works the way it should then CONGRATULATIONS you have fixed your website.
- Remove the 505 code and take your website online again.
After you recover your website, go through these suggested links to know if you have completely removed all the tracks left by the hacker.
How to Prevent Your Website From Future Hacks
We have collected some useful websites with the topic of how to secure your website. Go through these to know if your website is secure or still in danger.