Using blow code you can remove all .html Just add this code in your root location .htaccess

RewriteEngine on

RewriteCond %{THE_REQUEST} /([^.]+)\.html [NC]
RewriteRule ^ /%1 [NC,L,R]

RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^ %{REQUEST_URI}.html [NC,L]


old URL

Hey Namaste 🙏,

In a one of the recent project, We have a requirement like need to display year-wise months at the right side of the page and on click any month have to display a list of the blog post of that month using ajax and have to disable month if there no any posts.

Check below screenshot for the better understanding.

For this, We used MySQL query, foreach and array. Please check below code.

If have a blog post in the month then values will set true.

Below is array output, you can use it anyplace as per your need.

Hey Namaste,

In this article, We will learn some of the SSH commands for server operations like zip, unzip, delete and move a file from one server to another.

SSH is the best solutions to do a server-side operation in speed. So Let’s start.

SSH in simple language

Stands for “Secure Shell or Secure Socket Shell.” SSH is a method of securely communicating with another computer. The “secure” part of the name means that all data sent via an SSH connection is encrypted. This means if a third party tries to intercept the information being transferred, it would appear scrambled and unreadable. The “shell” part of the name means SSH is based on a Unix shell, which is a program that interprets commands entered by a user.



Install PuTTY

PuTTY is a free and open-source terminal emulator, serial console and network file transfer application.
Using PuTTY We can do SSH operation with a remote server

Download from:

SSH Commands

1. ZIP(Compress) Operations
1.1 Compress(zip) all files in the current directory
e.g zip *

Note: In this, subfolders and files will note includes and you can add file name without extension.

1.2 Compress(zip)an entire directory including all sub-directories
e.g zip -r filename *

2. UNZIP Operations
Unzip specific file
e.g unzip

3. Delete folder or file
e.g rm -rf folder-name/

4. Move files from one server to another
For this, we will use SCP command and need both Servers IP Address, Username, Password and path to file or folder

Move file from the old server (A) to a new server (B) while logged into A

e.g scp path/to/file UsernameofB@IPofB:path/to/destination

public_html/ = Server A
yuvrajkhavad@ = Server B

Pull requests are welcome. Please add your ssh command submit a pull here
Please make sure to update tests as appropriate.

Have other commands in mind then please mention on the comment I will add it on a post.

Note: This post originally posted at


Today you left us, (August 05, 2017 ) but there is not a moment when you are not within us. Remembering you Brother

સાદો અતિ સુલક્ષણો
કાઠી કૂળરી લાજ
ખવડ જોડ્ય ખલકમાં
જડશે નહીં જયરાજ.

ઉપડ્યું હતું હજી અબઘડી
જબ્બર તારુ જહાજ
ઉતાવળે કેમ ઉતરી ગયો
જાણેય ન કરી જયરાજ

કાંઠો છાંડી કાઠી તણું
હજુતો વેતું થયુંતું વાણ
જલ્દી હશે શું જયરાજને
કે પરલોક કિધાં પરિયાણ

Recently one of my client’s projects, I have to update WordPress and plugins. At admin panel, there is the update available message but there is no option to update WordPress and there is a no add a new plugin button in the plugin menu. Also, there is no any message plugin update available but there updates. Check attachment for more details.

WordPress 4.9.8 is available! Please do notify the site administrator.

Error message

So checked wp-config.php may be old developer disable updates, but in this files, there is no any code for disabling DISALLOW_FILE_MODS so added below code and working perfectly.



Note: Also check may be there set”true”, if yes then write false.


Let’s know need any help. Happy to help.