Restructure htaccess file