Disable Directory Listing on Apache Ubuntu 22.04

Abhijeet Pratap
How to disable directory listing in Apache server The Apache server is the most popular web server powering a large part of the websites on the internet. It is popular because of its modular structure. The s server offers several modules that can be used to add or remove functionalities from the server. Modules like expires, headers, rewrite etc can be used to improve speed, and security as well as apply redirects.

Create a Static Site in Hugo

Abhijeet Pratap
How to create a static site in Hugo Hugo is among the most popular static site generators. It is open source and fun to build sites with. There are several more static sites generators including jekyll and Gatsby.js as well as other js based web development frameworks. However, working with Hugo is more fun because it generates websites faster. With hugo, you can generate a site with hundreds of pages in less than a second.

Sample Bar Chart in Apache Echarts

Abhijeet Pratap
Draw Bar Charts in Apache Echarts Echarts is an excellent javascript based charting library for creating various types of charts and provides attractive customizations. It can run well on PCs and mobile devices and is compatible with most of the modern web browsers. Echart uses ZRender, a graphic rendering engine to create highly customizable and interactive charts. Installing Echarts is simple and so is adding data to it. It also allows you to set the size of the canvas using a div element.
Managing Location With Google Search

Managing Location With Google Search

Abhijeet Pratap
Managing location while searching on Google Whenever you search for something like the nearest service station or restaurants near you on Google, you must have seen Google asking for your location. It helps Google deliver more helpful results specific to your location. Suppose you do not enable location services on your mobile device, in that case Google will have to depend on other sources to provide results. However, in that case you may not get appropriate results.

Sample Multi Series Pie Chart Chart.js

Abhijeet Pratap
How to draw a Multi-Series Pie Chart in Chart.js Chart.js is an excellent js based charting library that can be used to draw various chart types including line chart, bar chart, radar chart, bubble chart, pie chart, doughnut chart and other charts including mixed charts. Based on github stars and number of downloads, chart.js is the most popular javascript charting library. It is an open source charting library that can be installed easily on your website or server and used to draw various types of charts.

Move Anchor Ads to Bottom of Screen

Abhijeet Pratap
Move Adsense anchor ads to the bottom of the page on mobile screen Adsense has added a lot of excellent features including the auto ads that allow you to add diverse types of ads including vignette ads and anchor ads with a single pice of code. Auto ads are a very simple method of displaying Adsense advertisements on your website. They offer several advantages including mobile friendly ad formats and ads tailored to your website based on its layout structure and content,
Setup Adsense Auto Ads

Setup Adsense Auto Ads

Abhijeet Pratap
How to set up Adsense Auto Ads on your Website Adsense is Google’s advertising program that allows publishers to earn revenue from their content by monetizing their website and showing advertisements on posts and pages. It is highly popular among publishers and while there are several alternatives in the market, most of them require you to have an adsense account. In a previous post, we have discussed how to apply for an adsense account and get your account approved.

Fix Wordpress Posts Returning 404 Error

Abhijeet Pratap
How to fix Wordpress Posts returning 404 error Sometimes after changing the permalink structure or migrating your domain or domain name change, you may find that the posts have stopped showing and you are instead getting 404 error pages. There can be various causes behind it. You might be able to access the admin area and even your home page may be loading fine. However, when you try to access any posts or another inner link such as the archives, you get a 404 error.

Apply for Adsense

Abhijeet Pratap
How to apply for adsense Adsense is Google’s digital advertising program that heps publishers generate revenue from their content. It is a simple method to earn money from your blog or website by monetizing it with adsense ads. If you have a blog and a nice level of traffic, Adsense can be a good option to generate some revenue from the traffic. Given that you have been creating original and interesting content, generating some revenue from your content would not be difficult.

Noindex vs Disallow

Abhijeet Pratap
What’s the difference between the noindex meta tag and the disallow directive in robots.txt? In terms of SEO, you are required to make some critical decisions regarding how your content gets indexed and presented in search results. While you may want your posts and important pages indexed by Google, you would not want unimportant pages getting indexed. Now, you have to decide whether certain pages have to be indexed or not.
Sample Area Chart in Chart.js

Sample Area Chart in Chart.js

Abhijeet Pratap
How to draw an area chart in chart.js The chart.js javascript charting library is the most popular js based charting library based on Github stars and number of downloads. It is a highly customizable charting library that can be used to create several types of charts including line charts, bar charts, bubble charts, pie charts, mixed charts and area charts as well as several others. The high level of customization using plugins in chart.

Prevent Indexation of Specific Pages on Your Website

Abhijeet Pratap
How to prevent specific pages on your website from being indexed by Google If you are running a blog, you would want Google to crawl and index the post urls. Apart from the home and post urls as well as some static pages like about us and contact page, there are very few that you would want getting indexed and produced in the search results. You can allow Google to crawl all the posts and pages, but getting everything on your website indexed is not essential since while it may cause duplicate content issues, it might also cause your own urls to compete against each other for the same keyword.

Google Policies on Spam

Abhijeet Pratap
Understanding Google’s Spam Policies Google has increased its focus on targeting spam more effectively in recent years. While it had already taken significant steps in this direction in 2022, with its March 2024 core update, Google will be able to filter out spam even efficiently. The latest core update has affected a large number of websites including several that lost a lot of traffic and saw their links being silently deindexed.

Configure Bunny CDN On a Wordpress Website

Abhijeet Pratap
HOW TO USE BUNNY CDN TO SPEED UP YOUR WORDPRESS WEBSITE Bunny CDN was created by a developer who was troubled by skyrocketing cdn bills back in 2012. The primary aim behind the creation of bunny.net was to disrupt the overpriced cdn market. Bunny CDN itself was introduced in 2015. Now, Bunny is not just among the top performing cdn services but also one of the most customer friendly and economically priced.

Enable Mod_headers Apache

Abhijeet Pratap
How to install mod_headers on Apache Server The Apache server is an open source and free web server which powers a very large part of the internet. One of the main reasons that the Apache server is highly popular is its modular structure. Apache offers a large number of modules to extend the web server functionality. The header module is one of those crucial modules used to improve the security and functionality of Apache server.

Install Nginx on Ubuntu22.04

Abhijeet Pratap
How to install Nginx Web Server on Ubuntu 22.04 Nginx is an all in one load balancer, reverse proxy and web server. It is free and open source and preferred for its speed and security. In this post, we will explain how to install Nginx web server on an EC2 instance running Ubuntu 22.04. First of all, let us create an ec2 instance on which we can install the server.
Discovered Currently Not Indexed

Discovered Currently Not Indexed

Abhijeet Pratap
How to deal with discovered, currently not indexed urls in GSC When you look inside your Google Search Console data, you might come across several scenarios. Some urls may be indexed and several might not be indexed. Indexation issues are common across websites and particularly low DR or new websites, face more of such issues. Every website/blog owner wants site urls to get quickly indexed so that they can appear in the search results.

Reset Wordpress User Password Easily

Abhijeet Pratap
How to Easily Reset Password for a Wordpress User Account Losing passwords can be frustrating. However, in most cases you can reset the password easily. If you lost your wordpress password, you can reset it from the login.php page. You will receive an email to reset the password. However if your Wordpress email service is not set properly or if for any other reason the mail does not reach you, you might need to try other methods to reset your password.

Add Custom CSS in Wordpress

Abhijeet Pratap
Add Custom CSS to your Website CSS stylesheets are a critical part of any website that affect the look and feel of the website as well as user experience. All the Wordpress themes have their own stylesheets. However, making changes to the original stylesheet is not recommended since it can break your website. You must instead add extra css to your website using other methods to make sure that your site functions as expected.
Disable Default Wordpress Sitemap

Disable Default Wordpress Sitemap

Abhijeet Pratap
How to disable the default wordpress sitemap Wordpress is the favorite CMS of millions of users because of its ease of use, excellent features, and the thousands of plugins and themes that make it easier to improve Wordpress functionality to suit various styles of needs. You can create nearly all types of websites in Wordpress including ecommerce sites, portfolio sites, business and educational websites, blogs and so on. Another important fact that Wordpress is the favorite of so many users is that you can manage SEO in Wordpress with much more ease compared to any other CMS.