Create .htaccess file and put the below code in it. # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /…