check whether CMS version is up-to-date?

Having to call your web design company or developer every time you need to make a simple change on your website should be a thing of the past. Companies can no longer afford to rely on such an inefficient process for every tiny content update, as users and customers expect information to be up-to-date at all times. We all are concern about the security of our websites; this security measure is directly related with the software version installed for your website. Now-a-days almost all Blogs are developed by WordPress and many of the eCommerce sites are designed by CMSs like Joomla, Drupal etc.

Here Tranzmedia going to explain the Linux commands to check the version details of those CMS installed for your websites. This is very important to keep the software updated. An outdated CMS can cause major security issues on your websites or server. Keep things up-to-date and stay away hackers. In this blog article you can see the commands to check the CMS version for a single website and all similar accounts on your server. If you are the server admin, you can check the versions of CMS on different accounts on your server and notify clients regarding this outdated software.

How to check the version of WordPress installed on your domain?

The version details can be identified from “version.php” file under the WordPress installation folder. The file location is pasted below:

/path/to/home_directory/wp-includes/version.php

For a cPanel server this should be look like:

/home/username/public_html/wp-includes/version.php

Command to check version:

# grep wp_version wp-includes/version.php

Sample output:

# root@server [/home/$user/public_html]# grep wp_version wp-includes/version.php
$wp_version = '1.5.2';

To check the version details of all WordPress installations on your server, execute the following command:

# find /home/*/public_html/ -type f -iwholename "*/wp-includes/version.php" -exec grep -H "\$wp_version =" {} \;

That’s it

Leave a Reply

Your email address will not be published. Required fields are marked *

Social media & sharing icons powered by UltimatelySocial