Showing posts with label How To. Show all posts
Showing posts with label How To. Show all posts

Thursday, June 13, 2019

Google Search Consile Error - Submitted URL marked ‘noindex’

google-search-console-submitted-url-noindex-validate-fix-email-from

Sitemaps are important from SEO perspective. If you have installed the WordPress plugin Google XML Sitemaps, and you have submitted a link to Google via the Google Search Console, you might receive an email from "Google Search Console Team " saying that "your site is affected by 1 new Coverage related issue - Submitted URL marked ‘noindex’". Here is how to resolve it.
Read more »

Tuesday, June 4, 2019

How to disable, limit and delete WordPress post revisions?

how-to-disable-limit-delete-wordpress-post-revisions

If you are familiar with WordPress CMS, you might have observed that WordPress autsaves every edit by default. Post revisions is a good feature in WordPress to review and track changes. However, for some it may not be necessary as it is not required or due to database size concerns.

In this post, we shall see how to disable WordPress post revisions, set WordPress post revision to a certain number, deleted previous WordPress post revisions. 

So, I have a WordPress website too and I saw that the revision of a particular post is 229 already! I am not sure if there is a limit in WordPress up to how many latest revisions are saved. I guess there is none by default. It would be awesome if there is a setting for admins to set the revisions in WordPress.

wordpress-post-revisions-1


Anyway, I decided I do not need that many post revisions in my database. I also do not want to disable post revisions completely. You may want to completely disable revisions as per your need. Follow the steps below as per you need.

1) Disable WordPress post revisions
As discussed WordPress keeps post revisions by default. There is no UI to disable it. However, it can be defined in wp-config.php file.

Add the following line of code at the bottom of the wp-config.php file just above (require_once( ABSPATH . 'wp-settings.php' );) to disable WordPRess post revisions.

define('AUTOSAVE_INTERVAL', 300 ); // seconds
define('WP_POST_REVISIONS', false ); 

Place the code above the line: require_once( ABSPATH . 'wp-settings.php' ); 

This code will disable all future revisions to be saved and it will also increase the autosave interval from 60 seconds to 300 seconds. The post will be auto-saving every 5 minute instead of every minute.

2) Set WordPress post revision to a certain number
In my case, I did not disable the post revisions. I wanted to reduce the number of post revisions to keep.  To limit the number of WordPress post revisions, add the following line of code at the bottom of the wp-config.php file.

/** No. of revisions to keep */
define( 'WP_POST_REVISIONS', 2 );
Place the code above the line: require_once( ABSPATH . 'wp-settings.php' );

This will keep only two post revisions in the database.

3) Delete previous WordPress post revisions

As discussed above, we can disable and limit the post revisions. However, doing the above changes does not remove the previous post revisions already saved in the database, which are occupying unnecessary space.

To delete the previous post revisions from WordPress database, do the following:
  • Login to your host Control Panel
  • Launch phpMyAdmin
See the post revisions in WordPress database:

Launch phpMyAdmin > Click on SQL tab and run the query:

SELECT ID,post_title,post_type FROM `wp_posts` where post_type="revision";

Note: If table prefix (wp) has been changed, use appropriate table prefix in your case.

This query will show you all the posts which are of type - post revisions.

wordpress-post-revisions-phymyadmin





Find out how many post revisions are there in the WordPress database:

Launch phpMyAdmin > Click on SQL tab and run the query:

SELECT count(*) FROM `wp_posts` where post_type="revision";

Note: If table prefix (wp) has been changed, use appropriate table prefix in your case.

This query will display the number of post revisions in the database.

Delete the post revisions from database:

To delete the post revisions, run the following query from phpMyAdmin:

DELETE FROM wp_posts WHERE post_type = "revision";

Note: If table prefix (wp) has been changed, use appropriate table prefix in your case.

The steps in this post should disable Post revisions, set a limit to the number of post revisions to keep and delete all previously saved post revisions stored in the WordPress database.

Post revisions may be a useful feature but if it is not necessary for you, you may following the steps above to disable or limit the post revisions as discussed.


Tuesday, May 21, 2019

How to create a panoramic photo from multiple images in Adobe Photoshop?

create-panoramic-photo-adobe-photoshop

Panoramic photos are wide angle photos.  Most smartphone cameras and even digital cameras have Panorama mode, where the user have to pan to create a panoramic photo. But if you need to create a panoramic photo from normal photos, we can do so easily using Photoshop. In this post, we shall see how to create a panoramic photo from multiple images in Adobe Photoshop? It is super easy.
Read more »

Friday, May 3, 2019

How to resolve Google Drive file sync issues - red cross mark?

google-drive-dile-sync-issues-red-cross
Google Drive is a cloud storage available to all Google Users. If you have a Gmail address, you have Google Drive access too. Every user gets a basic 15GB storage, which is quite sufficient to store your personal files. If you are already using Google Drive, you may already know that it is accessible at https://drive.google.com. Google Drive also has a "Backup and Sync from Google" which can be installed on computers to store and sync files to and from Google Drive. It is recommended to install the "Backup and Sync from Google" if you need to frequently manage files from the computer. Google Drive is also available for Android and other platforms too.

In this post, we shall discuss ways to resolve Google Drive sync issues.
Read more »

Saturday, April 27, 2019

WordPress: How to display only limited number of most popular tags in WordPress Tag Cloud and keep same font size?

wordpress-tag-cloud

In WordPress, there is a widget called "Tag Cloud" which displays the Tags used in posts. This is useful when we want to display a list of Tags in widget areas so that visitors can quickly find related posts by Tag. In this post, we shall see -
  • How to limit the number of most popular tags to display in the Tag Cloud widget?
  • How to keep the same font size of the Tags in the display?
Read more »

Monday, February 25, 2019

How to resize photograph and signature to certain width and height in pixels and file size in KB?


This post is intended for those who are trying to submit or upload images on websites that ask for certain dimension - both in size and pixels. How to resize photograph and signature to certain width and height in pixels and file size in KB? Most online applications for government exams in India asks for scanned photograph and signature in specific pixel size and image size such as -

 Upload Scanned Images of Photograph and Signature:

    The scanned images of photograph and Signature should be in jpg/jpeg format only.
    Size of the photo image must be between 20 KB to 40 KB
    Size of the signature image must be
between 20 KB to 40 KB
    Dimension of photograph image should be 3.5 cm(width) x 4.5 cm(Height) only.
    Dimension of signature image should be 3.5 cm(length) x 1.5 cm(Height) only.

Read more »

Friday, February 22, 2019

How to select your own channels on Airtel Dish TV as per TRAI rules?

airtel-dish-tv-select-own-channels-plan-trai-3

There are numerous TV channels today but only a few selected channels are watched by most subscribers depending on various factors such as age, interest, gender etc. Kids would like to watch cartoons, youth may want to watch music, movies and sports. Elderly people may want to watch news, religious channels etc. With so many channels of the same kind, as subscribers we are paying even for channels we don't watch. 
Read more »

Thursday, December 20, 2018

How to uninstall Intune Company Portal from Android?

uninstall-intune-company-portal-demo
Microsoft Intune is a product from Microsoft which helps organizations manage access to corporate apps, data, and resources. Company Portal is the app that lets an employee of a company, securely access those resources. The Intune Company Portal is a provides access to corporate apps and resources from almost any network.


The Company Portal App is installed as a Device Administrator. Therefore, the uninstall process is slightly different from that of regular Android Apps. In this post, we shall not cover the installation or the configuration of the app which should ideally be setup with the help of the company's IT support. In this post, we shall see only the uninstallation process in Android devices.
Read more »

Sunday, December 16, 2018

How to install fonts in Windows Computer and backup already installed fonts?

install-backup-fonts-windows-computer

In this post, we shall see how to install fonts on Windows computer and also how to backup existing fonts from Windows computer.

To use any font, it has to be installed first. After which, the font can be used in programs such as Microsoft Word or Photoshop etc.
Read more »

Tuesday, November 27, 2018

DIY - Mi Redmi Note 4 Screen Replacement

mi-redmi-note-4-broken-screen-replacement-diy


DIY - Mi Redmi Note 4 Screen Replacement


In this video we'll see a demo of Mi Redmi Note 4 Screen replacement in case of a broken screen.

You can buy a compatible screen replacement for your phone and replace it on your own instead of taking to a repair shop. In this video, I used a compatible screen replacement for Mi Redmi Note 4 phone that came along with the front frame and not just the screen.

Read more »

Wednesday, November 21, 2018

CamStudio Review - Best free open source desktop recording software for Windows

CamStudio Review - Best free open source desktop recording software for Windows

CamStudio is a free and opensource software for recording desktop screen. It is probably one of the best screen recording software with tons of features.  It is useful for making demonstration or tutorial videos with good features. 


Read more »

Thursday, October 25, 2018

How to Create Task from an Email in Gmail and Google Tasks App?

How to Create Task from an Email in Gmail and Google Tasks App

With most email clients you can easily create tasks from an email or at least mark a reminder against an email to follow up later.  Google also has a separate product called "Google Tasks" to manage tasks. Gmail has also introduced "Add to Tasks" feature in Gmail so that we can easily create task from an email in Gmail. Of course, we can also create our own tasks from the Google Tasks also. Let's see more in detail.
Read more »

Saturday, September 29, 2018

Solution for: Error: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress

cookies-blocked-not-supported-browser-enable-to-use-wordpress

On some clients' website built using WordPress, there was this error:
Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress

If you also have a WordPress website where you are seeing the error "Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress" when attempting to login, please find the solution below.
Read more »

Thursday, September 27, 2018

How to display Next Item and Previous Items in OSCLASS Classified websites?

How to display Next Item and Previous Items in OSCLASS Classified websites
 
If you are running a classified website using OSCLASS CMS with some of the default themes available, you might have noticed that there is not NEXT and PREVIOUS links when an item is viewed. So, the visitor will have to either go back to home or click on related listings, tags etc. if available to view other listings. The NEXT and PREVIOUS links are desired on the item page. 

If you are running an OSCLASS website, and would like to add NEXT and PREVIOUS item links, we shall see how to add in this post.
Read more »

Wednesday, September 26, 2018

How to sync Google Contacts and Calendar with Outlook?

sync-google-contacts-gmail-to-outlook-2

If you are using Gmail with Outlook, it is easy to setup Outlook to use Gmail. However, you might have noticed that Google Contacts and Calendar does not get automatically synced with Outlook. You may add contacts in Outlook but those will not get synced with Google Contacts and vice versa. If you just want to add the Google Contacts with Outlook, exporting the Google Contacts and importing the contacts to Outlook would work. But then it will still not sync with each other. In this post we shall see how to sync Google Contacts and Calendar with Outlook.
Read more »

Monday, August 27, 2018

How to reset Drupal 8 administrator password using phpMyAdmin?

How to reset Drupal 8 administrator password using phpMyAdmin?

This post describes in brief the steps to reset the Drupal 8  administrator password in case you forget them. Writing down passwords are a big no no, and no matter how hard we try to remember passwords, sometimes, we may miss it, especially if you have various different password for different systems. And forgetting passwords also usually happens on development systems when you set some dummy or random passwords, phuff!, you no longer remember them. In this post, we shall see how to reset Drupal admin user password easily from phpMyAdmin. 
Read more »

Tuesday, July 24, 2018

Free Social Login Plugin for Osclass - Facebook Login for Osclass websites

Free Osclass Plugin Facebook Login

Nowadays, many people are using Social Media, be it Facebook, Google+, Twitter etc. Therefore, using Social Login simplifies the registration process in just a few clicks instead of letting user's type in to a user registration form with their details. Among the many social networks out there, Facebook is one of the most popular one. In this post, we shall see how to login users to Osclass websites using Facebook.
Read more »

Sunday, July 22, 2018

How to change the default web browser in Android Phone including Mi Redmi Phone?

change-default-web-browser-android-phone-mi-redmi-phone

Google Chrome is one of the most used web browser. Google Chrome is usually always included on new Android phones as well. In addition, most Android manufacturer also includes their own stock web browsers on Android phones. On Android phone, usually the links clicked are opened in a web browser. If you prefer a particular browser, and it is currently not set as the default browser, then we'll see how to change the default web browser in Android Phone including Mi Redmi Phones.
Read more »

Monday, July 9, 2018

How to resolve Microsoft Outlook stuck on 'Loading Profile'?

How to resolve Microsoft Outlook stuck on 'Loading Profile'

Sometimes, when starting Microsoft Outlook, it would get stuck on 'Loading Profile' and it will never load or will take a long time to load. In this post, we shall see how to resolve Microsoft Outlook stuck on 'Loading Profile'.
Read more »

Saturday, July 7, 2018

How to extend Wi-Fi range using two Wi-Fi routers?

How-to-extend-Wi-Fi-range-using-two-routers

Are you looking for ways to extend Wi-Fi range? We can extend Wi-Fi using wireless repeaters or wireless extenders easily as they have built in Wi-Fi repeater features. Using such routers we can easily extend Wi-Fi range at home or office. Besides wireless routers with repeater or extender features, one can also buy dedicated Wi-Fi repeaters and extend Wi-Fi network. They are usually cheaper than Wi-Fi routers. If you have such routers, then refer to the previous post, how to extend Wi-Fi using two Netgear Wi-Fi routers with Wi-Fi repeater features.



However, if the routers you have do not have Wi-Fi repeater / access point features built-in, then we can still extend Wi-Fi range using those routers. In this post, we shall see how to extend Wi-Fi range using two routers without Wi-Fi repeater features inbuilt.
Read more »

Google Search Consile Error - Submitted URL marked ‘noindex’

Sitemaps are important from SEO perspective. If you have installed the WordPress plugin Google XML Sitemaps , and you have submitted a link ...