Suddenly, there is an unknown post on your WordPress website without your permission, worst of all it appears only on the frontend and can’t be deleted from the backend. This is a nightmare most WordPress users are quite familiar with.
As of the time of writing this article, this a current hack on multiple WordPress websites. I also came across a Reddit user with a similar problem which after helping him I was compelled to write an article for anyone looking for help to remove the unknown post on their WordPress website. In other to solve this mess of a hack you have to understand what lead up to this soft hack on your WordPress website.
It’s a simple database injection. Due to WordPress dependency on SQL makes it quite easy for hackers to inject codes into the database and gain unauthorized access. This is one of the biggest flaws of WordPress.
These malicious codes are injected through forms, login box, search box literally anything that takes user input. Due to most submissions on a WordPress website ae stored in the SQL database, all the hacker needs is to insert the code in form submission.
With this unauthorized accessto the SQL, post can be inserted or deleted depending on how friendly the hack is.
The solution to remove the unknown post from WordPress and increasing security.
Add Depender Plugin by WPMU DEV. Make sure to change the database prefix from the default “wp”. Activate limit on login trial. Change the login URL from /wp-admin/ to another URL of your choice. Activate the rest of the settings that suit your recommendation.
Add Salt Shaker Plugin. Reset your WordPress salt daily automatically to increase security and reduce vulnerability.
Change the login password.
Removing the unknown post on the WordPress Website
Head over to the PHPMyAdmin.
Find “wp_posts” and click on it. Note: if you had changed the prefix using the defender plugin it would be the new prefix _posts.
Find the injected (unknown) post via post_title. Using the PHPMyAdmin table column post_title, it would be easier to identify. Once found delete the post.
Due to how vulnerable WordPress, hackers will always find newer ways to gain unauthorized access. Always have a security plugin.
Make sure all other plugins are update and avoid nulled plugins.
Building a WordPress website is quite easy, which is why 30 % of the websites on the internet being powered by WordPress. Having a slow WordPress website is a recipe for disaster. Not only does it make the user experience horrible, but it also has serious damage to the SERPs of the website.
Recent studies by SEO experts have proven that site-loading speed of more than 2 seconds typically results in about 42 percent of visitors bouncing off the website. Knowing that having a fast website is essential for the growth and longevity of the website.
Factors affecting WordPress website loading time
1. Web Hosting Service
Web Hosting service is a company that stores all of your website’s data. You settle a plan and upload images, videos, contents, and more that would be stored on the host server. The hosting company gives you access to the data, manage it, and show it to your visitors.
When deciding on a WordPress host you may not even think of researching into what network they’re using, however, you should. This will have a large impact on your website’s overall performance. Many hosts will leave this out of their advertising as they’ll choose the cheapest network to reduce costs.
One of the biggest factors that affect a WordPress website loading speed is the theme of the website. WordPress themes are usually built with lots of features like sliders, carousels, dynamic content displays, widgets to name a few.
Having lots of these features on a page can cause an increase in the loading time of the website. The best option when choosing a theme for a website is a lightweight theme. Here are a few lightweight themes to choose from:
PHP a.k.a Hypertext Preprocessor is an extensively used open-source scripting language that is suited for web development and can be embedded into HTML.
The majority of WordPress scripts are written in Hypertext Preprocessor, along with your plugins and themes. Make sure your web hosting service provides you with PHP version 7 upwards else look for another hosting service. The higher the PHP version, the more requests that can be handled per second.
To understand what caching is as a process we must first understand how a web server works. When a visitor accesses a URL on your website, it sends a request to the webserver which processes the request and displays a webpage for the visitor.
Caching is the easiest way to reduce the loading speed of a WordPress website. Caching sends requests to the webserver and saves these requests on the RAM/disk, basically making it easier and faster to display as a webpage when next a visitor sends a request.
5. Overload Plugins
Plugins are quite nice, get the job done easily without the stress of coding, hence everyone can build a website. Yet you are advised that having much of it on your WordPress website often slows down the website.
The biggest problem most developers have with plugins is that the standard uninstallation doesn’t remove all the data stored in the database. Over time these stored data on the website database would eventually result in slowing down the website.
A well-developed plugin would have an option in the plugin settings suggesting deleting of all data if uninstalled. For some under-developed plugins, you would need to do a google search to find out the proper way to uninstall the plugin completely.
How to check your WordPress website loading time
Testing the loading speed of your WordPress is the first step in solving the problem. What to check during the test:
The number of requests.
Page size generated.
Obviously, the loading time.
The homepage (http://YOURDOMAIN.COM) of the website is used as the benchmark during the test. In order to test the speed of the website, the following websites provide the free tools for such:
Go the Gtmetrix and type in your website domain name.
Within seconds the result would out, which is quite self-explanatary and easy to comprehend.
Step by step guide on speed up a WordPress website
1. CDN (Cloudfare)
Those that visit your website belong to numerous locations within the globe, and needless to say, the website online-loading pace will fluctuate if the site visitors are placed some distance faraway from which your website is hosted.
Cloudfare offers free CDN but with limited services. Their cheapest monthly package is $20. The free service they offer is enough for a personal blog or a small enterprise website.
Steps in setting up a Cloudfare CDN
Step1: Create an account
Step2: Add the domain name of the website
Step3: Change the nameserver of the domain to Cloudfare nameserver
Step 4: Cloudfare will automatic optimize your website.
Step5: Additional settings for more optimization
2. Image Optimization
To run a successful website, image optimization is a must. Images are the major contributors to the size of a given webpage. The trick is to reduce the size of the images without compromising on the quality. Normally on WordPress websites, this process is done automatically with the aid of plugins.
One of the best plugin for image optimization that’s totally free not freemium nor premium, just free is Robin Image optimizer. There are usually three options when it comes to image optimization.
Lossless: This mode provides lossless compression and your images will be optimized without visible changes. If you want an ideal image quality.
Lossy: This mode provides an ideal optimization of your images without significant quality loss. The file size will be reduced approximately 5 times with a slight decrease in image quality, we recommend this mode.
Hard: This mode will use all available optimization methods for maximum image compression. The file size will be reduced approximately 7 times. The quality of some images may deteriorate slightly.
Webp is an image format employing both lossy and lossless compression. It’s not accessible by all browsers but with verse majority of the internet uses using Chrome browser this would reduce the image size and enable for even faster loading time. To convert your images to Webp use WebP Converter.
3. Caching, Lazy loader and Minify
Selecting a Caching plugin
We previously explained what caching means and how it helps accelerate the loading time of a website. There are lots of plugins that can add this feature to your WordPress website. Here are a few recommended plugins:
LazyLoad is a lightweight and flexible script that speeds up your web application by deferring the loading of your below-the-fold images, gifs, and videos. In other words, the webpage loads faster but display the images later on as the user scrolls down the page.
The option for this setting are usually available within the caching plugin media section.
Minify CSS/JS is just as the name sounds, the reduction of the size of the CSS/ JS script file. This is done by the removal of white spaces, comments in between the codes in CSS/ JS files to reduce the size. Most caching plugins have this within the settings.
We have discussed the factors that affect a website loading speed. We also covered how to test a website loading speed, last but not the least how to reduce a website loading time.
One of the biggest advantages of having a fast loading website is the user experience it gives your visitors. It equal increases the website SERPs ranking dramatically on google.
It’s the most important when choosing the website domain name. The domain name should be constructed around the meaning, name or phrase associated with the business.
Make the domain name brandable but not too long, easy to remember to avoid users typing in a typo while trying to access the website.
Summary of choosing a domain
Short domain name.
Easy to remember domain.
Unique and symbolizes the business.
If you are confused about what domain name to choose, there are a few domain name generators to try to give an idea.
I. Buying a domain and web hosting
Web hosting isn’t as complicated as often people think it is. Imagine a computer(webserver) in which you store your website information and files whenever a visitor calls upon a particular file via domain name (URL access) the webserver presents the file to the visitor that’s web hosting a nutshell.
If you can’t afford premium themes visit allwpworld or downloadthemes and download the premium themes for trial, not for commercial use.
I. Checklist for selecting a theme
Make sure the theme is lightweight (Nobody likes a show website).
Make sure it’s unique (You don’t your website looking like a replicate of another website).
Suited for the job (Choose a theme that best fit the business/ organization)
There are two ways to install themes in WordPress. If you download a theme from outside, the file would be in a zip file. Go to Appearance -> Themes and click on Add new.
Click on the Upload theme button and choose the zip file of the downloaded theme and install it.
Can install themes directly from the official WordPress directory. Go to Appearance -> Themes and click on Add new. Search for the name of the theme and preview it to get an insight into how the website looks before proceeding with the installation.
Step4: Customization of the website
Different themes affect the options that would be available in the customization tab. There are a few mandatory options that are always available for customization.
I. Site identity
Customization of the favicon of the website is important. It’s usually the icons that appear on the browsers tab and mobile search SERP. The favicon size is 144px by 144px Google recommended image size.
II. Homepage setting
Selecting a static page nor a post page could make or break your website. If it’s a blogged based website then the Post page is a better option.
If the website is to be designed for a business purpose the homepage setting should be Static page to be able to engage the audience quickly.
III. Color and Typography
In here lies the settings for the customization of the general colors that would be displayed throughout the website. Customizing the font, text size, and headers are also available. Free few the explore and get a feel for how the website could look like.
Step5: Adding essential plugins to power your website
Plugins simply help added more features to power and make websites easier to manage without having any knowledge of coding. Due to WordPress’s popularity, one could argue there is a plugin for every feature you plan on adding on to a website.
However, here are the essential plugins to add to your WordPress website:
Robin image optimize: optimize images on your website with loss of quality. It’s essential the images on a website are optimized to enhance user experience. It equally helps load web pages faster.
WebP Converter for Media: converting images to Webp helps load a website much faster for browsers that allows Webp images.
Contact 7 form: adding forms to your website is one of the best ways to allow the visitors of your website to reach out. With contact 7 form it makes the process seamless.
Wordfence security: Afraid of hackers? With this plugin, rest assured that your website security is secured and would be informed via email for any unauthorized activity on your website in real-time.
Yoast: an essential plugin for search engine optimization.
No need for any backup plugin when hosting with Hostlinger you are automatic backup up every three days with the single shared hosting.
Step 6: Basic pages to create
There are pages that all websites should have. These pages are:
Contact us – Where visitors can submit a form and get information that could help them contact you.
About us – Self-explanatory page that displays information about the aim, the purpose of the website.
Home – Usually called the landing page. It’s the first page a visitor would see when the website domain is accessed from a browser.
I. Creating a page
Click on Pages and Add New
Get familiarized with the interface.
II. Add Blog functionalities
If you are an influencer, content products or an inspiring blogger in Nigeria, it crucial that your website has a blog.
Blogs can be used to promote content, products, and brands. Managing a blog is straightforward, publish articles related to the content, products, and brand that you are trying to promote.
Creating a blog is similar like create a page.
Start by clicking on Pages and click on Add New.
Create a new page, name it BLOG.
Head over to Settings -> Reading and select the BLOG page as the Post page.
The success of every blog is based on consistent writing and publishing relative articles.
Yes! You have successfully learnt how to build a WordPress website.
You can now build a website from the ground up without needing to hire anyone.
With just ₦ 19,000 you can build a website, which takes 4 years before the next renewal which is quite cheap. Develop the skills you have acquired and you could be on a path to being a freelance web designer in Nigeria.