Ad
Ad
Ad
Tag

Wordpress

Browsing

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.

Read Now: Increases your WordPress website loading speed by 200%.

The hack

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.

Security

Step 1

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.

Step 2

Add Salt Shaker Plugin.
Reset your WordPress salt daily automatically to increase security and reduce vulnerability.

Step 3

Change the login password.

Removing the unknown post on the WordPress Website

Step 1

Head over to the PHPMyAdmin.

Step 2

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.

Step 3

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.

Conclusion

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.

2. Theme

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:

For more premium lightweight themes visit themeforest.

3. PHP

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.

4. Caching

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.

Read Now: 65 WordPress Plugins that slow down websites from High CPU

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.
  • Caching.
  • 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:

Using Gtmetrix

Go the Gtmetrix and type in your website domain name.

Check with theloading speed
Type in the domain and click on analyze

Within seconds the result would out, which is quite self-explanatary and easy to comprehend.

The result from the test checking the WordPress website speed
The test result

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.

CDN stands for content delivery network. A content delivery network is a system of distributed servers (network) that deliver pages and web contents ( images, CSS, JavaScript, and video) to a user, based on the geographic locations of the user, the origin of the webpage and the content delivery server.

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

Creating a cloudfare account
Creating a cloudfare account

Step2: Add the domain name of the website

Add the domain of your WordPress website
Add the domain of the website

Step3: Change the nameserver of the domain to Cloudfare nameserver

Nameserver
Replace the nameserver of your website with cloudfare nameservers

Step 4: Cloudfare will automatic optimize your website.

Reduction in load time of the WordPress website
Cloudfare informs of the reduction of the load time of your website

Step5: Additional settings for more optimization

Switch on Brotli compression
Rocket loader
Switch on Rocket Loader

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.

Image optimization settings for WordPress websites
  • 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.

For more image optimzation let’s introduce Webp

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:

Lazy loader /Minify

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.

Conclusion

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.

Knowing how to build a website could be regarded as an essential skill to have. As a Nigerian having the knowledge and understanding of how to build a website is advantageous. Here are a few benefits:

  • Save a lot of money on hiring web designers/ developers.
  • Creating a website to have an advantage and reach a wider range than your business competitors.
  • Being able to keep your website up to date and follow the latest trends without needing a programmer.
  • Adds an advantage to your CV when looking for a job.
  • Creates a much-needed job opportunity by working as a freelancer.

The opportunities are limitless but the first step to take is to learn how to make a WordPress website either for business or project.

According to Venturebeat, WordPress powers 30% of the websites on the internet. WordPress is always updated with lots of developers working on improving and enhancing the user’s experience.

One of the reasons WordPress is widely used is because of the no coding required it offers. You could build and host a website for just ₦19,000.

The plan to arc a Website

Step by step guide on the necessary process required to build a WordPress website at the cheapest price possible.

By the end, you’ll end up with a functional and elegant website and also acquire the knowledge to build a website either for a client or for a business of yours.

Step 1: Choosing a domain name and hosting

This is the first step in making a website and it is the fun part. You have total freedom to choose any name for the website out of millions of other names.

Still, there are some important factors to note while choosing a domain name in order to achieve a successful website.

Read Now: 5 best social media platforms to promote your blog

Stay original

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.

Read Now: How To Choose A Web Host For Your Website

There are a lot of companies offering web hosting services, with extremely competitive offers. I would strongly recommend Hostinger as one of the best web hosting services.

I’m not affiliated with the company but as a customer of theirs, I would recommend their services and here is why:

  • 24/7 customer service: Anything you running into a problem building or managing your website, their customer services are always online ready to assign to resolve the issue.
  • Very cheap for as low as ( ₦ 360/month).
  • Free domain name.
  • User friendly.
  • Light speed server.
  • Free backup for the lowest budget.
  • Free business email.

Okay, let’s get down to business:

  • Go the Hostlinger, set a plan for the website and add to cart.
  • Select a free domain in the payment section.
  • Installation and configuration of the Hostlinger and WordPress.
  • Finalizing.
Let's begin

Go the Hostinger and click on shared hosting, once the page opens up.

The single shared hosting plan is for small businesses, personal blogs and more. It’s the best plan to use to learn how to make a WordPress website.

For a basic website or small business website, this plan would be enough.

Premium shared hosting is for freelancer web designers, online stores and big companies.

Business shared hosting is for big cooperate companies.

Web Hosting
Hosting plans

Below is the payment section you would see form below, type in the domain name of your choice.

Free Domain
Grab free domain
Gotten free domain
The free domain secured

The next step is to sign in or create an account. Once you have created an account, sign in and proceed with payment. All Nigerian bank cards are accepted.

After payment, you would be required to filling some personal information that will be bound to the domain and hosting IP address.

II. Installation of WordPress on the web hosting server

Head over to the dashboard of your account and click on the manage button on the web hosting.

Dashboard
The dashboard

Don’t be intimated by the lots of icons scroll down to the auto installer and click on it.

Autoinstaller
Auto installer

Then click on WordPress.

Select WordPress
Select WordPress

Fill in the necessary information required for the WordPress installation.

Installation of WordPress
Fill in the form to complete the installation process.

Within two minutes the installation would be completed. Yes! you have officially built a WordPress website but there is still work to be done.

Read Now: What’s Java | Free Java tutorial

Step 2: Understanding WordPress and its functionalities

Visit http://yourdomain.com/wp-admin to access the backend of your website. Login in with credentials used in setting up the WordPress installation.

Wordpress Admin
WordPress Admin

I. Basic setups

Setting the permalinks

Permalink is basically how your website URL would be structured. The most common practice according to SEO experts for better optimization and ranking on Google is Post name.

Click on settings then permalinks (Settings-> Permalinks) and change it to Post name, then save.

Permalink
Setting the permalinks

Setting the visibility

To be able to be indexed by Google and appear in search queries on Google, you would need to make your website visible.

Go the Settings-> Reading and uncheck discourage search engines.

Note: When building a website it’s better to leave the box checked until the build has been built completely for google to index the website properly.

Search appearance
Setting the visibility

Setting the website title and tagline

The website title would be displayed in pages, posts and SEO descriptions. It’s would be used for bookmarks and more. Think carefully about what the website represents and select a title.

Taglines are usually phrases associated with the supposed website(brand or business).

Go to Settings-> General and write the website title and tagline of the website.

Website title and tagline
Setting the website title and tagline

Setting the time zone

Go to Settings -> General and scroll down to zone. Set the time zone to Lagos which is Nigeria and set the time format that is best suitable for you and your audience.

Time Zone
Setting the time zone

Step 3: Designing the website

Remember when we said choosing the domain is the fun part, well lied. Choosing a theme for your WordPress website is the fun part.

There are multiple themes to choose from and with the click of a button change the entire look of the website.

WordPress offers a lot of free themes with superb features. There are other websites (themeisle, themeforest, freepsdworld, and digitaltemplatemarket) that offer premium themes for a certain fee.

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)

II. Installation

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.

Add New
Click on Add new

Click on the Upload theme button and choose the zip file of the downloaded theme and install it.

Upload theme
Install the downloaded them

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.

Seach and preview before 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.

Site identity

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.

Homepage settings
Set the homepage

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.

Colors and Typography
Customize the color and typography of the website

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.

Privacy Policy – Usually generated automatically by WordPress. It’s a must-have in today’s world.

I. Creating a page

Click on Pages and Add New

Get familiarized with the interface.

  • Title.
  • Body.
  • Featured image.
  • Publish button.
Creating a page
Creating a page

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.

Conclusion

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.