Fix htaccess generation pathwq