htaccess codes to redirect domains to directories

The codes below deals with managing domains and directories through htaccess. These codes are to be added in the htaccess files present in the root directory for the domain. If you’re new to the term htaccess, you can read more about it in the post Introduction to .htaccess file. Redirect a directory or a page […]

Read More »
htaccess code to redirect a domain to https

The codes below can be used to redirect your visitors from http (normal/insecure) to https (encrypted/secure). These codes are to be added in the htaccess files present in root directory for the domain. If you’re new to the term htaccess, you can read more about it in the post Introduction to .htaccess file. You only […]

Read More »
www and non-www redirect codes for htaccess

The codes below are used to redirect your domain visitors from non-www version to www version of the site or vice versa. These codes are to be added in the htaccess files present in root directory for the domain. If you’re new to the term htaccess, you can read more about it in the post […]

Read More »
PHP mail() function test script

You can use this script to test the PHP mail() function on your server. Access file manager Navigate to the root folder of your website (public_html for primary domains. If not, access the addon folder assosciated with the domain name) Create a new file and save it as a .php file. Lets say test_mail.php Edit […]

Read More »
Introduction to .htaccess files

A .htaccess file is a file on the apache server that controls how your visitors interact with your website. You can also block access to the server using this file. Basically, a htaccess file is a configuration file for apache based servers. It is a very common file on the server. You might have come […]

Read More »
How to display hidden files in FileManager? – cPanel

Any file or folder that has a period (. or dot ) as its first character is considered as hidden. A classic example would be the htaccess file on the server. Depending on the settings of your FileManager, it might or might not be visible upon accessing the folder that it resides on. If you […]

Read More »
How to manage files through File Manager in cPanel?

There are different ways to manage the files on your web server such as SSH, FTP and File Manager. In this post I will discuss how to access the File Manager and manage files through it. Access and navigate File Manager Login to cPanel and search for ‘File’ in the top search panel and click […]

Read More »
Common FTP client errors and Fixes

Here’s a brief list of most common FTP client errors and possible fixes: 530 login authentication failed: This is the most common error. This is usually a Username / Password error. Cross check them. It is also possible that the user has exceeded his FTP limit. You can increase it from cPanel > FTP accounts […]

Read More »
How to configure a FTP client and transfer files using it?- (Part 1)

In my previous post I have written about creating an FTP account. In this post, we will see how we can connect to the server using FileZilla as our FTP client. This is the first part of the process. To learn how to manage files, please check this post. You will need to have already […]

Read More »
How to create an FTP account in cPanel?

FTP is an acronym for File Transfer Protocol. We use FTP to transfer files between computers/servers. This post explains creating an FTP account in your cPanel. Log in to your cPanel and search for FTP using the top search bar and click on ‘FTP Accounts’ First block in the page must have a form with […]

Read More »