.htaccess file located in the root directory of your WordPress site. If you can not see, turn on show hidden files on server or hosting.