{"ScriptPreparationCode":null,"TestCases":[{"Name":"standard","Code":"const redirects = [\r\n {\r\n from: \u0027/news/volkswagen-id-4-first-drive-2021\u0027,\r\n to: \u0027/volkswagen/id_4\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-small-hatchbacks-for-15000\u0027,\r\n to: \u0027/guides/best-hatchbacks\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-small-cars-for-uber-drivers\u0027,\r\n to: \u0027/guides/best-large-cars-for-uber-drivers\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/should-i-buy-new-or-used-car\u0027,\r\n to: \u0027/guides/should-i-buy-a-new-car\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-rated-suvs-on-heycar\u0027,\r\n to: \u0027/guides/best-suvs\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/news/lease-vs-finance\u0027, to: \u0027/deals\u0027, exact: false },\r\n {\r\n from: \u0027/news/new-peugeot-e-2008--price--specs--release-date\u0027,\r\n to: \u0027/peugeot/e_2008\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/volkswagen-amarok-2022-price-specs-release-date\u0027,\r\n to: \u0027/volkswagen/amarok\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-car-sat-navs\u0027,\r\n to: \u0027/guides/best-car-accessories\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-mpvs-for-10000\u0027,\r\n to: \u0027/guides/best-mpvs\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-suvs-for-50000\u0027,\r\n to: \u0027/used-cars/suv\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/page:pageNumber\u0027,\r\n to: \u0027/news/page/:pageNumber\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/how-much-does-it-cost-to-get-a-tyre-repaired-\u0027,\r\n to: \u0027/guides/how-much-does-it-cost-to-get-a-tyre-repaired\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-cars-for-campers\u0027,\r\n to: \u0027/guides/best-campervans\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/car-owners-warned-as-catalytic-converter-thefts-so\u0027,\r\n to: \u0027/guides/best-ways-to-prevent-catalytic-converter-theft\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/new-audi-q6-e-tron\u0027,\r\n to: \u0027/reviews/audi/q6_e_tron\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/fastest-cars-for-15000\u0027,\r\n to: \u0027/guides/cars-that-are-fast-and-cheap\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-crossovers\u0027,\r\n to: \u0027/guides/best-small-suvs\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/honda/civic/type_r\u0027,\r\n to: \u0027/honda/civic_type_r\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/new-2021-skoda-fabia-price-specs-release-date\u0027,\r\n to: \u0027/skoda/fabia\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/fiat/tipo_cross\u0027, to: \u0027/fiat/tipo\u0027, exact: false },\r\n {\r\n from: \u0027/news/bmw-m2-price-specs-release-date\u0027,\r\n to: \u0027/reviews/bmw/m2\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-luxury-cars-for-10000\u0027,\r\n to: \u0027/guides/best-luxury-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-suvs-for-30000\u0027,\r\n to: \u0027/used-cars/suv\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/what-is-an-electric-car\u0027,\r\n to: \u0027/guides/best-electric-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/new-peugeot-308-set-to-rival-volkswagen-golf\u0027,\r\n to: \u0027/peugeot/308\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-cars-that-are-awd\u0027,\r\n to: \u0027/guides/best-4-x-4-s\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/n2022-ford-ranger-price--specs-and-release-date\u0027,\r\n to: \u0027/ford/ranger\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/motoring-underdogs-hyundai-i30n\u0027,\r\n to: \u0027/reviews/hyundai/i30n\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/body-types/pickup\u0027, to: \u0027/used-vans\u0027, exact: false },\r\n {\r\n from: \u0027/news/how-to-sell-your-car\u0027,\r\n to: \u0027/value-my-car\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-4x4s-for-20000\u0027,\r\n to: \u0027/guides/best-4-x-4-s\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-warm-hatches\u0027,\r\n to: \u0027/guides/best-hot-hatches\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/new-2023-vw-touareg\u0027,\r\n to: \u0027/review/volkswagen/touareg\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-expensive-cars\u0027,\r\n to: \u0027/guides/most-expensive-cars-in-the-world\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/when-should-you-replace-the-tyres-on-your-car-\u0027,\r\n to: \u0027/guides/when-should-you-replace-the-tyres-on-your-car\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/coronavirus-maintain-your-cars-battery-during-lockdown\u0027,\r\n to: \u0027/news/what-s-involved-in-a-car-service-\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/:makeId/:modelId/diesel\u0027,\r\n to: \u0027/used-cars\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/join\u0027, to: \u0027/join-us\u0027, exact: false },\r\n {\r\n from: \u0027/news/our-guide-safe-driving-during-winter-months\u0027,\r\n to: \u0027/guides/winter-driving-advice\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/top-10-cars-take-three-child-seats\u0027,\r\n to: \u0027/guides/best-cars-for-three-child-seats\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/new-ford-transit-custom-van-2023\u0027,\r\n to: \u0027/ford/transit_custom\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-petrol-motorway-cars\u0027,\r\n to: \u0027/guides/best-cars-for-motorway-driving\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-cars-for-first-time-parents\u0027,\r\n to: \u0027/guides/best-family-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/should-i-buy-a-new-car\u0027,\r\n to: \u0027/new-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/insurance-write-off-categories\u0027,\r\n to: \u0027/guides/insurance-write-offs-cat-c-cat-d-cat-s-cat-n\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-rated-evs-on-heycar\u0027,\r\n to: \u0027/guides/best-rated-electric-cars-on-heycar\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/the-2022-kia-ev6-price-specs-and-release-date\u0027,\r\n to: \u0027/kia/ev6\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/news/new-toyota-gr86\u0027, to: \u0027/toyota/gr86\u0027, exact: false },\r\n {\r\n from: \u0027/guides/best-family-cars-for-passing-mot\u0027,\r\n to: \u0027/guides/best-family-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/what-is-high-mileage\u0027,\r\n to: \u0027/guides/best-cars-for-motorway-driving\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-cars-for-learner-drivers\u0027,\r\n to: \u0027/guides/best-cars-for-first-time-drivers\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/coronavirus--can-i-buy-a-car-online-during-lockdow\u0027,\r\n to: \u0027/guides/buying-a-car-online\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/what-is-a-pcp\u0027,\r\n to: \u0027/deals/pcp-car-deals\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/media-centre\u0027, to: \u0027/press\u0027, exact: false },\r\n {\r\n from: \u0027/bmw/5_series/touring\u0027,\r\n to: \u0027/bmw/5_series_touring\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/body-types/coupe\u0027, to: \u0027/used-cars/coupe\u0027, exact: false },\r\n {\r\n from: \u0027/guides/best-used-cars-for-high-mileage-drivers\u0027,\r\n to: \u0027/guides/best-cars-for-motorway-driving\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/:makeId/:modelId/electric/:page\u0027,\r\n to: \u0027/used-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/used-car-warranty\u0027,\r\n to: \u0027/guides/should-i-buy-an-extended-warranty\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/n2022-peugeot-408--price--specs-and-release-date\u0027,\r\n to: \u0027/peugeot/408\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/news/new-volvo-ex30\u0027, to: \u0027/volvo/ex30\u0027, exact: false },\r\n {\r\n from: \u0027/guides/best-cars-for-small-garages\u0027,\r\n to: \u0027/guides/best-narrow-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/does-my-car-have-a-dpf-diesel-particulate-filter\u0027,\r\n to: \u0027/guides/what-is-a-diesel-particulate-filter-dpf\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/most-reliable-used-cars\u0027,\r\n to: \u0027/guides/best-cars-for-reliability\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/the-2022-honda-civic-price-specs-release-date\u0027,\r\n to: \u0027/honda/civic\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-cars-for-low-mileage-drivers\u0027,\r\n to: \u0027/guides/best-electric-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-family-cars-for-20000\u0027,\r\n to: \u0027/guides/best-family-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/n2022-volkswagen-id-buzz--price--release-date--desi\u0027,\r\n to: \u0027/volkswagen/id_buzz\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/what-is-wltp-\u0027,\r\n to: \u0027/guides/what-is-wltp\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/n2021-new-nissan-qashqai-revealed\u0027,\r\n to: \u0027/nissan/qashqai\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-estates-for-40000\u0027,\r\n to: \u0027/guides/best-used-estate-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/n2022-alfa-romeo-tonale---price--release-date--inte\u0027,\r\n to: \u0027/alfa_romeo/tonale\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-electric-cars-for-10000\u0027,\r\n to: \u0027/guides/best-used-electric-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/land_rover/defender_90\u0027,\r\n to: \u0027/land_rover/defender\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/review/ford/fiesta/st\u0027,\r\n to: \u0027/review/ford/fiesta_st\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-city-cars-for-7500\u0027,\r\n to: \u0027/used-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/mercedes_benz/gla\u0027,\r\n to: \u0027/mercedes_benz/gla_class\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/body-types/suv\u0027, to: \u0027/used-cars/suv\u0027, exact: false },\r\n {\r\n from: \u0027/guides/best-city-cars-for-10000\u0027,\r\n to: \u0027/guides/best-small-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/the-10-things-to-check-when-buying-a-used-ev\u0027,\r\n to: \u0027/guides/best-electric-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/buy-online\u0027,\r\n to: \u0027/buy-online-with-heycar\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/volkswagen/golf/r\u0027,\r\n to: \u0027/volkswagen/golf_r\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/how-much-does-it-cost-to-get-a-tyre-repaired-\u0027,\r\n to: \u0027/guides/how-much-does-it-cost-to-get-a-tyre-repaired-\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/new-2021-honda-hr-v--price--release-date--interior\u0027,\r\n to: \u0027/honda/hr_v\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/new-ford-focus-price-specs-release-date\u0027,\r\n to: \u0027/ford/focus\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-mpvs-for-three-child-car-seats\u0027,\r\n to: \u0027/guides/best-mpvs\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/how-prepare-your-car-winter-months\u0027,\r\n to: \u0027/guides/winter-driving-advice\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/video-viewing\u0027,\r\n to: \u0027/news/latest-covid-update\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/new-2023-mercedes-benz-a-class\u0027,\r\n to: \u0027/mercedes_benz/a_class\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-diesel-crossovers\u0027,\r\n to: \u0027/guides/best-small-suvs\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-vans-for-delivery-drivers\u0027,\r\n to: \u0027/guides/best-used-vans\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/toyota/rav_4\u0027, to: \u0027/toyota/rav4\u0027, exact: false },\r\n {\r\n from: \u0027/guides/best-convertibles-for-40000\u0027,\r\n to: \u0027/guides/best-convertibles-for-30000\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-used-estate-cars\u0027,\r\n to: \u0027/guides/best-estate-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-cars-for-17-18-19-year-olds\u0027,\r\n to: \u0027/guides/cheapest-cars-to-insure-for-new-drivers\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-convertibles-for-10000\u0027,\r\n to: \u0027/guides/best-convertibles-for-30000\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/heycar-crowned-online-advertiser-new-cars-car-dealer-power-awards-2020\u0027,\r\n to: \u0027/used-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/new-nissan-x-trail\u0027,\r\n to: \u0027/nissan/x_trail\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/dealer-signup\u0027, to: \u0027/join\u0027, exact: false },\r\n ];\r\nconst guides = [\r\n \u0027\u0027,\r\n \u0027\u0027,\r\n \u0027audi-electric-cars\u0027,\r\n \u0027audi-q5-dimensions-guide\u0027,\r\n \u0027best-15000-cars-for-towing-caravans\u0027,\r\n \u0027best-20000-cars-for-towing-caravans\u0027,\r\n \u0027best-25000-cars-for-towing-caravans\u0027,\r\n \u0027best-30000-cars-for-towing-caravans\u0027,\r\n \u0027best-4-x-4-s\u0027,\r\n \u0027best-4x4s-for-10000\u0027,\r\n \u0027best-4x4s-for-15000\u0027,\r\n \u0027best-4x4s-for-20000\u0027,\r\n \u0027best-4x4s-for-25000\u0027,\r\n \u0027best-7-seater-cars\u0027,\r\n \u0027best-campervans\u0027,\r\n \u0027best-car-accessories\u0027,\r\n \u0027best-car-manufacturers-for-passing-the-mot-test\u0027,\r\n \u0027best-car-sat-navs\u0027,\r\n \u0027best-cars\u0027,\r\n \u0027best-cars-for-17-18-19-year-olds\u0027,\r\n \u0027best-cars-for-campers\u0027,\r\n \u0027best-cars-for-carrying-bikes\u0027,\r\n \u0027best-cars-for-comfort\u0027,\r\n \u0027best-cars-for-family-holidays\u0027,\r\n \u0027best-cars-for-first-time-drivers\u0027,\r\n \u0027best-cars-for-first-time-parents\u0027,\r\n \u0027best-cars-for-impressing-the-neighbours\u0027,\r\n \u0027best-cars-for-learner-drivers\u0027,\r\n \u0027best-cars-for-low-mileage-drivers\u0027,\r\n \u0027best-cars-for-motorway-driving\u0027,\r\n \u0027best-cars-for-older-drivers\u0027,\r\n \u0027best-cars-for-owner-satisfaction\u0027,\r\n \u0027best-cars-for-real-mpg\u0027,\r\n \u0027best-cars-for-reliability\u0027,\r\n \u0027best-cars-for-retirement\u0027,\r\n \u0027best-cars-for-saving-the-planet\u0027,\r\n \u0027best-cars-for-small-garages\u0027,\r\n \u0027best-cars-for-surfers\u0027,\r\n \u0027best-cars-for-the-school-run\u0027,\r\n \u0027best-cars-for-three-child-seats\u0027,\r\n \u0027best-cars-for-towing-2000kg\u0027,\r\n \u0027best-cars-for-towing-a-caravan\u0027,\r\n \u0027best-cars-for-towing-boats\u0027,\r\n \u0027best-cars-for-towing-horseboxes\u0027,\r\n \u0027best-cars-for-track-days\u0027,\r\n \u0027best-cars-that-are-automatics\u0027,\r\n \u0027best-cars-that-are-awd\u0027,\r\n \u0027best-cars-that-are-dog-friendly\u0027,\r\n \u0027best-cars-that-are-easy-to-get-in-and-out-of\u0027,\r\n \u0027best-cars-that-are-good-in-snow\u0027,\r\n \u0027best-cars-that-are-high-up\u0027,\r\n \u0027best-cars-that-are-in-high-demand\u0027,\r\n \u0027best-cars-that-are-quick\u0027,\r\n \u0027best-cars-that-are-quiet-inside\u0027,\r\n \u0027best-cars-that-are-rear-wheel-drive\u0027,\r\n \u0027best-cars-that-are-ulez-exempt\u0027,\r\n \u0027best-cars-that-are-v6\u0027,\r\n \u0027best-cars-with-a-five-year-warranty\u0027,\r\n \u0027best-cars-with-a-seven-year-warranty\u0027,\r\n \u0027best-cars-with-cvt-gearbox\u0027,\r\n \u0027best-cars-with-dsg-or-dual-clutch-gearboxes\u0027,\r\n \u0027best-cars-with-future-classic-potential\u0027,\r\n \u0027best-cars-with-large-boots\u0027,\r\n \u0027best-cars-with-sliding-doors\u0027,\r\n \u0027best-cheap-cars-for-under-5000\u0027,\r\n \u0027def-cheapest-suvs\u0027,\r\n \u0027best-cheapest-template--duplicate-before-use--xxxx\u0027,\r\n \u0027best-city-cars\u0027,\r\n \u0027best-city-cars-for-10000\u0027,\r\n \u0027best-city-cars-for-5000\u0027,\r\n \u0027best-city-cars-for-7500\u0027,\r\n \u0027best-convertibles\u0027,\r\n \u0027best-convertibles-for-10000\u0027,\r\n \u0027best-convertibles-for-20000\u0027,\r\n \u0027best-convertibles-for-30000\u0027,\r\n \u0027best-convertibles-for-40000\u0027,\r\n \u0027best-coupes\u0027,\r\n \u0027best-coupes-for-10000\u0027,\r\n \u0027best-coupes-for-15000\u0027,\r\n \u0027best-coupes-for-20000\u0027,\r\n \u0027best-coupes-for-30000\u0027,\r\n \u0027best-coupes-for-40000\u0027,\r\n \u0027best-crew-cab-vans\u0027,\r\n \u0027best-crossovers\u0027,\r\n \u0027best-diesel-cars-that-are-ulez-exempt\u0027,\r\n \u0027best-diesel-crossovers\u0027,\r\n \u0027best-diesel-family-cars\u0027,\r\n \u0027best-diesel-motorway-cars\u0027,\r\n \u0027best-diesel-suvs\u0027,\r\n \u0027best-electric-and-hybrid-vans\u0027,\r\n \u0027best-electric-cars\u0027,\r\n \u0027best-electric-cars-for-10000\u0027,\r\n \u0027best-electric-cars-for-15000\u0027,\r\n \u0027best-electric-cars-for-20000\u0027,\r\n \u0027best-electric-cars-for-5000\u0027,\r\n \u0027best-electric-city-cars\u0027,\r\n \u0027best-electric-crossovers\u0027,\r\n \u0027best-estate-cars\u0027,\r\n \u0027best-estates-for-10000\u0027,\r\n \u0027best-estates-for-15000\u0027,\r\n ];\r\nconst cleanedGuides = [];\r\n\r\nguides.forEach(slug =\u003E {\r\n\tconst redirect= redirects.find(fromTo =\u003E fromTo.from === \u0060/guides/${slug}\u0060);\r\nif (redirect) {\r\n\tcleanedGuides.push(redirect.to);\r\n} else {\r\n\tcleanedGuides.push(slug);\r\n}\r\n});\r\n\r\nconsole.log(cleanedGuides);\r\n","IsDeferred":false},{"Name":"smart ","Code":"const redirects = [\r\n {\r\n from: \u0027/news/volkswagen-id-4-first-drive-2021\u0027,\r\n to: \u0027/volkswagen/id_4\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-small-hatchbacks-for-15000\u0027,\r\n to: \u0027/guides/best-hatchbacks\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-small-cars-for-uber-drivers\u0027,\r\n to: \u0027/guides/best-large-cars-for-uber-drivers\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/should-i-buy-new-or-used-car\u0027,\r\n to: \u0027/guides/should-i-buy-a-new-car\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-rated-suvs-on-heycar\u0027,\r\n to: \u0027/guides/best-suvs\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/news/lease-vs-finance\u0027, to: \u0027/deals\u0027, exact: false },\r\n {\r\n from: \u0027/news/new-peugeot-e-2008--price--specs--release-date\u0027,\r\n to: \u0027/peugeot/e_2008\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/volkswagen-amarok-2022-price-specs-release-date\u0027,\r\n to: \u0027/volkswagen/amarok\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-car-sat-navs\u0027,\r\n to: \u0027/guides/best-car-accessories\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-mpvs-for-10000\u0027,\r\n to: \u0027/guides/best-mpvs\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-suvs-for-50000\u0027,\r\n to: \u0027/used-cars/suv\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/page:pageNumber\u0027,\r\n to: \u0027/news/page/:pageNumber\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/how-much-does-it-cost-to-get-a-tyre-repaired-\u0027,\r\n to: \u0027/guides/how-much-does-it-cost-to-get-a-tyre-repaired\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-cars-for-campers\u0027,\r\n to: \u0027/guides/best-campervans\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/car-owners-warned-as-catalytic-converter-thefts-so\u0027,\r\n to: \u0027/guides/best-ways-to-prevent-catalytic-converter-theft\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/new-audi-q6-e-tron\u0027,\r\n to: \u0027/reviews/audi/q6_e_tron\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/fastest-cars-for-15000\u0027,\r\n to: \u0027/guides/cars-that-are-fast-and-cheap\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-crossovers\u0027,\r\n to: \u0027/guides/best-small-suvs\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/honda/civic/type_r\u0027,\r\n to: \u0027/honda/civic_type_r\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/new-2021-skoda-fabia-price-specs-release-date\u0027,\r\n to: \u0027/skoda/fabia\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/fiat/tipo_cross\u0027, to: \u0027/fiat/tipo\u0027, exact: false },\r\n {\r\n from: \u0027/news/bmw-m2-price-specs-release-date\u0027,\r\n to: \u0027/reviews/bmw/m2\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-luxury-cars-for-10000\u0027,\r\n to: \u0027/guides/best-luxury-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-suvs-for-30000\u0027,\r\n to: \u0027/used-cars/suv\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/what-is-an-electric-car\u0027,\r\n to: \u0027/guides/best-electric-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/new-peugeot-308-set-to-rival-volkswagen-golf\u0027,\r\n to: \u0027/peugeot/308\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-cars-that-are-awd\u0027,\r\n to: \u0027/guides/best-4-x-4-s\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/n2022-ford-ranger-price--specs-and-release-date\u0027,\r\n to: \u0027/ford/ranger\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/motoring-underdogs-hyundai-i30n\u0027,\r\n to: \u0027/reviews/hyundai/i30n\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/body-types/pickup\u0027, to: \u0027/used-vans\u0027, exact: false },\r\n {\r\n from: \u0027/news/how-to-sell-your-car\u0027,\r\n to: \u0027/value-my-car\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-4x4s-for-20000\u0027,\r\n to: \u0027/guides/best-4-x-4-s\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-warm-hatches\u0027,\r\n to: \u0027/guides/best-hot-hatches\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/new-2023-vw-touareg\u0027,\r\n to: \u0027/review/volkswagen/touareg\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-expensive-cars\u0027,\r\n to: \u0027/guides/most-expensive-cars-in-the-world\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/when-should-you-replace-the-tyres-on-your-car-\u0027,\r\n to: \u0027/guides/when-should-you-replace-the-tyres-on-your-car\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/coronavirus-maintain-your-cars-battery-during-lockdown\u0027,\r\n to: \u0027/news/what-s-involved-in-a-car-service-\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/:makeId/:modelId/diesel\u0027,\r\n to: \u0027/used-cars\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/join\u0027, to: \u0027/join-us\u0027, exact: false },\r\n {\r\n from: \u0027/news/our-guide-safe-driving-during-winter-months\u0027,\r\n to: \u0027/guides/winter-driving-advice\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/top-10-cars-take-three-child-seats\u0027,\r\n to: \u0027/guides/best-cars-for-three-child-seats\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/new-ford-transit-custom-van-2023\u0027,\r\n to: \u0027/ford/transit_custom\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-petrol-motorway-cars\u0027,\r\n to: \u0027/guides/best-cars-for-motorway-driving\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-cars-for-first-time-parents\u0027,\r\n to: \u0027/guides/best-family-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/should-i-buy-a-new-car\u0027,\r\n to: \u0027/new-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/insurance-write-off-categories\u0027,\r\n to: \u0027/guides/insurance-write-offs-cat-c-cat-d-cat-s-cat-n\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-rated-evs-on-heycar\u0027,\r\n to: \u0027/guides/best-rated-electric-cars-on-heycar\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/the-2022-kia-ev6-price-specs-and-release-date\u0027,\r\n to: \u0027/kia/ev6\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/news/new-toyota-gr86\u0027, to: \u0027/toyota/gr86\u0027, exact: false },\r\n {\r\n from: \u0027/guides/best-family-cars-for-passing-mot\u0027,\r\n to: \u0027/guides/best-family-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/what-is-high-mileage\u0027,\r\n to: \u0027/guides/best-cars-for-motorway-driving\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-cars-for-learner-drivers\u0027,\r\n to: \u0027/guides/best-cars-for-first-time-drivers\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/coronavirus--can-i-buy-a-car-online-during-lockdow\u0027,\r\n to: \u0027/guides/buying-a-car-online\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/what-is-a-pcp\u0027,\r\n to: \u0027/deals/pcp-car-deals\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/media-centre\u0027, to: \u0027/press\u0027, exact: false },\r\n {\r\n from: \u0027/bmw/5_series/touring\u0027,\r\n to: \u0027/bmw/5_series_touring\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/body-types/coupe\u0027, to: \u0027/used-cars/coupe\u0027, exact: false },\r\n {\r\n from: \u0027/guides/best-used-cars-for-high-mileage-drivers\u0027,\r\n to: \u0027/guides/best-cars-for-motorway-driving\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/:makeId/:modelId/electric/:page\u0027,\r\n to: \u0027/used-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/used-car-warranty\u0027,\r\n to: \u0027/guides/should-i-buy-an-extended-warranty\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/n2022-peugeot-408--price--specs-and-release-date\u0027,\r\n to: \u0027/peugeot/408\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/news/new-volvo-ex30\u0027, to: \u0027/volvo/ex30\u0027, exact: false },\r\n {\r\n from: \u0027/guides/best-cars-for-small-garages\u0027,\r\n to: \u0027/guides/best-narrow-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/does-my-car-have-a-dpf-diesel-particulate-filter\u0027,\r\n to: \u0027/guides/what-is-a-diesel-particulate-filter-dpf\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/most-reliable-used-cars\u0027,\r\n to: \u0027/guides/best-cars-for-reliability\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/the-2022-honda-civic-price-specs-release-date\u0027,\r\n to: \u0027/honda/civic\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-cars-for-low-mileage-drivers\u0027,\r\n to: \u0027/guides/best-electric-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-family-cars-for-20000\u0027,\r\n to: \u0027/guides/best-family-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/n2022-volkswagen-id-buzz--price--release-date--desi\u0027,\r\n to: \u0027/volkswagen/id_buzz\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/what-is-wltp-\u0027,\r\n to: \u0027/guides/what-is-wltp\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/n2021-new-nissan-qashqai-revealed\u0027,\r\n to: \u0027/nissan/qashqai\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-estates-for-40000\u0027,\r\n to: \u0027/guides/best-used-estate-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/n2022-alfa-romeo-tonale---price--release-date--inte\u0027,\r\n to: \u0027/alfa_romeo/tonale\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-electric-cars-for-10000\u0027,\r\n to: \u0027/guides/best-used-electric-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/land_rover/defender_90\u0027,\r\n to: \u0027/land_rover/defender\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/review/ford/fiesta/st\u0027,\r\n to: \u0027/review/ford/fiesta_st\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-city-cars-for-7500\u0027,\r\n to: \u0027/used-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/mercedes_benz/gla\u0027,\r\n to: \u0027/mercedes_benz/gla_class\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/body-types/suv\u0027, to: \u0027/used-cars/suv\u0027, exact: false },\r\n {\r\n from: \u0027/guides/best-city-cars-for-10000\u0027,\r\n to: \u0027/guides/best-small-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/the-10-things-to-check-when-buying-a-used-ev\u0027,\r\n to: \u0027/guides/best-electric-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/buy-online\u0027,\r\n to: \u0027/buy-online-with-heycar\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/volkswagen/golf/r\u0027,\r\n to: \u0027/volkswagen/golf_r\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/how-much-does-it-cost-to-get-a-tyre-repaired-\u0027,\r\n to: \u0027/guides/how-much-does-it-cost-to-get-a-tyre-repaired-\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/new-2021-honda-hr-v--price--release-date--interior\u0027,\r\n to: \u0027/honda/hr_v\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/new-ford-focus-price-specs-release-date\u0027,\r\n to: \u0027/ford/focus\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-mpvs-for-three-child-car-seats\u0027,\r\n to: \u0027/guides/best-mpvs\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/how-prepare-your-car-winter-months\u0027,\r\n to: \u0027/guides/winter-driving-advice\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/video-viewing\u0027,\r\n to: \u0027/news/latest-covid-update\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/new-2023-mercedes-benz-a-class\u0027,\r\n to: \u0027/mercedes_benz/a_class\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-diesel-crossovers\u0027,\r\n to: \u0027/guides/best-small-suvs\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-vans-for-delivery-drivers\u0027,\r\n to: \u0027/guides/best-used-vans\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/toyota/rav_4\u0027, to: \u0027/toyota/rav4\u0027, exact: false },\r\n {\r\n from: \u0027/guides/best-convertibles-for-40000\u0027,\r\n to: \u0027/guides/best-convertibles-for-30000\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-used-estate-cars\u0027,\r\n to: \u0027/guides/best-estate-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-cars-for-17-18-19-year-olds\u0027,\r\n to: \u0027/guides/cheapest-cars-to-insure-for-new-drivers\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/guides/best-convertibles-for-10000\u0027,\r\n to: \u0027/guides/best-convertibles-for-30000\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/heycar-crowned-online-advertiser-new-cars-car-dealer-power-awards-2020\u0027,\r\n to: \u0027/used-cars\u0027,\r\n exact: false\r\n },\r\n {\r\n from: \u0027/news/new-nissan-x-trail\u0027,\r\n to: \u0027/nissan/x_trail\u0027,\r\n exact: false\r\n },\r\n { from: \u0027/dealer-signup\u0027, to: \u0027/join\u0027, exact: false },\r\n ];\r\nconst guides = [\r\n \u0027\u0027,\r\n \u0027\u0027,\r\n \u0027audi-electric-cars\u0027,\r\n \u0027audi-q5-dimensions-guide\u0027,\r\n \u0027best-15000-cars-for-towing-caravans\u0027,\r\n \u0027best-20000-cars-for-towing-caravans\u0027,\r\n \u0027best-25000-cars-for-towing-caravans\u0027,\r\n \u0027best-30000-cars-for-towing-caravans\u0027,\r\n \u0027best-4-x-4-s\u0027,\r\n \u0027best-4x4s-for-10000\u0027,\r\n \u0027best-4x4s-for-15000\u0027,\r\n \u0027best-4x4s-for-20000\u0027,\r\n \u0027best-4x4s-for-25000\u0027,\r\n \u0027best-7-seater-cars\u0027,\r\n \u0027best-campervans\u0027,\r\n \u0027best-car-accessories\u0027,\r\n \u0027best-car-manufacturers-for-passing-the-mot-test\u0027,\r\n \u0027best-car-sat-navs\u0027,\r\n \u0027best-cars\u0027,\r\n \u0027best-cars-for-17-18-19-year-olds\u0027,\r\n \u0027best-cars-for-campers\u0027,\r\n \u0027best-cars-for-carrying-bikes\u0027,\r\n \u0027best-cars-for-comfort\u0027,\r\n \u0027best-cars-for-family-holidays\u0027,\r\n \u0027best-cars-for-first-time-drivers\u0027,\r\n \u0027best-cars-for-first-time-parents\u0027,\r\n \u0027best-cars-for-impressing-the-neighbours\u0027,\r\n \u0027best-cars-for-learner-drivers\u0027,\r\n \u0027best-cars-for-low-mileage-drivers\u0027,\r\n \u0027best-cars-for-motorway-driving\u0027,\r\n \u0027best-cars-for-older-drivers\u0027,\r\n \u0027best-cars-for-owner-satisfaction\u0027,\r\n \u0027best-cars-for-real-mpg\u0027,\r\n \u0027best-cars-for-reliability\u0027,\r\n \u0027best-cars-for-retirement\u0027,\r\n \u0027best-cars-for-saving-the-planet\u0027,\r\n \u0027best-cars-for-small-garages\u0027,\r\n \u0027best-cars-for-surfers\u0027,\r\n \u0027best-cars-for-the-school-run\u0027,\r\n \u0027best-cars-for-three-child-seats\u0027,\r\n \u0027best-cars-for-towing-2000kg\u0027,\r\n \u0027best-cars-for-towing-a-caravan\u0027,\r\n \u0027best-cars-for-towing-boats\u0027,\r\n \u0027best-cars-for-towing-horseboxes\u0027,\r\n \u0027best-cars-for-track-days\u0027,\r\n \u0027best-cars-that-are-automatics\u0027,\r\n \u0027best-cars-that-are-awd\u0027,\r\n \u0027best-cars-that-are-dog-friendly\u0027,\r\n \u0027best-cars-that-are-easy-to-get-in-and-out-of\u0027,\r\n \u0027best-cars-that-are-good-in-snow\u0027,\r\n \u0027best-cars-that-are-high-up\u0027,\r\n \u0027best-cars-that-are-in-high-demand\u0027,\r\n \u0027best-cars-that-are-quick\u0027,\r\n \u0027best-cars-that-are-quiet-inside\u0027,\r\n \u0027best-cars-that-are-rear-wheel-drive\u0027,\r\n \u0027best-cars-that-are-ulez-exempt\u0027,\r\n \u0027best-cars-that-are-v6\u0027,\r\n \u0027best-cars-with-a-five-year-warranty\u0027,\r\n \u0027best-cars-with-a-seven-year-warranty\u0027,\r\n \u0027best-cars-with-cvt-gearbox\u0027,\r\n \u0027best-cars-with-dsg-or-dual-clutch-gearboxes\u0027,\r\n \u0027best-cars-with-future-classic-potential\u0027,\r\n \u0027best-cars-with-large-boots\u0027,\r\n \u0027best-cars-with-sliding-doors\u0027,\r\n \u0027best-cheap-cars-for-under-5000\u0027,\r\n \u0027def-cheapest-suvs\u0027,\r\n \u0027best-cheapest-template--duplicate-before-use--xxxx\u0027,\r\n \u0027best-city-cars\u0027,\r\n \u0027best-city-cars-for-10000\u0027,\r\n \u0027best-city-cars-for-5000\u0027,\r\n \u0027best-city-cars-for-7500\u0027,\r\n \u0027best-convertibles\u0027,\r\n \u0027best-convertibles-for-10000\u0027,\r\n \u0027best-convertibles-for-20000\u0027,\r\n \u0027best-convertibles-for-30000\u0027,\r\n \u0027best-convertibles-for-40000\u0027,\r\n \u0027best-coupes\u0027,\r\n \u0027best-coupes-for-10000\u0027,\r\n \u0027best-coupes-for-15000\u0027,\r\n \u0027best-coupes-for-20000\u0027,\r\n \u0027best-coupes-for-30000\u0027,\r\n \u0027best-coupes-for-40000\u0027,\r\n \u0027best-crew-cab-vans\u0027,\r\n \u0027best-crossovers\u0027,\r\n \u0027best-diesel-cars-that-are-ulez-exempt\u0027,\r\n \u0027best-diesel-crossovers\u0027,\r\n \u0027best-diesel-family-cars\u0027,\r\n \u0027best-diesel-motorway-cars\u0027,\r\n \u0027best-diesel-suvs\u0027,\r\n \u0027best-electric-and-hybrid-vans\u0027,\r\n \u0027best-electric-cars\u0027,\r\n \u0027best-electric-cars-for-10000\u0027,\r\n \u0027best-electric-cars-for-15000\u0027,\r\n \u0027best-electric-cars-for-20000\u0027,\r\n \u0027best-electric-cars-for-5000\u0027,\r\n \u0027best-electric-city-cars\u0027,\r\n \u0027best-electric-crossovers\u0027,\r\n \u0027best-estate-cars\u0027,\r\n \u0027best-estates-for-10000\u0027,\r\n \u0027best-estates-for-15000\u0027,\r\n ];\r\nconst cleanedGuides = [];\r\n\r\nconst filteredRedirects = redirects.filter(fromTo =\u003E fromTo.from.includes(\u0027/guides/\u0027));\r\n\r\nguides.forEach(slug =\u003E {\r\n\tconst redirect = filteredRedirects.find(fromTo =\u003E fromTo.from === \u0060/guides/${slug}\u0060);\r\nif (redirect) {\r\n\tcleanedGuides.push(redirect.to);\r\n} else {\r\n\tcleanedGuides.push(slug);\r\n}\r\n});\r\n\r\nconsole.log(cleanedGuides);","IsDeferred":false}]}