Business and technology shouldn't be difficult

Web Development

Web development is the work involved in developing a website for the Internet or an intranet. Web development can range from developing a simple single static page of plain text to complex web applications, electronic businesses, and social network services. Let’s build the future of the web, together. Take advantage of the latest modern technologies to build amazing web experiences for everyone.

How to redirect 404 to homepage in Nginx?

Published by Atul Kumar Pandey on December 6, 2020.
Nginx

When a requested URL is not available or not found it’s advisable to redirect them to another URL or to a homepage that’s user-friendly. Nginx web server allows us to redirect off such 404 error pages to a custom URL, all we need to do is instruct Nginx’s site configuration to redirect such pages, and […]

Read the full article...

Categorized in Technology, Web Development and tagged in , , , .

How to fix “Specify a Vary: Accept-Encoding Header” warning?

Published by Atul Kumar Pandey on November 28, 2020.

While optimizing your website for website performance using tools (ex. GTmetrix), you’ll run into a “specify a vary: accept-encoding header” warning. What exactly does this mean? How can we fix this? In this tutorial, we’ll learn what’s the error and how we are going to resolve the issue. What is this warning? Accept-encoding header is […]

Read the full article...

How to fix “No Input File Specified” error?

Published by Atul Kumar Pandey on November 17, 2020.

In a web server, let it be Apache or Nginx, if rewrite rules unable to touch the index file or root file, it shows an error of no input file specified. To fix this error we just need to locate the root location or file. For an instance, we have picked WordPress as a CMS […]

Read the full article...

Categorized in Technology, Web Development and tagged in , , .

How to cache static content on Nginx?

Published by Atul Kumar Pandey on November 9, 2020.
Nginx

Here in this post I’ll show you how to cache static content or files on Nginx. If you are not caching static content yet, tune it now, you’ll gain more speed just doing it. I’m assuming that you know the configuration directories and files of nginx and we can set the parameters in an http […]

Read the full article...

Default NGINX Configuration

Published by Atul Kumar Pandey on October 14, 2020.
Image of NGINX, a web server.

Nginx configuration file located at /etc/nginx/nginx.conf has everything that makes a server flies or sinks. Below we have explained what each directive does. Let’s have a look and fine-tune your settings: Before we hit to configurations directly understand the structure first. HTTP Block: Global configurations. Server Block: Domain level configurations. Add inside the HTTP block. […]

Read the full article...

Categorized in Technology, Web Development and tagged in , , , .

How to reduce Time to First Byte (TTFB)?

Published by Atul Kumar Pandey on September 14, 2020.
DevTools: Waterfall

For anyone, a fast website makes a noticeable difference. Even search engines like Google and Bing appreciate faster websites compared to the slower ones. But when it comes to rankings, yes a fast website makes a small difference. Note that engaging content is still a ranking factor, just fast site speed will never going to […]

Read the full article...

NetworkError: Failed to execute ‘send’ on ‘XMLHttpRequest’

Published by Atul Kumar Pandey on August 12, 2020.
NetworkError: Failed to execute 'send' on 'XMLHttpRequest'

Recently we enhanced our security headers and started facing ‘error in processing request’ in ajax calls. Error text: NetworkError: Failed to execute ‘send’ on ‘XMLHttpRequest’: Failed to load ‘http://masked.url/ajax.php’. (rejected) It seems that the connection to the server has been lost. Please check your network connectivity and server status. After troubleshooting, we found that there […]

Read the full article...

Categorized in Technology, Web Development and tagged in , , , .

How to fix 403 forbidden in Nginx?

Published by Atul Kumar Pandey on July 13, 2020.
403 Forbidden

What does “403 forbidden” in Nginx mean? 403 forbidden in the Nginx web server means “a requested resource could not be served”. It could be intentional or unintentional. It is not en error but an HTTP status which occurs in the following cases: The user has blocked the resources or site as a whole. The […]

Read the full article...

Categorized in Technology, Web Development and tagged in .

How to Configure FastCGI Cache with Nginx?

Published by Atul Kumar Pandey on April 11, 2020.
WordPress on NGINX with FastCGI Cache

Nginx has obtained traction from webmasters due to its low-resource and high-performance feature. Although the default configuration of Nginx is already optimized for all the basic workloads; still you can take it to the next level by setting up a server-side cache. Our Previous Tutorials: How to Install LEMP (Linux, Nginx, MariaDB, PHP) on Debian […]

Read the full article...

How do I protect my website from getting hacked?

Published by Atul Kumar Pandey on April 5, 2020.
Hacked

Being in a digital marketing industry I support many clients to set up their blogs and website, and they often ask me how can I protect my website from getting hacked? I always say, it is your Karma that pays you back, how? Let’s understand it. Initially, everything goes perfect for everyone, they get a […]

Read the full article...

Categorized in Technology, Web Development and tagged in .