diff --git a/Assessments.Frontend.Web/Controllers/AlienSpeciesController.cs b/Assessments.Frontend.Web/Controllers/AlienSpeciesController.cs index bd89f909..cb72fd23 100644 --- a/Assessments.Frontend.Web/Controllers/AlienSpeciesController.cs +++ b/Assessments.Frontend.Web/Controllers/AlienSpeciesController.cs @@ -39,6 +39,12 @@ public AlienSpeciesController(IOptions options, AttachmentRe [Route("2023")] public async Task Index(AlienSpeciesListViewModel viewModel, int? page, bool export) { + // hotfix - permanent redirect to fix google cache + if (viewModel.TaxonRank.Any() && viewModel.TaxonRank[0] == "tvi") + { + return RedirectPermanent("https://artsdatabanken.no/lister/fremmedartslista/2023?TaxonRank=AssessedAtSameRank"); + } + var query = await DataRepository.GetAlienSpeciesAssessments(); var unfilteredQuery = query;