• Home » kb
  • How to change your default timezone using .htaccess in cPanel?

    Posted at January 28, 2017 at 11:34 am by Jithin

    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 Files’ from the bottom of the screen.   5) Find ‘.htaccess’ and right click on it. It shows a menu. Click ‘   [...]

    Read More

    How To Fix 403 Forbidden Error?

    Posted at December 23, 2016 at 12:19 pm by Jithin

    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 The 403 is an http status code. It is provided by the web server to a client as a response to the client's request. This error says that the server could understand the request from the c   [...]

    Read More

    What is IP Canonicalization and URL Canonicalization.

    Posted at November 11, 2016 at 1:05 pm by Jithin

    Canonicalization is the process of selecting the appropriate website URL if many options exists. 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 has different URL. 2) Different categories and tags result in   [...]

    Read More

    Types of Redirects. Htaccess Redirect Tips and Tricks

    Posted at October 28, 2016 at 4:19 pm by Jithin

    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 efficient and search engine friendly method for webpage redirection.   Redirect to www using htaccess redirect     RewriteEngine on rewritecond %{http_host} ^domain.com [nc] rewrite   [...]

    Read More

    How to troubleshoot 500 Internal Server Error?

    Posted at October 14, 2016 at 4:01 pm by Jithin

    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 actually http status codes. The 500 Internal Server Error is also an http status code. In this article, we are going to see about 500 Internal Server Error in detail.   The    [...]

    Read More

    HTACCESS URL REDIRECT

    Posted at July 8, 2016 at 2:14 pm by Jithin

    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 is used to enable/disable features or add functionality that Apache Web server needs. This includes basic redirect functionality, like a 404 file not found er   [...]

    Read More

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

    Posted at April 4, 2016 at 3:23 pm by Jithin

         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 )   We can use the following steps to do this.   1) Go to the home directory. cd /home/username/public_html (Replace the username with the exact username). If   [...]

    Read More

    Redirect site to SSL using apache and .htaccess

    Posted at December 22, 2015 at 2:16 pm by John Quaglieri

    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 to SSL. For example http://ssl_domain.com/page will redirect to https://ssl_domain.com/page.

    Read More