Tag Archives: tutorials

Redirect Domain to Include or Exclude www

This guide is based on the .htaccess file which is a directory-level configuration file supported by several web servers such as Apache web server. It is used for configuration of website resources such as URL redirection, URL shortening, access control, and more. The ‘dot’ before the file name makes it a hidden file in Unix-based environments. You can read more about this file at Wikipedia.

Using the .htaccess file in the main domain directory, you can either redirect all requests to sanuja.com or www.sanuja.com. This type of redirection is known as a HTTP 301 redirect.

Continue reading Redirect Domain to Include or Exclude www

How to Update emergency Alerts on Android device

The emergency alerts system is a useful feature on most smart devices with a SIM installed. Some government agencies can access the system even when you do not have a SIM installed on the device. The system is used to push notifications (alerts) on unforeseen extreme weather conditions, natural disasters to Amber alerts (missing children). I do not promote the idea of disabling alerts, but if for whatever personal reasons you would like to disable it, you can do it on most current Android devices. The following guide is based on Samsung One UI 1.0 but it is applicable for other devices. If you do not have a Samsung device, the settings for changing the behavior of emergency alerts can be found under general system settings. Type “emergency alerts” on the settings search bar. Continue reading How to Update emergency Alerts on Android device

Adding Mobile Data and Mobile Hotspot to Quick Settings

Quick Settings is the top drop-down panel on Android devices. The following will is a simplified guide for adding mobile data and mobile hotspot (and others: data saver) to quick settings on Samsung Galaxy Devices.

I can confirm this method still works with Android 7, 8, 9 and 10 with Samsung One UI 1.0 and One UI 2.0. This will work on both network-locked and unlock devices.

Continue reading Adding Mobile Data and Mobile Hotspot to Quick Settings

Maximum Input Variables WP Error

The max_input_vars limitation error is a very common issue that most WordPress web developers and website owners may encounter at some point in their career. Few days ago, my website also experienced the same problem. The solution is very simple; increase the value assigned to max_input_vars in the PHP configuration file on the web server. However, depending on server setup, you may have to do few more things to get this problem fixed.

Continue reading Maximum Input Variables WP Error

Recover Data from Internal Hard Drives

Computers are made of multiple different components. Not all components are vital to the operations of a computer. For example, failure of a disk drive (DVD/BlueRay) would most likely have little to no impact on other functions of a computer. But a failure of a vital component such as the processor, power supply, or malfunctioning of a hard drive will lead to a situation where the computer is no longer operational. Do not panic. You may be able to recover data from such computers using either an external enclosure or using an IDE/SATA to USB adapter.

You can recover data from most “broken” computers even if you are not tech-savvy. If you perform the recovery at home (or business) by yourself, you will save from $100 to $2000 CAD (2016 estimates) on data recovery costs. Continue reading Recover Data from Internal Hard Drives