For everyone else who do consider to change their .htaccess file, It is risky to change your .htaccess file if you do not know what you are doing.. just saying.
Well i owuld start with youtube tutorials, since this can not be explained in few words. Depending on CMS you want, define your search on youtube. Best of luck!