Basic Website Maintenance Checklist 

Monitoring your website’s general health and functionality is known as website maintenance. Keeping a website current is essential to ensuring that it operates at peak efficiency and attracts and retains site visitors. To keep the website current, safe, and dependable, you must perform this routinely. It is a process that involves looking through your website for problems, fixing those problems, and upgrading it as needed.

 

Perform Website Software Updates:

You must always ensure that your software is up to date if you wish to utilize the website effectively. If a CMS was used to create the website, you may routinely check for updates. WordPress, for instance, is updated automatically. However, there are some situations when manually updating it is required.

 

Backups:

If you have a WordPress website, you will have some automated backup options. You don’t have to worry about keeping file backups when you employ website support and maintenance service pros. They undertake this operation every week to ensure that you do not lose important files.

 

Speed:

A website’s ability to draw in and retain customers suffers when it takes longer than three seconds to load. The number of visitors leaving your website and the quantity coming back are inversely correlated. Your search engine rankings will suffer as a result.
A website support service will continuously assess your website’s loading performance while using the information they get through speed-checking tools.

 

Contents:

For the greatest outcomes, you should always update your website’s content regularly. A post that was made one or two years ago will no longer be relevant and will need to have its material updated.

 

Related articles: How to choose the best Web Hosting

 

Broken Links or Errors:

Make sure that every link on your website points in the appropriate direction, but occasionally, links can break. Your website may suffer as a result, since it will appear outdated and not user-friendly. You will become less credible online as a result.

 

SEO:

You may improve the online rating of your website with SEO. As soon as they enter the keywords, customers who are looking for things that are offered on your website will be able to view them. Your website will have a greater chance of receiving more clicks if it is ranked higher.

 

Functionality:

Check that all significant functionalities, such as signature forms, contact forms, and checkout forms are operating correctly. You need to pay special attention to detail to ensure that it functions properly. What seems to be a little error might result in several problems. HTML errors should be able to be inspected, found, and fixed by trustworthy website support.

 

Basic Website Maintenance Checklist

How to choose the best Web Hosting

A website or web page can be published on the Internet with the help of a web hosting service. A company that offers the technologies and services required for a website or webpage to be seen on the Internet is known as a web host or web hosting service provider. Choose the best web Hosting with Free domain, Data security, and SSL certificate support, Check if the web hosting supports e-commerce.

All Internet users need to do to access your website is enter the domain or address of your website into their browser. Their computer will then establish a connection with your server, and their browser will start receiving your web pages.

 

Calculate the Traffic Volume You Anticipate:

Some website hosting plans have a monthly traffic limit, which you might not be aware of. In actuality, this implies that the server will either start charging extra for “extra guests” or will stop showing your website online after a certain number of accesses.
To avoid the possibility of your website going down, constantly pay attention to the information provided by companies and make sure to use those with limitless data traffic.

 

Free domain:

A free domain is typically provided by many web hosts for a full year. After then, utilizing that domain will need you to start paying a fee.
Typically, a free domain looks like [yourname.webhost.com]. Another name for this is a subdomain. Even though it may not appear to be particularly professional, it is useful to have when you first start out.

 

Data security:

It’s not easy to put your website and material in the hands of someone else to host. Therefore, you must ensure that the company you choose can properly safeguard its clients by providing a system of information redundancy and ongoing backups.
That way, despite any unforeseen or natural issues, your website will always remain accessible and completely functional.

 

Recommended Article: How to create a new Google Calendar and Embed on WordPress Website

 

SSL certificate support:

Google now recommends that every website have an SSL certificate to provide reassurance to visitors and protect sensitive data such as passwords and credit card information.

 

Check if the host supports e-commerce:

If you’re creating an e-commerce website, make sure your web host has everything you’ll need to run an online store. This could include pre-installed e-commerce tools, one-click installation of useful applications, and even enhanced security for online transactions.

 

Support:

The customer support offered by the web hosting company is the final important point to think about. Having knowledgeable customer service allows you to address website issues more quickly and successfully.
Typically, web hosting companies provide phone, chat, or ticket-based customer assistance. How quickly they can react and how competent their support staff is, though, is what really counts.

 

Contact methods:

Next, you’ll want to check how you can get in touch with support. The best web hosts offer a choice of contact methods, including live chat, telephone, email, and an online support ticket system.

 

Cancellation Policy:

As with any service in life, it is advisable to thoroughly read the terms of your web hosting provider. If you don’t read the small print, you can be forced to sign a long-term contract with no option for cancellation.
Several providers offer lower rates if you pay in advance. If you do this, you should be aware that even if you decide to switch providers later, you are committing to paying for a specific period of time. Consider a service provider with a lenient cancellation policy if you are anxious.

 

Speed:

You don’t want the website to lag even for a millisecond, thus speed is essential. Given that loading time affects SEO and overall user experience, this is very crucial. Server speed is one of several elements that affects how well a website performs.

 

Scalability:

Although scalability may not be a key priority right now, you may have developed a plan to scale and grow your organization, just like many successful business owners. Scalability is crucial in light of the presumption that your website will expand and draw more visitors, which will inevitably result in more traffic and content.

How to choose the best Web Hosting

 How to create a new Google Calendar and Embed on WordPress Website

Google Calendar is a time-management and scheduling calendar service developed by Google. It became available in a beta release on April 13, 2006, and in general release in July 2009, on the web and as mobile apps for the Android and iOS platforms. Google Calendar allows users to create and edit events.

  Steps to create events on google calendar with embed options :

 

Setup google calendar

 

  1. Go to Google Calendar and sign in with your Google Account. if you don’t have one then create one.
  2. then check over the left side of your screen you will find “others calendar ” click on it and click on the create new calendar.

3. Add name, description and select time zone then click on create a calendar

4. Click on the configuration and make it public or private whichever you want to.

5. Now go to the homepage and click on the “create” option and create a calendar.

6. Now fill up the details and click on save.

7. Now the events will be created, also you can add events by following the same process and you can remove or edit your event at any time you want to.

 

Recommended Article: How to deploy app on play store what are steps and process to Consider

 

Embed in page

 

Using their embed code, Google Calendars can be added to a page or a text widget.

In the Google Calendar, you want to add, go to Settings and Sharing (hover over the calendar you want to embed and click on the Options, and select Settings and Sharing).

i. Scroll down to embed code and then copy it, you can also customize the calendar.

ii. Whether you use the block editor or the classic editor determines how you add embed code.

 

 

Block Editor

 

You have to add a custom HTML block if you are using the block editor.

  1. To insert a custom HTML block, click the + icon to the right of any empty block or at the top left of the editor, then search for HTML and select the custom HTML block icon.

2. When it’s added to the Block Editor, it looks like this.

3. Paste the embed code into the custom HTML block.

4. Click on the preview

 

 

 

Classic Editor

 

To add embed code to a post or page, use the Add Media button in your classic editor.

  1. Insert your cursor into the page where you want the calendar to appear and click the Add Media button.

2. Click on Insert embed code

3. Copy the embed code and paste it into the Insert Embed code box before clicking Insert into post.

When you view the page on your website, your Calendar will now be embedded.

If this type of message arises “You don’t have permission to view this calendar,” it means you haven’t made your calendar public yet, and you should change your Calendar Settings to Public.

How to create a new Google Calendar and Embed on WordPress Website

How to deploy app on play store what are steps and process to Consider

There is no denying the Google Play Store account’s popularity and supremacy in the field of mobile software and applications. An overwhelming majority of apps are sold through Google Play Store. To be precise, it amounts to 86.1% according to IDC.

Therefore, if you have chosen wisely to develop an Android supporting your company strategy, you are on the right course. We have covered every aspect of the Google Play upload process from beginning to end. Let’s get started with Google Play publishing right away.

 

Step 1:  Create a Google Developer account

You need to create a Google Developer Account as the initial step. To register for a Google Developer Account, you can use any of your active Google accounts or make a new one. It doesn’t matter if it’s a personal or business account. In the future, you can effortlessly migrate your app to another one.

The account will be created through this step:

  • Select your Google accounts for Console. After selecting it, you will be registered.
  • After being registered, you have to click “Agree” to accept the terms.
  • You will have to pay the one-time registration fee of $25.
  • After that you will have to wait approx. 48 hours to get your account approved.

 

Step 2: Link Developer Account with Wallet Merchant Amount

 

You must link your developer account with your Wallet merchant account if your Android Play Store app includes an in-app purchase option. To do it, click “Reports.”

  • Click on “Set up a merchant account now” after selecting “Financial Reports.”
  • Enter all the necessary information here.
  • You will be able to manage and examine your app sales and profits with ease once the merchant account is connected to your developer account.

 

Step 3: Creating Application

 

Add your application through the following process:

  • Select the ‘All Applications’ tab in the menu.
  • Click on ‘Create Application.
  • Select your app’s default language.
  • Enter the title of your App.
  • Click on “Create”.
  • Your application will be shown with the title you entered which can be changed later on if there comes any need.
  • After the application is created you will be redirected to the store entry page where you will have to fill up the details for the app store listing.

 

Step 4: App store listing

  • Go to the menu section, navigate 7 points down to ‘Store Listing’, and click it.
  • Fill up the information that is asked such as, ‘Title’ and ‘Short Description.
  • You need to add Screenshots of your application.
  • Using Google automated translations, you can offer an option to your users to opinion listing details in their wished language.
  • Specify the type and category of your app. The content rating can only be set once the APK is uploaded. So, you can do it later after uploading the APK.
  • Provide all the necessary contact details.
  • You should have your privacy policy written in detail about whose link is shared with the users so that it can be checked how the application collects, uses, and shares the data.

 

Step 5: Uploading the Application

 

  • Go to ‘Release Management’ followed by ‘App Release’
  • Pick one option among the four i.e. close test, an internal test, a production release, and an open test.
  • Click on ‘Create Release’.
  • You can choose whether you want the Google Play app to sign on to your app or not. If not, go ahead and click on ‘OPT-OUT’
  • Click on ‘Browse Files’ to add apk file.
  • After adding the apk file choose the ‘Review’ option after that click on ‘Save’.

 

Step 6: Content Rating

 

  • If you don’t allocate a rating to your app, it will be registered as ‘Unrated’. Apps that are ‘Unrated’ may get detached from Google Play.
  • To rate your app, you have to fill out a rating form. The content rating on the Google Play store has been applied to your app.

 

Step 7: Set up pricing and distribution

 

  • You can decide whether to make your app free or premium once you understand how it generates revenue.
  • A free app cannot be changed into a paid app in the Google Play Store. A paid app can change to a free app at any time through the Google Play store.
  • You must set up a merchant account if your app is paid.

 

Step 8: Publish Your Application

 

  • Verify that the content rating, pricing, and distribution areas of your app have a green checkmark before you evaluate and release your app.
  • Navigate to “Release management,” then “App releases,” after choosing your app. Select your preferred release by clicking “Edit release,” then go through it.
  • The next step is to click “Review” to get the “Review and rollout release” screen.
  •  Finally, choose “Confirm rollout.” Additionally, this will make your app available on Google Play to all users in the targeted nations.
  • Congratulations! Your app has now been successfully uploaded to the Google Play Store! Depending on the countries you chose, it will only take a certain amount of time.

How to deploy app on play store what are steps and process to Consider

Steps to creating a website

Website is a crucial element for a brand to reach a greater height. While many of you might be a beginner and hence mightn’t know how to create a website. Well! below are some of the steps to create a website.

Select your website platform

always select the correct website platform for your site. Take a detailed look at the type of website you’re creating, whether it is for e-commerce, displaying artwork, etc. Some of the website platforms are WordPress, Shopify, Wix, etc. However, in 2022 WordPress is the most commonly used and popular website-building platform. It is free and highly customizable, and also user-friendly. WordPress makes your site responsive and works great on every device.

you can learn about the reasons to use WordPress here

Research and find a domain name

A domain name is as significant as content in a website for a website. It affects how easily and conveniently your audience can find your site. A domain name is a part of your URL. It assists in maintaining brand consistency. Furthermore, it helps your customers find you online and prevents confusion between your brand and another similar brand. research and find the perfect domain name that matches your nature and type of brand.

it is better to use your business name for your website domain name, or other online platforms too. Also, make sure to check the availability of your chosen domain name on websites that sell the domain names.

register your domain name

visit the web hosting company’s website to register your domain name. select the plan or package according to your requirements. Add your domain name in the requested section and accordingly, it will take you to a page.

you can register your domain name on sites such as Namecheap, GoDaddy, google domain, etc.

Choose a web hosting service

for your website to be accessible on the internet, you need a hosting service by a web hosting company. there are several companies that provide secure and reliable web hosting services on their server. You are free to host your website with the same company with which you registered your domain name.

web hosting provides you with website space, databases, backups, website-building tools, plugins, etc according to your package.

Get connected to your domain name

after getting your domain get connected to it. Bluehost is a popular host that has agreed to provide a free domain name, and SSL certificate, along with a 60% discount on web hosting.

after you’ve finished registering your domain name, you need to update your DNS with the domain register with whom you purchased your domain name.

Install WordPress

next, install WordPress on your device. It is open-source software and a popular platform for building your website. It allows you to host and customise your website, blogs or online portfolios, stores etc. So, it is recommended to install WordPress to create a website.

Install WordPress, upload it to the hosting account and run the installation process. Installing WordPress is as simple as it sounds.

Add contact form

you might be thinking why do I need a contact form? But here’s an interesting thing, it provides you spam protection and also saves time. As you start your website you’ll get thousands of emails and hundreds of them might be spam emails. Hence, a contact form can stop almost all spam emails.

For this, you need to select the best WordPress contact form plugin and install it. Create a contact form from WPforms > all forms in your WordPress admin area, configure notifications, add it to a page, sidebar and you’re done!

Setup WordPress SEO

WordPress has numerous built-in SEO. However, there are other third-party plugins too. Yoast SEO is one of WordPress SEO which is a powerful tool that can assist you in making your site SEO-friendly easily and conveniently. Moreover, All in one SEO, W3 total cache, and Premium SEO pack fall under the category of best WordPress SEO responsible to boost your website traffic.

To install WordPress SEO, on the dashboard go to plugins, add new, type your desired SEO into the search bar and install it and activate it.

Install google analytics and webmaster

As your website goes live, you have to track your audiences to monitor the growth, trends and patterns. These are the power tools that is used to monitor the interaction of your site with google or any other search engines. It is believed to improve visibility and create reporting views. Further, it provides vital information of your site and is a must no matter what type of industry you have.

log in to your WordPress admin area and go to Settings » General page. Here, you can see your website’s URL in the site address field. Enter your correct website address in the Google webmaster tools setup wizard, and click on the ‘Continue’ button.

Install caching

caching in WordPress means creating a static version of your content and serving it to the visitors. caching is believed to improve the speed and performance of your website. Moreover, it helps to reduce the load on your hosting server.

WP Super Cache is a popular free cache plugin that generates static HTML files for your WordPress site. Go to Plugins > add new, search for your desired cache and click install and activate it.

Set up spam protection

Spam protection in WordPress provides security against login, registration, comments and content protection for your website. In simple terms, it helps to defeat WordPress spam users and prevents future registrations.

To set up spam protection visit plugins from the dashboard, click add new and search for spam protection. Find your required plugin, install it and activate it.

Change site title, tagline, WP address, and site address

After you’ve created your website update your user’s profile, change the site title, tagline, WP address site, address, permalinks, and other requirements. Log into the WordPress dashboard. Go to settings > General option and change or edit both the site title and tagline and other. And click on save.

Theme selection

you surely like an attractive-looking website Don’t you? well, a theme in WordPress helps your site to look appealing and improves the look along with the performance of your website. To install the Theme in WordPress, navigate to appearance > Themes. on the themes page select add new and choose a theme. Click on Download and begin the installation process. And finally activate it

Add widgets

WordPress widgets add more content and features to your website. In simple terms, widgets are blocks of content that we can add to the site’s sidebar. It provides a way for users to customize your site. Footer and Header are the common widgets that are added to the site. Go to the WordPress dashboard, and click on appearance > widgets. You can either choose a widget or drag it to the sidebar or a destination.

plugin research and installation

Plugins are one of the most important elements of a website. Plugins add various new or existing functionality to your site and allow you to create any type of website including an e-commerce store using woocommerce or other plugins and portfolios, etc.

What you need to note is there are some plugins in WordPress that are free and some you have to pay for. Hence, you need to research properly, understand what type of plugins you need and accordingly install them.

Plugins activation(security plugins too.)

After you’ve installed the plugin make sure to activate the plugin. While you install your plugin like woocommerce, Yoast SEO, etc. make sure to install security plugins like Wordfence security, defender, etc. to protect your WordPress site from malware, hacking attempts, or other destructible acts.

Security plugins are important for your site because a hacked website can cause a huge loss of business revenue. Hence, after installing plugins activate them and also check if you have security plugins installed.

Add content(pages and posts)

contents are the most important element of your website. In the human body, the heart keeps you alive. similarly, content is the heart of the website as it is useless without content. To add content, in the WordPress admin dashboard Go to posts > add new.

Here you can add your content and finally update it. similarly to add pages, Click on Page > Add New. Add in your new content, including a Title. 

Check your website structure

Before you have your website go live, make sure to check its structure. Check the attributes, categories, permalinks, etc. Make sure to keep your website structure simple and always follow the hierarchy. Similarly, your site’s internal links and external links are vital to your website. Also, categorize your page according to the contents it contains. After you’ve created the content and finished with the structure, add the sitemap that’ll help to crawl over your content.

Improve the website’s appearance

Your site must look standard and professional in order to allow your viewers to stay on the site for a longer period of time. The first impression is the last impression. Therefore, customize your site, and make it presentable.

Along with the appearance make sure to improve the site’s speed, delete unused themes and plugins and control your spam comments to improve the site’s appearance.

customization of the website

Discover brand-new ideas and techniques to customize your site. To customize your site, on the WordPress dashboard of admin area appearance > themes.

create a custom homepage using Elementor which can be easily installed on your site by searching it in the plugins. change the font, use various features, and utilize available features to customize your site and make it user-friendly.

Add blogs/store

After you’re done with customization, add blogs or stores for your website. To start an e-commerce site you can add plugin Woocommerce from plugins to start the site and accordingly add your products.

To add blogs, posts > add new. similarly, to add products, on the admin dashboard products > add products. add title and description. select the type of product (simple, variable,…).

Check SSL/HTTPS

SSL and HTTPS are very important to keep the information confidential, secure connections, and prevent your information from being modified. How to check SSL/HTTPS?

go to your WordPress dashboard, then select Settings > General. Now, check if your WordPress Address and Site Address begin with “https://”. If not, change these URLs.

Launch your site

After all your website-related works have been completed including your contents, permalinks, attributes, pages, SSL checking, and customization. You’re all set to launch your website and make it live. However, make sure to check your security plugins and also takes notes of the glitches to repair them on time.

Improve SEO efforts

after your website goes live, to increase the organic traffic and improve your SEO. use appropriate tags, metatags, meta descriptions, alternative texts, etc. it is good to use Yoast SEO for your website as it helps you to optimize your content for both Google and visitors.

Set up website analytics

To monitor your site’s performance and to watch the improvements in your audiences and viewers, set up website analytics. According to reviews on the internet, it is good to install google analytics as it is reliable and beginner-friendly too.

Google Analytics is offered by Google and it tracks and reports website traffic. It is easy to set up and is easily understandable.

Create an official page for the audiences

It is always good to open an official business page on your website so that your viewers can easily contact you with suggestions or queries. It can also be used to promote your brand on the internet and increase the reach of the people. you can use social media platforms like Facebook, Instagram, Twitter, etc to promote your brand.

While you create a website make sure it is ADA compliant website. Don’t know what is ADA compliant website. Have a glance!

woocommerce

Introduction to woocommerce Woocommerce is an open-source e-commerce platform on WordPress that assists a creator in creating and managing

Continue reading

How to write an article?

Instructions for writing an article

An article must possess three features for it to be called a good article: suitable subject matter, proper arrangement & adequate power of expression. However. the expression varies according to the type of article you’re writing. every article should be divided into paragraphs & each heading should have at least one paragraph.

This document presents guides on writing articles. These are minimum requirements, you can add/edit on your own.

Each article should possess the following parts for a good article:-

First Paragraph:

Introduction of what you are about to write, if it’s a plugin, introduce the plugin, show the download link:-(https://wordpress.org/plugins/), etc, this should be in the first paragraph.

The first paragraph must be very brief and always arresting and pertinent to the subject.

As you’re writing about the plugin, you may write its short definition, examples of application areas, or a short proverb or general remark by someone who’s briefed regarding plugins.

Second Paragraph:

Show steps to download and install the plugin, with screenshots. The screenshots need to be in PNG file type, do not edit images in MS Paint or another application.

Images play an important role in making an article attractive. Hence, Subject related images should be used in the content to make the article look standard

This makes an article well constructed. Further, adding images of plugins or other files should be related to one another and should possess a direct relationship with the subject matter.

Third Paragraph:

This paragraph is the most important part of the article. Give the main details of the subject matter here so that, the audience doesn’t quit your article. Match the words to the sense, and adapt the style to the subject matter.

Hence, In the third paragraph, write about the features of the plugin, pros, cons, (in bullets), costs if any, etc. Avoid the use of unnecessary details. Also, look out for useless repetitions & strike them out.

Fourth Paragraph:

In the fourth paragraph, you can give extra details about the article. Frame your sentences and reach the last part of the context before the conclusion paragraph. As we’re talking about plugins here & we’ve already discussed writing its features above so here, Show steps to set up the plugin.

Most plugins have a settings page, explain the settings page, and explain and show steps about how you can use the plugin in WordPress. A beginner should be able to use the plugin after reading your article so make sure this happens. Also, don’t forget to watch out for the length of the sentence.

Fifth Paragraph:

As we’ve reached the 5th paragraph, conclude the article with an effective and satisfactory end to an article. The conclusion is as important as the introduction.

Here, you may sum up all the details of the previous paragraphs, a final conclusion drawn from the subject matter, or a phrase or sentence that strikingly expresses the main point of the entire article.

Here, for an article on plugins, Write a conclusion, and talk about how the plugin relates to other similar plugins. Use words like In conclusion, finally, summarizing the paragraphs, As previously stated, etc.

Notes:

  • Write direct-to-the-point sentences, do not write how this is the 21st century and Internet has grown, and such unnecessary sentences.
  • Write shorter sentences.
  • clarify the points under suitable headings & Arrange headings in a bare outline.
  • Write technical content as much as possible.
  • The articles are for beginners to experts, so make sure you are writing easy-to-understand sentences and bullet points.
  • You can write more than 5 paragraphs if needed.
  • Make the introduction arresting.
  • Keep the parts of the body in proper proportion.
  • Choose words wisely and construct the sentences using the standard method.
  • Articles need to have at least 500 words. The more words the better, I will be looking for more technical in-depth sentences and bullet points.
  • Instead of paragraphs, write short sentences in bullet points where possible.
  • When you submit the article, send a zip file containing the Word document and images folder. The images folder must contain all the PNG images.
  • The PNG images must be numbered and named accordingly. The first image in the article must be named, 1. FIRST IMAGE NAME, and so on.  As shown below,

Now, after learning the proper way to write an article. let’s learn about the importance of images on a website.

WordPress custom post Icons

WordPress custom post icons

The WordPress admin area has Dashicons for its administrative Menus, you can also change and add new Dashicons from WordPress Dashicons which can provide the meaning to the WordPress custom post.

Likewise, You can even add your custom image to it by uploading the png image in media for the custom post Icon.

(https://developer.wordpress.org/resource/dashicons/#admin-users ) or your own custom png image.

Furthermore, let’s take a brief look at WordPress custom post icons

Step 1: Functions.php

Initially, Go to functions.php file and add

 ‘menu_icon’           => ‘dashicons-groups’,

In the custom post type or you can upload your own custom png image in media. Likewise, you can add full links to media as below.

‘menu_icon’ => ‘http://rupeshkarna.com.np/wp-content/uploads/2016/07/product.png’

Likewise,You can check the full code here:

// Register Custom Post Type

function custom_post_type() {

        $labels = array(

               ‘name’                => _x( ‘products’, ‘Post Type General Name’, ‘text_domain’ ),

               ‘singular_name’       => _x( ‘Product’, ‘Post Type Singular Name’, ‘text_domain’ ),

               ‘menu_name’           => __( ‘Products’, ‘text_domain’ ),

               ‘parent_item_colon’   => __( ‘Parent Item:’, ‘text_domain’ ),

               ‘all_items’           => __( ‘All Items’, ‘text_domain’ ),

               ‘view_item’           => __( ‘View Item’, ‘text_domain’ ),

               ‘add_new_item’        => __( ‘Add New Item’, ‘text_domain’ ),

               ‘add_new’             => __( ‘Add New’, ‘text_domain’ ),

               ‘edit_item’           => __( ‘Edit Item’, ‘text_domain’ ),

               ‘update_item’         => __( ‘Update Item’, ‘text_domain’ ),

               ‘search_items’        => __( ‘Search Item’, ‘text_domain’ ),

               ‘not_found’           => __( ‘Not found’, ‘text_domain’ ),

               ‘not_found_in_trash’  => __( ‘Not found in Trash’, ‘text_domain’ ),

        );

        $args = array(

               ‘label’               => __( ‘Products’, ‘text_domain’ ),

               ‘description’         => __( ‘Post Type Description’, ‘text_domain’ ),

               ‘labels’              => $labels,

               ‘supports’            => array( ),

               ‘taxonomies’          => array( ‘category’, ‘post_tag’ ),

               ‘hierarchical’        => false,

               ‘public’              => true,

               ‘show_ui’             => true,

               ‘show_in_menu’        => true,

               ‘show_in_nav_menus’   => true,

               ‘show_in_admin_bar’   => true,

               ‘menu_position’       => 5,

               ‘menu_icon’           => ‘dashicons-cart’,                

               ‘can_export’          => true,

               ‘has_archive’         => true,

               ‘exclude_from_search’ => false,

               ‘publicly_queryable’  => true,

               ‘capability_type’     => ‘page’,

        );

        register_post_type( ‘Products’, $args );

}

// Hook into the ‘init’ action

add_action( ‘init’, ‘custom_post_type’, 0 );

After adding the above all code custom post types with your custom Icon will be created.

Finally, you can drop your queries in the comment box below. Also, check out our other informative blogs here.

Secure Your WordPress Site with .htaccess

The number of hackers and spammers is growing day by day and websites are undoubtedly prone to Security Risks. No matter how strong the websites are, hackers find a loophole to intrude into their websites. Therefore, If your website is not secure, with the different Security Breach Techniques, the hackers use different techniques like SQL injection, Cross-Site Scripting, DDoS Attacks, and many more. Likewise, Some noob hackers only try to hack the site to test their Hacking Ability but still, they can be dangerous in the near future. That’s why Website security is a very must these days. In this article, I am going to write about how to secure your WordPress site using .htaccess.

The very first thing you need to consider is your website must be hosted on a Secure Web Host Server. This is because you can backup your sites even though the hackers intrude by destroying contents and files. Changing your site’s passwords very often is highly recommended too.

Secure Your WordPress Site with .htaccess

1. Protecting .htaccess itself from attacks

.htaccess is the heart of every website which controls the whole website. Moreover, This includes multisite too. Hence, If proper preventive measures are not taken into consideration, the .htaccess file may suffer from different malware attacks, suspicious access, and other strikes. Therefore, the .htaccess file must be protected and prevented from editing and rewriting. Add the following code to secure your .htaccess file.

#limit other from editing .htaccess

<Files .htaccess>

 order allow,deny

 deny from all

 satisfy all

</Files>

2. Disabling Directory Browsing

By default WordPress, and Apache Server enables directory browsing on the site automatically. This means the whole files and directory inside the root folder are easily accessible and visible to visitors. This lets spammers or hackers steal your information.

In recent days, security is a primary necessity in every website and networking server. If you visit high-Alexa ranking websites, most of their directory browsings are disabled.

Code Snippet

# disabling directory browsing

Options All -Indexes

3. Protecting/Preventing wp-config.php to access with .htaccess

wp-config.php is one of the most important core files in WordPress which is located at the root of the WordPress Directory. This file contains the database details, database username and passwords, table prefix, host server names, and many more. Wp-config.php must be strongly secured.

Insert the following code.

# Protecting wp-config file

<Files wp-config.php>

order allow,deny

deny from all

</Files>

4. Restrict wp-admin to selected IP Address to access

Brutal Force Attack is the most powerful hacking technique in dynamic websites like WordPress. If the hackers know your username, then half of their mission is a success. The only thing they need is only to generate the random passwords via Force Attack. The hacker uses different IPs via some kinds of tools so that they are impossible to trace. That’s why IP restriction is necessary to secure your site.

The  Code:

# Restrict logins and admins by IP

<Limit GET POST PUT>

order deny, allow

deny from all

allow from 123.859.789.52

allow from IP_ADDRESS_2

</Limit>

5. Disable/Prevent Image Hotlinks

Hotlinking means downloading or using your website’s image to link to their own website which leads to excess use of your site’s bandwidth. And the amusing part is, that you are don’t credits for it. Hotlinking will slow down the performance of your website because the data is fetched from your bandwidth. Use the following codes in your .htaccess file to eliminate such problems.

The Code:

#disable/prevent image hotlinks

RewriteEngine on

RewriteCond %{HTTP_REFERER} !^$

RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yourdomain.com [NC]

RewriteRule \.(gif|png|jpeg|jpg)$ – [NC,F,L]

Note: Make sure to replace yourdomain.com with your domain name leaving www as it is.

CONCLUSION

It is important that you always take precarious issues under your control. Hence, there are also some plugins available in the WordPress repository for free that secure your WordPress site. 

If you have any queries regarding the contents of the article, feel free to drop down your suggestion in the comment box below. Also, Don’t forget to check our article on the Top 7 popular WordPress plugins in 2022.