Stop OpenAI’s ChatGPT User agent from scanning and using your website’s content

Background:

As Wikipedia Describes ChatGPT: AI chatbot developed by OpenAI. ChatGPT is an artificial intelligence (AI) chatbot developed by OpenAI and launched in November 2022. It is built on top of OpenAI’s GPT-3.5 and GPT-4 families of large language models (LLMs) and has been fine-tuned (an approach to transfer learning) using both supervised and reinforcement learning techniques.

ChatGPT can access real-time info from the web using plug-ins.

If you don’t want ChatGPT User-agent to use your website’s data, you can block it using your robots.txt file.

A ‘robots.txt’ file is generally located at the root of the web server and can be accessed using SFTP or can be viewed using this URL:

https://yourwebsite.com/robots.txt

(replace ‘yourwebsite.com’ with your domain name)

You need to add this rule to your website’s ‘robot.txt’ file

(more…)

Continue Reading Post

Here is a solution to resolve the ‘Invalid Domain’ error when you are trying to add a site to Cloudflare

Cloudflare is a good web service that provides CDN, Caching, HTML – JavaScript – CSS Minifying and also provides security from DDOS attacks at free of cost.

But use this service you have to add your domain to Cloudflare.

Interaction is simple at your dashboard’s top navigation bar there is a prominent button called ‘Add Site’, it transfers you to the next page where you can copy-paste your website’s URL.

If you are getting error like ‘Invalid Domain’ while adding your website to Cloudflare then use this trick to bypass this error.

(more…)

Continue Reading Post

Here is how to stop email notification for WordPress Theme and Plugin Update

With WordPress 5.5 release you may have experienced new random daily emails you may have been receiving for every WordPress’s self-hosted theme and plugin updates.

Here is how to stop email notification for theme and plugin update:

Copy below code in your domain theme’s functions.php file… It will look something like this…

(more…)

Continue Reading Post

How to set up a CloudFlare Flexible SSL Certificate within 5 minutes for your WordPress website’s all subdomains & main domain.

Prerequisite: Please make sure have active CloudFlare account and you have added your WordPress Website to CloudFlare. Also, make sure you are using CloudFlare nameservers for your domain.

 
Step 01: Sign in to your CloudFlare account

 

 
Step 02: Make sure flexible SSL certificate is enabled under the “Crypto” tab for your selected website

 

 

 
Step 03: While you are already signed in to your CloudFlare account go to > My Profile > Scroll down to API Keys and locate Global API Key & copy the same key for further use inside your website.

 

 

(more…)

Continue Reading Post

Complete guide for maintaining, optimising WordPress websites for optimum performance, maximum speed for loading webpages, maximum security for preventing website hacking & highjacking by intruders

Introduction

 
I have been using WordPress for almost more than 5 years now.

 
I will explain in below post step by step procedure to harden, secure & optimise WordPress for best performance & security.

 
So First thing first,

 

Introduction to WordPress

 
What is WordPress: WordPress is a free and open-source content management system (CMS) based on PHP and MySQL. Features include a plugin architecture and a template system. WordPress was used by more than 23.3% of the top 10 million websites as of January 2015. WordPress is the most popular blogging system in use on the Web at more than 60 million websites.

 
As we know of today WordPress is offered in two different formats, One is managed & hosted by team at WordPress.com & second as self hosted by user using downloadable installable package available at WordPress.org.

 

Difference between WordPress.com & WordPress.org

 
Following things really differentiate WordPress.com and WordPress.org from each other

 
1st Difference
WordPress.com: User provides the content & website is managed by team at WordPress.com
WordPress.org: Content provided by User & Managed by User itself

(more…)

Continue Reading Post

How to Leverage browser caching to improve webpage load time performance & speed

Introduction

 
To enable browser caching you need to set expiry dates on certain types of files.

 
Find your .htaccess file in the root of your domain. You can edit the htaccess file with notepad or any text editor.

 
In this file we will set our caching parameters to tell the browser what types of files to cache over period of time so that page loading time improves by avoiding or keeping certain files & using browser cache from history.

(more…)

Continue Reading Post

How to fix WordPress.com Jetpack error called Your website needs to be publicly accessible to use Jetpack: site_inaccessible. Error Details: The Jetpack server was unable to communicate with your site [HTTP 404]. Ask your web host if they allow connections from WordPress.com

As we know WordPress community exist on wordpress.com & wordpress.org

 
WordPress.org is downloadable CMS (Content Management System) distribution for self hosted used by web designers & web developers.

 
Being CMS lead developer Automattic want’s it’s wordpress.com experience available to it’s wordpress.org users. So they developed plugin like JetPack for WordPress self hosted websites.

 
JetPack Error Description: Your website needs to be publicly accessible to use Jetpack: site_inaccessible
Error Details: The Jetpack server was unable to communicate with your site [HTTP 404]. Ask your web host if they allow connections from WordPress.com. If you need further assistance, contact Jetpack Support: http://jetpack.me/support/

 
Your website needs to be publicly accessible to use Jetpack- site_inaccessible Error Details- The Jetpack server was unable to communicate with your site HTTP 404

(more…)

Continue Reading Post

How to fix error ‘Safari can’t open page – because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy.’

Safari can’t open page - because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy

 
This happens to most of WordPress blogs when you sign in to your website’s Admin (wp-admin) page & whenever you try to navigate to different page or open a new page this error get displayed every time you do it.

 
Error: Safari can’t open page – because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy. Wait for a few minutes, and then try again.

 
Here is how to fix this,

(more…)

Continue Reading Post

Increasing page views per visit (session) ratio by sticky top navigation bar, here is how to create sticky navigation bar that becomes fixed to the top after scrolling

It is well known tried & tested method to have sticky navigation bar at top when you have responsive website design & layout.

 
A fixed navigation bar at top helps mobile user or desktop website user to have fixed area where he can find navigation icons & links through which he can browse & navigate current website. Having fixed navigation bar at top helps webmaster to increase page views i.e. it helps webmaster to increase page views per visits ratio.

 
Yes, it occupies space at top but helps user to have navigation links handy whenever he want to browse the website. Space constraints only refer to mobile devices with small screen size.

 
Following is the code which help you to have fixed navigation bar. Copy paste following css code in your style.css

(more…)

Continue Reading Post

Twitter Follow button is not loading or it is taking indefinite time to load, Here it is how to fix this with easy solution?

To increase user interaction, web traffic & user sharing we all add Twitter Follow button to encourage user to follow the WebMaster on twitter to get future updates about new blog articles through Tweets on Twitter.

 
But few day back I found out that my website was facing problems due to single Twitter follow widget in sidebar it was taking 1 minute or more load it increased my page load time by 40 seconds on average.

 
So what I did was simple,

(more…)

Continue Reading Post