First, log in to your cPanel. Then, click on File Manager. Before clicking GO, make sure the "Show Hidden Files (dotfiles)" option is checked. From there, go to your public_html folder and look for a file named .htaccess. If you cannot find it, create a new file and name it .htaccess, then add the following line of code into it: