How to change your default timezone using .htaccess in cPanel?

By | 2018-03-12T13:30:18+00:00 January 28th, 2017|

In this tutorial we can check how to change your default timezone using .htaccess in cPanel   1) Log in to your cPanel. 2) Click ‘File Manager’ icon from the ‘FILES’ category.   3) Select ‘Settings’ at the right corner of the ‘File Manager’.   4) Select Document root of your domain and select ‘Show Hidden [...]

How To Fix 403 Forbidden Error?

By | 2018-08-10T11:20:20+00:00 December 23rd, 2016|

Have you ever lead to a page saying 403 forbidden error while navigating through the webpages? What is this error and why does it displays? We will see why 403 errors occur and how can we troubleshoot this error. There can be many various reasons behind this error.   What is a 403 Forbidden error [...]

What is IP Canonicalization and URL Canonicalization.

By | 2018-07-26T08:07:43+00:00 November 11th, 2016|

Canonicalization is the process of selecting the appropriate website URL if many options exist. For example, if there are various options available for a website example.com such as www.example.com example.com example.com/index.php www.example.com/index.html   Here the browser loads the suitable URL and this process is called Canonicalization.   When should you use Canonicalization? 1) Same content [...]

Types of Redirects. Htaccess Redirect Tips and Tricks

By | 2016-10-28T16:19:04+00:00 October 28th, 2016|

301 Redirect This is a permanent redirect and is used to indicate to search engines that the originating URL has permanently moved to a new URL. 301 refers to the HTTP status code for this type of redirect and it is the best method for implementing redirects on a website.  It acts as the most [...]

How to troubleshoot 500 Internal Server Error?

By | 2018-07-24T11:23:57+00:00 October 14th, 2016|

The 500 Internal Server Error will be familiar to all Internet users. There are various http status codes which are three-digit integers. For every request, there will be a status code to return from the server to the client. Usually, we'd have come through various errors like 404 Not Found error. These error codes are [...]

HTACCESS URL REDIRECT

By | 2016-07-08T14:14:11+00:00 July 8th, 2016|

In this documentation, we can learn about htaccess and htaccess url redirect. Htaccess stands for Hypertext access. Htaccess is the oldest configuration file that controls the Web Server running in your website, and is one of the most powerful configuration file. The .htaccess file can be used to alter the Apache Web Server software. It [...]

Redirect domain.com to www.domain.com and vice versa

By | 2016-04-04T15:23:51+00:00 April 4th, 2016|

     In this documentation, we can check how to redirect domain.com to www.domain.com and redirect www.domain.com to domain.com. We can do this by adding the rewrite rule in the .htaccess file. ( It is also possible to do the same by using cPanel Redirect tool. More details of that method is available here )   [...]

Redirect site to SSL using apache and .htaccess

By | 2015-12-22T14:16:20+00:00 December 22nd, 2015|

A quick way to redirect your site to ssl, from non ssl can be done in a .htaccess file on apache webservers with mod_rewrite. Open .htaccess in a text editor. RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://ssl_domain.com/$1 [R,L] replace ssl_domain.com with your domain. Using the rewrite rule ^(.*)$ anything included in the domain redirects [...]