uktrade/invest-ui

View on GitHub
conf/urls_redirect.py

Summary

Maintainability
F
1 wk
Test Coverage
from django.conf.urls import url
from django.http import HttpResponseNotFound, HttpResponseServerError
from django.views import View
from django.views.generic import RedirectView
from directory_constants import urls


class NotFoundView(View):
    def get(self, request, *args, **kwargs):
        return HttpResponseNotFound()


class ServerErrorView(View):
    def get(self, request, *args, **kwargs):
        return HttpResponseServerError()


class QuerystringRedirectView(RedirectView):
    query_string = True


class ChineseRedirectView(RedirectView):
    query_string = True

    def get_redirect_url(self, *args, **kwargs):
        """Replace zh-cn with zh-hans for all the urls."""
        return self.request.path.replace('zh-cn', 'zh-hans')


urlpatterns = [
    #  ($|index\.html$) either end of string $ or index.html

    # /int/ar/ -> /ar/
    url(
        r'^int/ar/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ar'),
    ),
    url(
        r'^int/ar/404.html',
        NotFoundView.as_view(),
    ),
    url(
        r'^int/ar/500.html',
        ServerErrorView.as_view,
    ),
    url(
        r'^int/ar/setup-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ar/setup-guide'),
    ),
    url(
        r'^int/ar/setup-guide/establish-address/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ar/setup-guide/establish-address'
        ),
    ),
    url(
        r'^int/ar/setup-guide/apply-for-visa/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ar/setup-guide/apply-for-visa'),
    ),
    url(
        r'^int/ar/setup-guide/open-a-business-account/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ar/setup-guide/open-a-business-account'
        ),
    ),
    url(
        r'^int/ar/setup-guide/how-to-setup/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ar/setup-guide/how-to-setup'),
    ),
    url(
        r'^int/ar/setup-guide/understand-tax/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ar/setup-guide/understand-tax'),
    ),
    url(
        r'^int/ar/setup-guide/access-talent/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ar/setup-guide/access-talent'),
    ),
    url(
        r'^int/ar/setup-guide/understand-legal/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ar/setup-guide/understand-legal'),  # noqa
    ),
    url(
        r'^int/ar/industries/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ar/industries'),
    ),
    url(
        r'^int/ar/industries/aerospace/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ar/industries/aerospace'
        ),
    ),
    url(
        r'^int/ar/industries/advanced-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ar/industries/advanced-manufacturing'
        ),
    ),
    url(
        r'^int/ar/industries/food-and-drink-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ar/industries/food-and-drink-manufacturing'),
    ),
    url(
        r'^int/ar/industries/food-and-drink-manufacturing/freefrom/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/ar/industries/food-and-drink-manufacturing/freefrom'
        ),
    ),
    url(
        r'^int/ar/industries/retail/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ar/industries/retail'
        ),
    ),
    url(
        r'^int/ar/industries/automotive/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ar/industries/automotive'
        ),
    ),
    url(
        r'^int/ar/industries/automotive/motorsport/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ar/industries/automotive/motorsport'
        ),
    ),
    url(
        r'^int/ar/industries/automotive/research-and-development/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/ar/industries/automotive/research-and-development'
        ),
    ),
    url(
        r'^int/ar/industries/automotive/supply-chain/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ar/industries/automotive-supply-chain'
        ),
    ),
    url(
        r'^int/ar/industries/energy/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ar/industries/energy'
        ),
    ),
    url(
        r'^int/ar/industries/energy/offshore-wind/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ar/industries/energy/offshore-wind'
        ),
    ),
    url(
        r'^int/ar/industries/energy/electrical-networks/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ar/industries/energy/electrical-networks'
        ),
    ),
    url(
        r'^int/ar/industries/energy/energy-from-waste/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ar/industries/energy/energy-from-waste'
        ),
    ),
    url(
        r'^int/ar/industries/energy/oil-and-gas/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ar/industries/energy/oil-and-gas'
        ),
    ),
    url(
        r'^int/ar/industries/energy/nuclear/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ar/industries/energy/nuclear'),
    ),
    url(
        r'^int/ar/industries/health-and-life/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ar/industries/health-and-life'),
    ),
    url(
        r'^int/ar/industries/health-and-life/medical-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/ar/industries/health-and-life/medical-technology'),
    ),
    url(
        r'^int/ar/industries/health-and-life/pharmaceutical-manufacturing/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/ar/industries/health-and-life/pharmaceutical-manufacturing'),
    ),
    url(
        r'^int/ar/industries/creative/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ar/industries/creative-industries'
        ),
    ),
    url(
        r'^int/ar/industries/creative/content-and-production/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ar/industries/creative/content-and-production'),
    ),
    url(
        r'^int/ar/industries/creative/digital-media/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ar/industries/creative/digital-media'),
    ),
    url(
        r'^int/ar/industries/financial-services/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ar/industries/financial-services'),
    ),
    url(
        r'^int/ar/industries/financial-services/asset-management/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/ar/industries/financial-services/asset-management'),
    ),
    url(
        r'^int/ar/industries/financial-services/financial-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/ar/industries/financial-services/financial-technology'),
    ),
    url(
        r'^int/ar/industries/technology/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ar/industries/technology'),
    ),
    url(
        r'^int/ar/industries/technology/data-analytics/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ar/industries/technology/data-analytics'
        ),
    ),
    url(
        r'^int/ar/terms-and-conditions/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ar/terms-and-conditions'),
    ),
    url(
        r'^int/ar/privacy-policy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ar/privacy-policy'),
    ),
    url(
        r'^int/ar/feedback/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ar/feedback'),
    ),
    url(
        r'^int/ar/enquiries/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ar/enquiries/confirmation'),
    ),
    url(
        r'^int/ar/enquiries/error/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ar/enquiries/error'),
    ),
    url(
        r'^int/ar/contact/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ar/contact'),
    ),
    url(
        r'^int/ar/location-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ar/location-guide'),
    ),
    url(
        r'^int/ar/location-guide/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ar/location-guide/confirmation'),
    ),

    # /int/de
    url(
        r'^int/de/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de'),
    ),
    url(
        r'^int/de/404.html$',
        NotFoundView.as_view(),
    ),
    url(
        r'^int/de/500.html$',
        ServerErrorView.as_view()
    ),
    url(
        r'^int/de/setup-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/setup-guide'),
    ),
    url(
        r'^int/de/setup-guide/establish-address/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/de/setup-guide/establish-address'),
    ),
    url(
        r'^int/de/setup-guide/apply-for-visa/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/setup-guide/apply-for-visa'),
    ),
    url(
        r'^int/de/setup-guide/open-a-business-account/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/de/setup-guide/open-a-business-account'),
    ),
    url(
        r'^int/de/setup-guide/how-to-setup/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/setup-guide/how-to-setup'),
    ),
    url(
        r'^int/de/setup-guide/understand-tax/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/setup-guide/understand-tax'),
    ),
    url(
        r'^int/de/setup-guide/access-talent/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/setup-guide/access-talent'),
    ),
    url(
        r'^int/de/setup-guide/understand-legal/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/setup-guide/understand-legal'),  # noqa
    ),
    url(
        r'^int/de/industries/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/industries'),
    ),
    url(
        r'^int/de/industries/aerospace/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/industries/aerospace'),
    ),
    url(
        r'^int/de/industries/advanced-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/de/industries/advanced-manufacturing'),
    ),
    url(
        r'^int/de/industries/food-and-drink-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/de/industries/food-and-drink-manufacturing'),
    ),
    url(
        r'^int/de/industries/food-and-drink-manufacturing/freefrom/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/de/industries/food-and-drink-manufacturing/freefrom'),
    ),
    url(
        r'^int/de/industries/retail/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/industries/retail'),
    ),
    url(
        r'^int/de/industries/automotive/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/industries/automotive'),
    ),
    url(
        r'^int/de/industries/automotive/motorsport/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/de/industries/automotive/motorsport'),
    ),
    url(
        r'^int/de/industries/automotive/research-and-development/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/de/industries/automotive/research-and-development'),
    ),
    url(
        r'^int/de/industries/automotive/supply-chain/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/de/industries/automotive-supply-chain'),
    ),
    url(
        r'^int/de/industries/energy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/industries/energy'),
    ),
    url(
        r'^int/de/industries/energy/offshore-wind/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/de/industries/energy/offshore-wind'),
    ),
    url(
        r'^int/de/industries/energy/electrical-networks/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/de/industries/energy/electrical-networks'),
    ),
    url(
        r'^int/de/industries/energy/energy-from-waste/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/de/industries/energy/energy-from-waste'),
    ),
    url(
        r'^int/de/industries/energy/oil-and-gas/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/de/industries/energy/oil-and-gas'),
    ),
    url(
        r'^int/de/industries/energy/nuclear/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/industries/energy/nuclear'),
    ),
    url(
        r'^int/de/industries/health-and-life/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/industries/health-and-life'),
    ),
    url(
        r'^int/de/industries/health-and-life/medical-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/de/industries/health-and-life/medical-technology'),
    ),
    url(
        r'^int/de/industries/health-and-life/pharmaceutical-manufacturing/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/de/industries/health-and-life/pharmaceutical-manufacturing'),
    ),
    url(
        r'^int/de/industries/creative/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/de/industries/creative-industries'
        ),
    ),
    url(
        r'^int/de/industries/creative/content-and-production/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/de/industries/creative/content-and-production'),
    ),
    url(
        r'^int/de/industries/creative/digital-media/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/de/industries/creative/digital-media'),
    ),
    url(
        r'^int/de/industries/financial-services/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/de/industries/financial-services'),
    ),
    url(
        r'^int/de/industries/financial-services/asset-management/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/de/industries/financial-services/asset-management'),
    ),
    url(
        r'^int/de/industries/financial-services/financial-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/de/industries/financial-services/financial-technology'),
    ),
    url(
        r'^int/de/industries/technology/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/industries/technology'),
    ),
    url(
        r'^int/de/industries/technology/data-analytics/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/de/industries/technology/data-analytics'),
    ),
    url(
        r'^int/de/terms-and-conditions/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/terms-and-conditions'),
    ),
    url(
        r'^int/de/privacy-policy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/privacy-policy'),
    ),
    url(
        r'^int/de/feedback/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/feedback'),
    ),
    url(
        r'^int/de/enquiries/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/enquiries/confirmation'),
    ),
    url(
        r'^int/de/enquiries/error/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/enquiries/error'),
    ),
    url(
        r'^int/de/contact/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/contact'),
    ),
    url(
        r'^int/de/location-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/location-guide'),
    ),
    url(
        r'^int/de/location-guide/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/de/location-guide/confirmation'),
    ),

    #  int/es
    url(
        r'^int/es/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es'),
    ),
    url(
        r'^int/es/404.html$',
        NotFoundView.as_view(),
    ),
    url(
        r'^int/es/500.html$',
        ServerErrorView.as_view(),
    ),
    url(
        r'^int/es/setup-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/setup-guide'),
    ),
    url(
        r'^int/es/setup-guide/establish-address/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/es/setup-guide/establish-address'),
    ),
    url(
        r'^int/es/setup-guide/apply-for-visa/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/setup-guide/apply-for-visa'),
    ),
    url(
        r'^int/es/setup-guide/open-a-business-account/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/es/setup-guide/open-a-business-account'),
    ),
    url(
        r'^int/es/setup-guide/how-to-setup/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/setup-guide/how-to-setup'),
    ),
    url(
        r'^int/es/setup-guide/understand-tax/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/setup-guide/understand-tax'),
    ),
    url(
        r'^int/es/setup-guide/access-talent/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/setup-guide/access-talent'),
    ),
    url(
        r'^int/es/setup-guide/understand-legal/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/setup-guide/understand-legal'),  # noqa
    ),
    url(
        r'^int/es/industries/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/industries'),
    ),
    url(
        r'^int/es/industries/aerospace/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/industries/aerospace'),
    ),
    url(
        r'^int/es/industries/advanced-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/es/industries/advanced-manufacturing'),
    ),
    url(
        r'^int/es/industries/food-and-drink-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/es/industries/food-and-drink-manufacturing'),
    ),
    url(
        r'^int/es/industries/food-and-drink-manufacturing/freefrom/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/es/industries/food-and-drink-manufacturing/freefrom'),
    ),
    url(
        r'^int/es/industries/retail/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/industries/retail'),
    ),
    url(
        r'^int/es/industries/automotive/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/industries/automotive'),
    ),
    url(
        r'^int/es/industries/automotive/motorsport/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/es/industries/automotive/motorsport'),
    ),
    url(
        r'^int/es/industries/automotive/research-and-development/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/es/industries/automotive/research-and-development'),
    ),
    url(
        r'^int/es/industries/automotive/supply-chain/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/es/industries/automotive-supply-chain'),
    ),
    url(
        r'^int/es/industries/energy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/industries/energy'),
    ),
    url(
        r'^int/es/industries/energy/offshore-wind/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/es/industries/energy/offshore-wind'),
    ),
    url(
        r'^int/es/industries/energy/electrical-networks/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/es/industries/energy/electrical-networks'),
    ),
    url(
        r'^int/es/industries/energy/energy-from-waste/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/es/industries/energy/energy-from-waste'),
    ),
    url(
        r'^int/es/industries/energy/oil-and-gas/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/es/industries/energy/oil-and-gas'),
    ),
    url(
        r'^int/es/industries/energy/nuclear/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/industries/energy/nuclear'),
    ),
    url(
        r'^int/es/industries/health-and-life/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/industries/health-and-life'),
    ),
    url(
        r'^int/es/industries/health-and-life/medical-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/es/industries/health-and-life/medical-technology'),
    ),
    url(
        r'^int/es/industries/health-and-life/pharmaceutical-manufacturing/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/es/industries/health-and-life/pharmaceutical-manufacturing'),
    ),
    url(
        r'^int/es/industries/creative/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/es/industries/creative-industries'
        ),
    ),
    url(
        r'^int/es/industries/creative/content-and-production/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/es/industries/creative/content-and-production'),
    ),
    url(
        r'^int/es/industries/creative/digital-media/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/es/industries/creative/digital-media'),
    ),
    url(
        r'^int/es/industries/financial-services/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/es/industries/financial-services'),
    ),
    url(
        r'^int/es/industries/financial-services/asset-management/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/es/industries/financial-services/asset-management'),
    ),
    url(
        r'^int/es/industries/financial-services/financial-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/es/industries/financial-services/financial-technology'),
    ),
    url(
        r'^int/es/industries/technology/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/industries/technology'),
    ),
    url(
        r'^int/es/industries/technology/data-analytics/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/es/industries/technology/data-analytics'),
    ),
    url(
        r'^int/es/terms-and-conditions/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/terms-and-conditions'),
    ),
    url(
        r'^int/es/privacy-policy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/privacy-policy'),
    ),
    url(
        r'^int/es/feedback/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/feedback'),
    ),
    url(
        r'^int/es/enquiries/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/enquiries/confirmation'),
    ),
    url(
        r'^int/es/enquiries/error/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/enquiries/error'),
    ),
    url(
        r'^int/es/contact/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/contact'),
    ),
    url(
        r'^int/es/location-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/location-guide'),
    ),
    url(
        r'^int/es/location-guide/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/es/location-guide/confirmation'),
    ),

    # /int/fr/
    url(
        r'^int/fr/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr'),
    ),
    url(
        r'^int/fr/404.html$',
        NotFoundView.as_view(),
    ),
    url(
        r'^int/fr/500.html$',
        ServerErrorView.as_view(),
    ),
    url(
        r'^int/fr/setup-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/setup-guide'),
    ),
    url(
        r'^int/fr/setup-guide/establish-address/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/fr/setup-guide/establish-address'),
    ),
    url(
        r'^int/fr/setup-guide/apply-for-visa/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/setup-guide/apply-for-visa'),
    ),
    url(
        r'^int/fr/setup-guide/open-a-business-account/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/fr/setup-guide/open-a-business-account'),
    ),
    url(
        r'^int/fr/setup-guide/how-to-setup/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/setup-guide/how-to-setup'),
    ),
    url(
        r'^int/fr/setup-guide/understand-tax/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/setup-guide/understand-tax'),
    ),
    url(
        r'^int/fr/setup-guide/access-talent/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/setup-guide/access-talent'),
    ),
    url(
        r'^int/fr/setup-guide/understand-legal/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/setup-guide/understand-legal'),  # noqa
    ),
    url(
        r'^int/fr/industries/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/industries'),
    ),
    url(
        r'^int/fr/industries/aerospace/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/industries/aerospace'),
    ),
    url(
        r'^int/fr/industries/advanced-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/fr/industries/advanced-manufacturing'),
    ),
    url(
        r'^int/fr/industries/food-and-drink-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/fr/industries/food-and-drink-manufacturing'),
    ),
    url(
        r'^int/fr/industries/food-and-drink-manufacturing/freefrom/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/fr/industries/food-and-drink-manufacturing/freefrom'),
    ),
    url(
        r'^int/fr/industries/retail/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/industries/retail'),
    ),
    url(
        r'^int/fr/industries/automotive/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/industries/automotive'),
    ),
    url(
        r'^int/fr/industries/automotive/motorsport/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/fr/industries/automotive/motorsport'),
    ),
    url(
        r'^int/fr/industries/automotive/research-and-development/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/fr/industries/automotive/research-and-development'),
    ),
    url(
        r'^int/fr/industries/automotive/supply-chain/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/fr/industries/automotive-supply-chain'),
    ),
    url(
        r'^int/fr/industries/energy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/industries/energy'),
    ),
    url(
        r'^int/fr/industries/energy/offshore-wind/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/fr/industries/energy/offshore-wind'),
    ),
    url(
        r'^int/fr/industries/energy/electrical-networks/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/fr/industries/energy/electrical-networks'),
    ),
    url(
        r'^int/fr/industries/energy/energy-from-waste/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/fr/industries/energy/energy-from-waste'),
    ),
    url(
        r'^int/fr/industries/energy/oil-and-gas/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/fr/industries/energy/oil-and-gas'),
    ),
    url(
        r'^int/fr/industries/energy/nuclear/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/industries/energy/nuclear'),
    ),
    url(
        r'^int/fr/industries/health-and-life/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/industries/health-and-life'),
    ),
    url(
        r'^int/fr/industries/health-and-life/medical-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/fr/industries/health-and-life/medical-technology'),
    ),
    url(
        r'^int/fr/industries/health-and-life/pharmaceutical-manufacturing/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/fr/industries/health-and-life/pharmaceutical-manufacturing'),
    ),
    url(
        r'^int/fr/industries/creative/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/fr/industries/creative-industries'),
    ),
    url(
        r'^int/fr/industries/creative/content-and-production/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/fr/industries/creative/content-and-production'),
    ),
    url(
        r'^int/fr/industries/creative/digital-media/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/fr/industries/creative/digital-media'),
    ),
    url(
        r'^int/fr/industries/financial-services/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/fr/industries/financial-services'),
    ),
    url(
        r'^int/fr/industries/financial-services/asset-management/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/fr/industries/financial-services/asset-management'),
    ),
    url(
        r'^int/fr/industries/financial-services/financial-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/fr/industries/financial-services/financial-technology'),
    ),
    url(
        r'^int/fr/industries/technology/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/industries/technology'),
    ),
    url(
        r'^int/fr/industries/technology/data-analytics/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/fr/industries/technology/data-analytics'),
    ),
    url(
        r'^int/fr/terms-and-conditions/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/terms-and-conditions'),
    ),
    url(
        r'^int/fr/privacy-policy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/privacy-policy'),
    ),
    url(
        r'^int/fr/feedback/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/feedback'),
    ),
    url(
        r'^int/fr/enquiries/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/enquiries/confirmation'),
    ),
    url(
        r'^int/fr/enquiries/error/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/enquiries/error'),
    ),
    url(
        r'^int/fr/contact/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/contact'),
    ),
    url(
        r'^int/fr/location-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/location-guide'),
    ),
    url(
        r'^int/fr/location-guide/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/fr/location-guide/confirmation'),
    ),

    # /int/ja
    url(
        r'^int/ja/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja'),
    ),
    url(
        r'^int/ja/404.html$',
        NotFoundView.as_view(),
    ),
    url(
        r'^int/ja/500.html$',
        ServerErrorView.as_view(),
    ),
    url(
        r'^int/ja/setup-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/setup-guide'),
    ),
    url(
        r'^int/ja/setup-guide/establish-address/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/setup-guide/establish-address'),
    ),
    url(
        r'^int/ja/setup-guide/apply-for-visa/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/setup-guide/apply-for-visa'),
    ),
    url(
        r'^int/ja/setup-guide/open-a-business-account/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/setup-guide/open-a-business-account'),
    ),
    url(
        r'^int/ja/setup-guide/how-to-setup/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/setup-guide/how-to-setup'),
    ),
    url(
        r'^int/ja/setup-guide/understand-tax/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/setup-guide/understand-tax'),
    ),
    url(
        r'^int/ja/setup-guide/access-talent/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/setup-guide/access-talent'),
    ),
    url(
        r'^int/ja/setup-guide/understand-legal/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/setup-guide/understand-legal'),  # noqa
    ),
    url(
        r'^int/ja/industries/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/industries'),
    ),
    url(
        r'^int/ja/industries/aerospace/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/industries/aerospace'),
    ),
    url(
        r'^int/ja/industries/advanced-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/advanced-manufacturing'),
    ),
    url(
        r'^int/ja/industries/food-and-drink-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/food-and-drink-manufacturing'),
    ),
    url(
        r'^int/ja/industries/food-and-drink-manufacturing/freefrom/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/ja/industries/food-and-drink-manufacturing/freefrom'),
    ),
    url(
        r'^int/ja/industries/retail/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/industries/retail'),
    ),
    url(
        r'^int/ja/industries/automotive/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/industries/automotive'),
    ),
    url(
        r'^int/ja/industries/automotive/motorsport/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/automotive/motorsport'),
    ),
    url(
        r'^int/ja/industries/automotive/research-and-development/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/ja/industries/automotive/research-and-development'),
    ),
    url(
        r'^int/ja/industries/automotive/supply-chain/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/automotive-supply-chain'),
    ),
    url(
        r'^int/ja/industries/energy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/industries/energy'),
    ),
    url(
        r'^int/ja/industries/energy/offshore-wind/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/energy/offshore-wind'),
    ),
    url(
        r'^int/ja/industries/energy/electrical-networks/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/energy/electrical-networks'),
    ),
    url(
        r'^int/ja/industries/energy/energy-from-waste/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/energy/energy-from-waste'),
    ),
    url(
        r'^int/ja/industries/energy/oil-and-gas/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/energy/oil-and-gas'),
    ),
    url(
        r'^int/ja/industries/energy/nuclear/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/industries/energy/nuclear'),
    ),
    url(
        r'^int/ja/industries/health-and-life/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/industries/health-and-life'),
    ),
    url(
        r'^int/ja/industries/health-and-life/medical-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/ja/industries/health-and-life/medical-technology'),
    ),
    url(
        r'^int/ja/industries/health-and-life/pharmaceutical-manufacturing/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/ja/industries/health-and-life/pharmaceutical-manufacturing'),
    ),
    url(
        r'^int/ja/industries/creative/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/creative-industries'
        ),
    ),
    url(
        r'^int/ja/industries/creative/content-and-production/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/creative/content-and-production'),
    ),
    url(
        r'^int/ja/industries/creative/digital-media/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/creative/digital-media'),
    ),
    url(
        r'^int/ja/industries/financial-services/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/financial-services'),
    ),
    url(
        r'^int/ja/industries/financial-services/asset-management/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/ja/industries/financial-services/asset-management'),
    ),
    url(
        r'^int/ja/industries/financial-services/financial-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/ja/industries/financial-services/financial-technology'),
    ),
    url(
        r'^int/ja/industries/technology/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/industries/technology'),
    ),
    url(
        r'^int/ja/industries/technology/data-analytics/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/technology/data-analytics'),
    ),
    url(
        r'^int/ja/terms-and-conditions/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/terms-and-conditions'),
    ),
    url(
        r'^int/ja/privacy-policy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/privacy-policy'),
    ),
    url(
        r'^int/ja/feedback/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/feedback'),
    ),
    url(
        r'^int/ja/enquiries/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/enquiries/confirmation'),
    ),
    url(
        r'^int/ja/enquiries/error/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/enquiries/error'),
    ),
    url(
        r'^int/ja/contact/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/contact'),
    ),
    url(
        r'^int/ja/location-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/location-guide'),
    ),
    url(
        r'^int/ja/location-guide/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/location-guide/confirmation'),
    ),

    # /int/pt
    url(
        r'^int/pt/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt'),
    ),
    url(
        r'^int/pt/404.html$',
        NotFoundView.as_view(),
    ),
    url(
        r'^int/pt/500.html$',
        ServerErrorView.as_view(),
    ),
    url(
        r'^int/pt/setup-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/setup-guide'),
    ),
    url(
        r'^int/pt/setup-guide/establish-address/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/setup-guide/establish-address'),
    ),
    url(
        r'^int/pt/setup-guide/apply-for-visa/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/setup-guide/apply-for-visa'),
    ),
    url(
        r'^int/pt/setup-guide/open-a-business-account/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/setup-guide/open-a-business-account'),
    ),
    url(
        r'^int/pt/setup-guide/how-to-setup/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/setup-guide/how-to-setup'),
    ),
    url(
        r'^int/pt/setup-guide/understand-tax/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/setup-guide/understand-tax'),
    ),
    url(
        r'^int/pt/setup-guide/access-talent/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/setup-guide/access-talent'),
    ),
    url(
        r'^int/pt/setup-guide/understand-legal/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/setup-guide/understand-legal'),  # noqa
    ),
    url(
        r'^int/pt/industries/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/industries'),
    ),
    url(
        r'^int/pt/industries/aerospace/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/industries/aerospace'),
    ),
    url(
        r'^int/pt/industries/advanced-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/advanced-manufacturing'),
    ),
    url(
        r'^int/pt/industries/food-and-drink-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/food-and-drink-manufacturing'),
    ),
    url(
        r'^int/pt/industries/food-and-drink-manufacturing/freefrom/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/pt/industries/food-and-drink-manufacturing/freefrom'),
    ),
    url(
        r'^int/pt/industries/retail/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/industries/retail'),
    ),
    url(
        r'^int/pt/industries/automotive/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/industries/automotive'),
    ),
    url(
        r'^int/pt/industries/automotive/motorsport/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/automotive/motorsport'),
    ),
    url(
        r'^int/pt/industries/automotive/research-and-development/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/pt/industries/automotive/research-and-development'),
    ),
    url(
        r'^int/pt/industries/automotive/supply-chain/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/automotive-supply-chain'),
    ),
    url(
        r'^int/pt/industries/energy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/industries/energy'),
    ),
    url(
        r'^int/pt/industries/energy/offshore-wind/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/energy/offshore-wind'),
    ),
    url(
        r'^int/pt/industries/energy/electrical-networks/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/energy/electrical-networks'),
    ),
    url(
        r'^int/pt/industries/energy/energy-from-waste/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/energy/energy-from-waste'),
    ),
    url(
        r'^int/pt/industries/energy/oil-and-gas/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/energy/oil-and-gas'),
    ),
    url(
        r'^int/pt/industries/energy/nuclear/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/industries/energy/nuclear'),
    ),
    url(
        r'^int/pt/industries/health-and-life/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/industries/health-and-life'),
    ),
    url(
        r'^int/pt/industries/health-and-life/medical-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/pt/industries/health-and-life/medical-technology'),
    ),
    url(
        r'^int/pt/industries/health-and-life/pharmaceutical-manufacturing/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/pt/industries/health-and-life/pharmaceutical-manufacturing'),
    ),
    url(
        r'^int/pt/industries/creative/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/creative-industries'
        ),
    ),
    url(
        r'^int/pt/industries/creative/content-and-production/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/creative/content-and-production'),
    ),
    url(
        r'^int/pt/industries/creative/digital-media/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/creative/digital-media'),
    ),
    url(
        r'^int/pt/industries/financial-services/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/financial-services'),
    ),
    url(
        r'^int/pt/industries/financial-services/asset-management/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/pt/industries/financial-services/asset-management'),
    ),
    url(
        r'^int/pt/industries/financial-services/financial-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/pt/industries/financial-services/financial-technology'),
    ),
    url(
        r'^int/pt/industries/technology/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/industries/technology'),
    ),
    url(
        r'^int/pt/industries/technology/data-analytics/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/technology/data-analytics'),
    ),
    url(
        r'^int/pt/terms-and-conditions/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/terms-and-conditions'),
    ),
    url(
        r'^int/pt/privacy-policy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/privacy-policy'),
    ),
    url(
        r'^int/pt/feedback/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/feedback'),
    ),
    url(
        r'^int/pt/enquiries/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/enquiries/confirmation'),
    ),
    url(
        r'^int/pt/enquiries/error/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/enquiries/error'),
    ),
    url(
        r'^int/pt/contact/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/contact'),
    ),
    url(
        r'^int/pt/location-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/location-guide'),
    ),
    url(
        r'^int/pt/location-guide/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/location-guide/confirmation'),
    ),

    # int/zh
    url(
        r'^int/zh/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans'),
    ),
    url(
        r'^int/zh/404.html$',
        NotFoundView.as_view(),
    ),
    url(
        r'^int/zh/500.html$',
        ServerErrorView.as_view(),
    ),
    url(
        r'^int/zh/setup-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/setup-guide'),
    ),
    url(
        r'^int/zh/setup-guide/establish-address/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/establish-address'),
    ),
    url(
        r'^int/zh/setup-guide/apply-for-visa/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/apply-for-visa'),
    ),
    url(
        r'^int/zh/setup-guide/open-a-business-account/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/open-a-business-account'),
    ),
    url(
        r'^int/zh/setup-guide/how-to-setup/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/how-to-setup'
        ),
    ),
    url(
        r'^int/zh/setup-guide/understand-tax/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/understand-tax'),
    ),
    url(
        r'^int/zh/setup-guide/access-talent/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/access-talent'
        ),
    ),
    url(
        r'^int/zh/setup-guide/understand-legal/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/understand-legal'),
    ),
    url(
        r'^int/zh/industries/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/industries'),
    ),
    url(
        r'^int/zh/industries/aerospace/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/industries/aerospace'),  # noqa
    ),
    url(
        r'^int/zh/industries/advanced-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/advanced-manufacturing'),
    ),
    url(
        r'^int/zh/industries/food-and-drink-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/food-and-drink-manufacturing'),
    ),
    url(
        r'^int/zh/industries/food-and-drink-manufacturing/freefrom/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/food-and-drink-manufacturing/freefrom'),
    ),
    url(
        r'^int/zh/industries/retail/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/industries/retail'),
    ),
    url(
        r'^int/zh/industries/automotive/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/industries/automotive'),
    ),
    url(
        r'^int/zh/industries/automotive/motorsport/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/automotive/motorsport'),
    ),
    url(
        r'^int/zh/industries/automotive/research-and-development/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/automotive/research-and-development'),
    ),
    url(
        r'^int/zh/industries/automotive/supply-chain/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/automotive-supply-chain'),
    ),
    url(
        r'^int/zh/industries/energy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/industries/energy'),
    ),
    url(
        r'^int/zh/industries/energy/offshore-wind/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/energy/offshore-wind'),
    ),
    url(
        r'^int/zh/industries/energy/energy-from-waste/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/energy/energy-from-waste'),
    ),
    url(
        r'^int/zh/industries/energy/nuclear/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/energy/nuclear'
        ),
    ),
    url(
        r'^int/zh/industries/energy/oil-and-gas/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/energy/oil-and-gas'),
    ),
    url(
        r'^int/zh/industries/energy/electrical-networks/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/energy/electrical-networks'),
    ),
    url(
        r'^int/zh/industries/health-and-life/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/health-and-life'),
    ),
    url(
        r'^int/zh/industries/health-and-life/medical-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/health-and-life/medical-technology'),
    ),
    url(
        r'^int/zh/industries/health-and-life/pharmaceutical-manufacturing/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/health-and-life/pharmaceutical-manufacturing',  # noqa
        ),
    ),
    url(
        r'^int/zh/industries/creative/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/creative-industries'),
    ),
    url(
        r'^int/zh/industries/creative/content-and-production/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/creative/content-and-production'),
    ),
    url(
        r'^int/zh/industries/creative/digital-media/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/creative/digital-media'),
    ),
    url(
        r'^int/zh/industries/financial-services/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/financial-services'),
    ),
    url(
        r'^int/zh/industries/financial-services/asset-management/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/financial-services/asset-management'),
    ),
    url(
        r'^int/zh/industries/financial-services/financial-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/financial-services/financial-technology'),
    ),
    url(
        r'^int/zh/industries/technology/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/industries/technology'),
    ),
    url(
        r'^int/zh/industries/technology/data-analytics/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/technology/data-analytics'),
    ),
    url(
        r'^int/zh/terms-and-conditions/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/terms-and-conditions'),
    ),
    url(
        r'^int/zh/privacy-policy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/privacy-policy'),
    ),
    url(
        r'^int/zh/feedback/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/feedback'
        ),
    ),
    url(
        r'^int/zh/enquiries/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/enquiries/confirmation'),
    ),
    url(
        r'^int/zh/enquiries/error/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/enquiries/error'),
    ),
    url(
        r'^int/zh/contact/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/contact'
        ),
    ),
    url(
        r'^int/zh/location-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/location-guide'),
    ),
    url(
        r'^int/zh/location-guide/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/location-guide/confirmation'),
    ),

    # cn
    url(
        r'^cn/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans'),
    ),
    url(
        r'^cn/404.html$',
        NotFoundView.as_view(),
    ),
    url(
        r'^cn/500.html$',
        ServerErrorView.as_view(),
    ),
    url(
        r'^cn/setup-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/setup-guide'),
    ),
    url(
        r'^cn/setup-guide/establish-address/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/establish-address'),
    ),
    url(
        r'^cn/setup-guide/apply-for-visa/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/apply-for-visa'),
    ),
    url(
        r'^cn/setup-guide/open-a-business-account/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/open-a-business-account'),
    ),
    url(
        r'^cn/setup-guide/how-to-setup/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/how-to-setup'
        ),
    ),
    url(
        r'^cn/setup-guide/understand-tax/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/understand-tax'),
    ),
    url(
        r'^cn/setup-guide/access-talent/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/access-talent'
        ),
    ),
    url(
        r'^cn/setup-guide/understand-legal/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/understand-legal'),
    ),
    url(
        r'^cn/industries/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/industries'),
    ),
    url(
        r'^cn/industries/aerospace/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/industries/aerospace'),
    ),
    url(
        r'^cn/industries/advanced-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/advanced-manufacturing'),
    ),
    url(
        r'^cn/industries/food-and-drink-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/food-and-drink-manufacturing'),
    ),
    url(
        r'^cn/industries/food-and-drink-manufacturing/freefrom/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/food-and-drink-manufacturing/freefrom'),
    ),
    url(
        r'^cn/industries/retail/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/industries/retail'),
    ),
    url(
        r'^cn/industries/automotive/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/industries/automotive'),
    ),
    url(
        r'^cn/industries/automotive/motorsport/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/automotive/motorsport'),
    ),
    url(
        r'^cn/industries/automotive/research-and-development/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/automotive/research-and-development'),
    ),
    url(
        r'^cn/industries/automotive/supply-chain/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/automotive-supply-chain'),
    ),
    url(
        r'^cn/industries/energy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/industries/energy'),
    ),
    url(
        r'^cn/industries/energy/offshore-wind/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/energy/offshore-wind'),
    ),
    url(
        r'^cn/industries/energy/energy-from-waste/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/energy/energy-from-waste'),
    ),
    url(
        r'^cn/industries/energy/nuclear/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/energy/nuclear'
        ),
    ),
    url(
        r'^cn/industries/energy/oil-and-gas/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/energy/oil-and-gas'),
    ),
    url(
        r'^cn/industries/energy/electrical-networks/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/energy/electrical-networks'),
    ),
    url(
        r'^cn/industries/health-and-life/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/health-and-life'),
    ),
    url(
        r'^cn/industries/health-and-life/medical-technology/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/health-and-life/medical-technology'),
    ),
    url(
        r'^cn/industries/health-and-life/pharmaceutical-manufacturing/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/health-and-life/pharmaceutical-manufacturing',  # noqa
        ),
    ),
    url(
        r'^cn/industries/creative/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/creative-industries'
        ),
    ),
    url(
        r'^cn/industries/creative/content-and-production/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/creative/content-and-production'),
    ),
    url(
        r'^cn/industries/creative/digital-media/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/creative/digital-media'),
    ),
    url(
        r'^cn/industries/financial-services/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/financial-services'),
    ),
    url(
        r'^cn/industries/financial-services/asset-management/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/financial-services/asset-management'),
    ),
    url(
        r'^cn/industries/financial-services/financial-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/financial-services/financial-technology'),
    ),
    url(
        r'^cn/industries/technology/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/industries/technology'),
    ),
    url(
        r'^cn/industries/technology/data-analytics/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/technology/data-analytics'),
    ),
    url(
        r'^cn/terms-and-conditions/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/terms-and-conditions'),
    ),
    url(
        r'^cn/privacy-policy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/privacy-policy'),
    ),
    url(
        r'^cn/feedback/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/feedback'
        ),
    ),
    url(
        r'^cn/enquiries/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/enquiries/confirmation'),
    ),
    url(
        r'^cn/enquiries/error/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/enquiries/error'),
    ),
    url(
        r'^cn/contact/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/contact'
        ),
    ),
    url(
        r'^cn/location-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/location-guide'),
    ),
    url(
        r'^cn/location-guide/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/location-guide/confirmation'),
    ),

    # zh-cn
    url(
        r'^zh-cn/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans'),
    ),
    url(
        r'^zh-cn/404.html$',
        NotFoundView.as_view(),
    ),
    url(
        r'^zh-cn/500.html$',
        ServerErrorView.as_view(),
    ),
    url(
        r'^zh-cn/setup-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/setup-guide'),
    ),
    url(
        r'^zh-cn/setup-guide/establish-address/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/establish-address'),
    ),
    url(
        r'^zh-cn/setup-guide/apply-for-visa/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/apply-for-visa'),
    ),
    url(
        r'^zh-cn/setup-guide/open-a-business-account/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/open-a-business-account'),
    ),
    url(
        r'^zh-cn/setup-guide/how-to-setup/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/how-to-setup'
        ),
    ),
    url(
        r'^zh-cn/setup-guide/understand-tax/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/understand-tax'),
    ),
    url(
        r'^zh-cn/setup-guide/access-talent/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/access-talent'
        ),
    ),
    url(
        r'^zh-cn/setup-guide/understand-legal/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/setup-guide/understand-legal'),
    ),
    url(
        r'^zh-cn/industries/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/industries'),
    ),
    url(
        r'^zh-cn/industries/aerospace/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/industries/aerospace'),
    ),
    url(
        r'^zh-cn/industries/advanced-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/advanced-manufacturing'),
    ),
    url(
        r'^zh-cn/industries/food-and-drink-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/food-and-drink-manufacturing'),
    ),
    url(
        r'^zh-cn/industries/food-and-drink-manufacturing/freefrom/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/food-and-drink-manufacturing/freefrom'),
    ),
    url(
        r'^zh-cn/industries/retail/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/industries/retail'),
    ),
    url(
        r'^zh-cn/industries/automotive/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/industries/automotive'),
    ),
    url(
        r'^zh-cn/industries/automotive/motorsport/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/automotive/motorsport'),
    ),
    url(
        r'^zh-cn/industries/automotive/research-and-development/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/automotive/research-and-development'),
    ),
    url(
        r'^zh-cn/industries/automotive/supply-chain/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/automotive-supply-chain'),
    ),
    url(
        r'^zh-cn/industries/energy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/industries/energy'),
    ),
    url(
        r'^zh-cn/industries/energy/offshore-wind/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/energy/offshore-wind'),
    ),
    url(
        r'^zh-cn/industries/energy/energy-from-waste/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/energy/energy-from-waste'),
    ),
    url(
        r'^zh-cn/industries/energy/nuclear/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/energy/nuclear'
        ),
    ),
    url(
        r'^zh-cn/industries/energy/oil-and-gas/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/energy/oil-and-gas'),
    ),
    url(
        r'^zh-cn/industries/energy/electrical-networks/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/energy/electrical-networks'),
    ),
    url(
        r'^zh-cn/industries/health-and-life/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/health-and-life'),
    ),
    url(
        r'^zh-cn/industries/health-and-life/medical-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/health-and-life/medical-technology'),
    ),
    url(
        r'^zh-cn/industries/health-and-life/pharmaceutical-manufacturing/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/health-and-life/pharmaceutical-manufacturing',  # noqa
        ),
    ),
    url(
        r'^zh-cn/industries/creative/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/creative-industries'
        ),
    ),
    url(
        r'^zh-cn/industries/creative/content-and-production/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/creative/content-and-production'),
    ),
    url(
        r'^zh-cn/industries/creative/digital-media/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/creative/digital-media'),
    ),
    url(
        r'^zh-cn/industries/financial-services/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/financial-services'),
    ),
    url(
        r'^zh-cn/industries/financial-services/asset-management/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/financial-services/asset-management'),
    ),
    url(
        r'^zh-cn/industries/financial-services/financial-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/financial-services/financial-technology'),
    ),
    url(
        r'^zh-cn/industries/technology/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/industries/technology'),
    ),
    url(
        r'^zh-cn/industries/technology/data-analytics/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/industries/technology/data-analytics'),
    ),
    url(
        r'^zh-cn/terms-and-conditions/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/terms-and-conditions'),
    ),
    url(
        r'^zh-cn/privacy-policy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/privacy-policy'),
    ),
    url(
        r'^zh-cn/feedback/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/feedback'
        ),
    ),
    url(
        r'^zh-cn/enquiries/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/enquiries/confirmation'),
    ),
    url(
        r'^zh-cn/enquiries/error/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/enquiries/error'),
    ),
    url(
        r'^zh-cn/contact/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/contact'
        ),
    ),
    url(
        r'^zh-cn/location-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/zh-hans/location-guide'),
    ),
    url(
        r'^zh-cn/location-guide/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/zh-hans/location-guide/confirmation'),
    ),

    # br/
    url(
        r'^br/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt'),
    ),
    url(
        r'^br/404.html$',
        NotFoundView.as_view(),
    ),
    url(
        r'^br/500.html$',
        ServerErrorView.as_view(),
    ),
    url(
        r'^br/setup-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/setup-guide'),
    ),
    url(
        r'^br/setup-guide/establish-address/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/setup-guide/establish-address'),
    ),
    url(
        r'^br/setup-guide/apply-for-visa/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/setup-guide/apply-for-visa'),
    ),
    url(
        r'^br/setup-guide/open-a-business-account/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/setup-guide/open-a-business-account'),
    ),
    url(
        r'^br/setup-guide/how-to-setup/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/setup-guide/how-to-setup'),
    ),
    url(
        r'^br/setup-guide/understand-tax/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/setup-guide/understand-tax'),
    ),
    url(
        r'^br/setup-guide/access-talent/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/setup-guide/access-talent'),
    ),
    url(
        r'^br/setup-guide/understand-legal/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/setup-guide/understand-legal'),  # noqa
    ),
    url(
        r'^br/industries/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/industries'),
    ),
    url(
        r'^br/industries/aerospace/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/industries/aerospace'),
    ),
    url(
        r'^br/industries/advanced-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/advanced-manufacturing'),
    ),
    url(
        r'^br/industries/food-and-drink-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/food-and-drink-manufacturing'),
    ),
    url(
        r'^br/industries/food-and-drink-manufacturing/freefrom/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/pt/industries/food-and-drink-manufacturing/freefrom'),
    ),
    url(
        r'^br/industries/retail/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/industries/retail'),
    ),
    url(
        r'^br/industries/automotive/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/industries/automotive'),
    ),
    url(
        r'^br/industries/automotive/motorsport/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/automotive/motorsport'),
    ),
    url(
        r'^br/industries/automotive/research-and-development/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/automotive/research-and-development'),
    ),
    url(
        r'^br/industries/automotive/supply-chain/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/automotive-supply-chain'),
    ),
    url(
        r'^br/industries/energy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/industries/energy'),
    ),
    url(
        r'^br/industries/energy/offshore-wind/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/energy/offshore-wind'),
    ),
    url(
        r'^br/industries/energy/electrical-networks/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/energy/electrical-networks'),
    ),
    url(
        r'^br/industries/energy/energy-from-waste/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/energy/energy-from-waste'),
    ),
    url(
        r'^br/industries/energy/oil-and-gas/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/energy/oil-and-gas'),
    ),
    url(
        r'^br/industries/energy/nuclear/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/industries/energy/nuclear'),
    ),
    url(
        r'^br/industries/health-and-life/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/industries/health-and-life'),
    ),
    url(
        r'^br/industries/health-and-life/medical-technology/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/health-and-life/medical-technology'),
    ),
    url(
        r'^br/industries/health-and-life/pharmaceutical-manufacturing/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/pt/industries/health-and-life/pharmaceutical-manufacturing'),
    ),
    url(
        r'^br/industries/creative/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/creative-industries'
        ),
    ),
    url(
        r'^br/industries/creative/content-and-production/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/creative/content-and-production'),
    ),
    url(
        r'^br/industries/creative/digital-media/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/creative/digital-media'),
    ),
    url(
        r'^br/industries/financial-services/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/financial-services'),
    ),
    url(
        r'^br/industries/financial-services/asset-management/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/financial-services/asset-management'),
    ),
    url(
        r'^br/industries/financial-services/financial-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/pt/industries/financial-services/financial-technology'),
    ),
    url(
        r'^br/industries/technology/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/industries/technology'),
    ),
    url(
        r'^br/industries/technology/data-analytics/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/pt/industries/technology/data-analytics'),
    ),
    url(
        r'^br/terms-and-conditions/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/terms-and-conditions'),
    ),
    url(
        r'^br/privacy-policy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/privacy-policy'),
    ),
    url(
        r'^br/feedback/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/feedback'),
    ),
    url(
        r'^br/enquiries/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/enquiries/confirmation'),
    ),
    url(
        r'^br/enquiries/error/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/enquiries/error'),
    ),
    url(
        r'^br/contact/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/contact'),
    ),
    url(
        r'^br/location-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/location-guide'),
    ),
    url(
        r'^br/location-guide/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/pt/location-guide/confirmation'),
    ),

    # jp/ -> ja/
    url(
        r'^jp/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja'),
    ),
    url(
        r'^jp/404.html$',
        NotFoundView.as_view(),
    ),
    url(
        r'^jp/500.html$',
        ServerErrorView.as_view(),
    ),
    url(
        r'^jp/setup-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/setup-guide'),
    ),
    url(
        r'^jp/setup-guide/establish-address/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/setup-guide/establish-address'),
    ),
    url(
        r'^jp/setup-guide/apply-for-visa/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/setup-guide/apply-for-visa'),
    ),
    url(
        r'^jp/setup-guide/open-a-business-account/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/setup-guide/open-a-business-account'),
    ),
    url(
        r'^jp/setup-guide/how-to-setup/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/setup-guide/how-to-setup'),
    ),
    url(
        r'^jp/setup-guide/understand-tax/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/setup-guide/understand-tax'),
    ),
    url(
        r'^jp/setup-guide/access-talent/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/setup-guide/access-talent'),
    ),
    url(
        r'^jp/setup-guide/understand-legal/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/setup-guide/understand-legal'),  # noqa
    ),
    url(
        r'^jp/industries/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/industries'),
    ),
    url(
        r'^jp/industries/aerospace/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/industries/aerospace'),
    ),
    url(
        r'^jp/industries/advanced-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/advanced-manufacturing'),
    ),
    url(
        r'^jp/industries/food-and-drink-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/food-and-drink-manufacturing'),
    ),
    url(
        r'^jp/industries/food-and-drink-manufacturing/freefrom/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/ja/industries/food-and-drink-manufacturing/freefrom'),
    ),
    url(
        r'^jp/industries/retail/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/industries/retail'),
    ),
    url(
        r'^jp/industries/automotive/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/industries/automotive'),
    ),
    url(
        r'^jp/industries/automotive/motorsport/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/automotive/motorsport'),
    ),
    url(
        r'^jp/industries/automotive/research-and-development/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/automotive/research-and-development'),
    ),
    url(
        r'^jp/industries/automotive/supply-chain/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/automotive-supply-chain'),
    ),
    url(
        r'^jp/industries/energy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/industries/energy'),
    ),
    url(
        r'^jp/industries/energy/offshore-wind/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/energy/offshore-wind'),
    ),
    url(
        r'^jp/industries/energy/electrical-networks/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/energy/electrical-networks'),
    ),
    url(
        r'^jp/industries/energy/energy-from-waste/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/energy/energy-from-waste'),
    ),
    url(
        r'^jp/industries/energy/oil-and-gas/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/energy/oil-and-gas'),
    ),
    url(
        r'^jp/industries/energy/nuclear/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/industries/energy/nuclear'),
    ),
    url(
        r'^jp/industries/health-and-life/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/industries/health-and-life'),
    ),
    url(
        r'^jp/industries/health-and-life/medical-technology/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/health-and-life/medical-technology'),
    ),
    url(
        r'^jp/industries/health-and-life/pharmaceutical-manufacturing/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/ja/industries/health-and-life/pharmaceutical-manufacturing'),
    ),
    url(
        r'^jp/industries/creative/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/creative-industries'
        ),
    ),
    url(
        r'^jp/industries/creative/content-and-production/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/creative/content-and-production'),
    ),
    url(
        r'^jp/industries/creative/digital-media/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/creative/digital-media'),
    ),
    url(
        r'^jp/industries/financial-services/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/financial-services'),
    ),
    url(
        r'^jp/industries/financial-services/asset-management/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/financial-services/asset-management'),
    ),
    url(
        r'^jp/industries/financial-services/financial-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/ja/industries/financial-services/financial-technology'),
    ),
    url(
        r'^jp/industries/technology/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/industries/technology'),
    ),
    url(
        r'^jp/industries/technology/data-analytics/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/ja/industries/technology/data-analytics'),
    ),
    url(
        r'^jp/terms-and-conditions/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/terms-and-conditions'),
    ),
    url(
        r'^jp/privacy-policy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/privacy-policy'),
    ),
    url(
        r'^jp/feedback/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/feedback'),
    ),
    url(
        r'^jp/enquiries/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/enquiries/confirmation'),
    ),
    url(
        r'^jp/enquiries/error/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/enquiries/error'),
    ),
    url(
        r'^jp/contact/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/contact'),
    ),
    url(
        r'^jp/location-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/location-guide'),
    ),
    url(
        r'^jp/location-guide/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/ja/location-guide/confirmation'),
    ),

    # /in/ -> /
    url(
        r'^in/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/'),
    ),
    url(
        r'^in/404.html$',
        NotFoundView.as_view(),
    ),
    url(
        r'^in/500.html$',
        ServerErrorView.as_view(),
    ),
    url(
        r'^in/setup-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide'),
    ),
    url(
        r'^in/setup-guide/establish-address/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide/establish-address'),
    ),
    url(
        r'^in/setup-guide/apply-for-visa/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide/apply-for-visa'),  # noqa
    ),
    url(
        r'^in/setup-guide/open-a-business-account/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/setup-guide/open-a-business-account'),
    ),
    url(
        r'^in/setup-guide/how-to-setup/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide/how-to-setup'),
    ),
    url(
        r'^in/setup-guide/understand-tax/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide/understand-tax'),
    ),
    url(
        r'^in/setup-guide/access-talent/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide/access-talent'),
    ),
    url(
        r'^in/setup-guide/understand-legal/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide/understand-legal'),
    ),
    url(
        r'^in/industries/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries'),
    ),
    url(
        r'^in/industries/aerospace/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/aerospace'),
    ),
    url(
        r'^in/industries/advanced-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/advanced-manufacturing'),
    ),
    url(
        r'^in/industries/food-and-drink-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/food-and-drink-manufacturing'),
    ),
    url(
        r'^in/industries/food-and-drink-manufacturing/freefrom/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/industries/food-and-drink-manufacturing/freefrom'),
    ),
    url(
        r'^in/industries/retail/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/retail'),
    ),
    url(
        r'^in/industries/automotive/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/automotive'),
    ),
    url(
        r'^in/industries/automotive/motorsport/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/automotive/motorsport'),
    ),
    url(
        r'^in/industries/automotive/research-and-development/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/automotive/research-and-development'),
    ),
    url(
        r'^in/industries/automotive/supply-chain/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/automotive-supply-chain'),
    ),
    url(
        r'^in/industries/energy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/energy'),
    ),
    url(
        r'^in/industries/energy/offshore-wind/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/energy/offshore-wind'),  # noqa
    ),
    url(
        r'^in/industries/energy/electrical-networks/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/energy/electrical-networks'),
    ),
    url(
        r'^in/industries/energy/energy-from-waste/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/energy/energy-from-waste'),
    ),
    url(
        r'^in/industries/energy/oil-and-gas/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/energy/oil-and-gas'),
    ),
    url(
        r'^in/industries/energy/nuclear/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/energy/nuclear'),
    ),
    url(
        r'^in/industries/health-and-life/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/health-and-life'),
    ),
    url(
        r'^in/industries/health-and-life/medical-technology/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/health-and-life/medical-technology'),
    ),
    url(
        r'^in/industries/health-and-life/pharmaceutical-manufacturing/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/industries/health-and-life/pharmaceutical-manufacturing'),
    ),
    url(
        r'^in/industries/creative/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/creative-industries'
        ),
    ),
    url(
        r'^in/industries/creative/content-and-production/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/creative/content-and-production'),
    ),
    url(
        r'^in/industries/creative/digital-media/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/creative/digital-media'),
    ),
    url(
        r'^in/industries/financial-services/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/financial-services'),
    ),
    url(
        r'^in/industries/financial-services/asset-management/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/financial-services/asset-management'),
    ),
    url(
        r'^in/industries/financial-services/financial-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/industries/financial-services/financial-technology'),
    ),
    url(
        r'^in/industries/technology/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/technology'),
    ),
    url(
        r'^in/industries/technology/data-analytics/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/technology/data-analytics'),
    ),
    url(
        r'^in/terms-and-conditions/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/terms-and-conditions'),
    ),
    url(
        r'^in/privacy-policy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/privacy-policy'),
    ),
    url(
        r'^in/feedback/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/feedback'),
    ),
    url(
        r'^in/enquiries/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/enquiries/confirmation'),
    ),
    url(
        r'^in/enquiries/error/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/enquiries/error'),
    ),
    url(
        r'^in/contact/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/contact'),
    ),
    url(
        r'^in/location-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/location-guide'),
    ),
    url(
        r'^in/location-guide/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/location-guide/confirmation'),
    ),

    # us
    url(
        r'^us/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/'),
    ),
    url(
        r'^us/404.html$',
        NotFoundView.as_view(),
    ),
    url(
        r'^us/500.html$',
        ServerErrorView.as_view(),
    ),
    url(
        r'^us/setup-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide'),
    ),
    url(
        r'^us/setup-guide/establish-address/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide/establish-address'),
    ),
    url(
        r'^us/setup-guide/apply-for-visa/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide/apply-for-visa'),
    ),
    url(
        r'^us/setup-guide/open-a-business-account/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/setup-guide/open-a-business-account'),
    ),
    url(
        r'^us/setup-guide/how-to-setup/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide/how-to-setup'),
    ),
    url(
        r'^us/setup-guide/understand-tax/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide/understand-tax'),
    ),
    url(
        r'^us/setup-guide/access-talent/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide/access-talent'),
    ),
    url(
        r'^us/setup-guide/understand-legal/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide/understand-legal'),
    ),
    url(
        r'^us/industries/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries'),
    ),
    url(
        r'^us/industries/aerospace/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/aerospace'),
    ),
    url(
        r'^us/industries/advanced-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/advanced-manufacturing'),
    ),
    url(
        r'^us/industries/food-and-drink-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/food-and-drink-manufacturing'),
    ),
    url(
        r'^us/industries/food-and-drink-manufacturing/freefrom/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/industries/food-and-drink-manufacturing/freefrom'),
    ),
    url(
        r'^us/industries/retail/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/retail'),
    ),
    url(
        r'^us/industries/automotive/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/automotive'),
    ),
    url(
        r'^us/industries/automotive/motorsport/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/automotive/motorsport'),
    ),
    url(
        r'^us/industries/automotive/research-and-development/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/automotive/research-and-development'),
    ),
    url(
        r'^us/industries/automotive/supply-chain/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/automotive-supply-chain'),
    ),
    url(
        r'^us/industries/energy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/energy'),
    ),
    url(
        r'^us/industries/energy/offshore-wind/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/energy/offshore-wind'),  # noqa
    ),
    url(
        r'^us/industries/energy/electrical-networks/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/energy/electrical-networks'),
    ),
    url(
        r'^us/industries/energy/energy-from-waste/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/energy/energy-from-waste'),
    ),
    url(
        r'^us/industries/energy/oil-and-gas/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/energy/oil-and-gas'),
    ),
    url(
        r'^us/industries/energy/nuclear/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/energy/nuclear'),
    ),
    url(
        r'^us/industries/health-and-life/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/health-and-life'),
    ),
    url(
        r'^us/industries/health-and-life/medical-technology/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/health-and-life/medical-technology'),
    ),
    url(
        r'^us/industries/health-and-life/pharmaceutical-manufacturing/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/industries/health-and-life/pharmaceutical-manufacturing'),
    ),
    url(
        r'^us/industries/creative/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/creative-industries'
        ),
    ),
    url(
        r'^us/industries/creative/content-and-production/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/creative/content-and-production'),
    ),
    url(
        r'^us/industries/creative/digital-media/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/creative/digital-media'),
    ),
    url(
        r'^us/industries/financial-services/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/financial-services'),
    ),
    url(
        r'^us/industries/financial-services/asset-management/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/financial-services/asset-management'),
    ),
    url(
        r'^us/industries/financial-services/financial-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/industries/financial-services/financial-technology'),
    ),
    url(
        r'^us/industries/technology/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/technology'),
    ),
    url(
        r'^us/industries/technology/data-analytics/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/technology/data-analytics'),
    ),
    url(
        r'^us/terms-and-conditions/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/terms-and-conditions'),
    ),
    url(
        r'^us/privacy-policy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/privacy-policy'),
    ),
    url(
        r'^us/feedback/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/feedback'),
    ),
    url(
        r'^us/enquiries/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/enquiries/confirmation'),
    ),
    url(
        r'^us/enquiries/error/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/enquiries/error'),
    ),
    url(
        r'^us/contact/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/contact'),
    ),
    url(
        r'^us/location-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/location-guide'),
    ),
    url(
        r'^us/location-guide/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/location-guide/confirmation'),
    ),

    # int
    url(
        r'^int/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/'),
    ),
    url(
        r'^int/404.html$',
        NotFoundView.as_view(),
    ),
    url(
        r'^int/500.html$',
        ServerErrorView.as_view(),
    ),
    url(
        r'^int/setup-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide'),
    ),
    url(
        r'^int/setup-guide/establish-address/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide/establish-address'),
    ),
    url(
        r'^int/setup-guide/apply-for-visa/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide/apply-for-visa'),
    ),
    url(
        r'^int/setup-guide/open-a-business-account/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/setup-guide/open-a-business-account'),
    ),
    url(
        r'^int/setup-guide/how-to-setup/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide/how-to-setup'),
    ),
    url(
        r'^int/setup-guide/understand-tax/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide/understand-tax'),
    ),
    url(
        r'^int/setup-guide/access-talent/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide/access-talent'),
    ),
    url(
        r'^int/setup-guide/understand-legal/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/setup-guide/understand-legal'),
    ),
    url(
        r'^int/industries/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries'),
    ),
    url(
        r'^int/industries/aerospace/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/aerospace'),
    ),
    url(
        r'^int/industries/advanced-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/advanced-manufacturing'),
    ),
    url(
        r'^int/industries/food-and-drink-manufacturing/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/food-and-drink-manufacturing'),
    ),
    url(
        r'^int/industries/food-and-drink-manufacturing/freefrom/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/industries/food-and-drink-manufacturing/freefrom'),
    ),
    url(
        r'^int/industries/retail/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/retail'),
    ),
    url(
        r'^int/industries/automotive/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/automotive'),
    ),
    url(
        r'^int/industries/automotive/motorsport/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/automotive/motorsport'),
    ),
    url(
        r'^int/industries/automotive/research-and-development/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/industries/automotive/research-and-development'),
    ),
    url(
        r'^int/industries/automotive/supply-chain/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/automotive-supply-chain'),
    ),
    url(
        r'^int/industries/energy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/energy'),
    ),
    url(
        r'^int/industries/energy/offshore-wind/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/energy/offshore-wind'),  # noqa
    ),
    url(
        r'^int/industries/energy/electrical-networks/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/energy/electrical-networks'),
    ),
    url(
        r'^int/industries/energy/energy-from-waste/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/energy/energy-from-waste'),
    ),
    url(
        r'^int/industries/energy/oil-and-gas/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/energy/oil-and-gas'),
    ),
    url(
        r'^int/industries/energy/nuclear/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/energy/nuclear'),
    ),
    url(
        r'^int/industries/health-and-life/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/health-and-life'),
    ),
    url(
        r'^int/industries/health-and-life/medical-technology/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/health-and-life/medical-technology'),
    ),
    url(
        r'^int/industries/health-and-life/pharmaceutical-manufacturing/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/industries/health-and-life/pharmaceutical-manufacturing'),
    ),
    url(
        r'^int/industries/creative/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/creative-industries'
        ),
    ),
    url(
        r'^int/industries/creative/content-and-production/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/creative/content-and-production'),
    ),
    url(
        r'^int/industries/creative/digital-media/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/creative/digital-media'),
    ),
    url(
        r'^int/industries/financial-services/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/financial-services'),
    ),
    url(
        r'^int/industries/financial-services/asset-management/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/industries/financial-services/asset-management'),
    ),
    url(
        r'^int/industries/financial-services/financial-technology/($|index\.html$)',  # noqa
        QuerystringRedirectView.as_view(
            url='/industries/financial-services/financial-technology'),
    ),
    url(
        r'^int/industries/technology/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/industries/technology'),
    ),
    url(
        r'^int/industries/technology/data-analytics/($|index\.html$)',
        QuerystringRedirectView.as_view(
            url='/industries/technology/data-analytics'),
    ),
    url(
        r'^int/terms-and-conditions/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/terms-and-conditions'),
    ),
    url(
        r'^int/privacy-policy/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/privacy-policy'),
    ),
    url(
        r'^int/feedback/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/feedback'),
    ),
    url(
        r'^int/enquiries/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/enquiries/confirmation'),
    ),
    url(
        r'^int/enquiries/error/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/enquiries/error'),
    ),
    url(
        r'^int/contact/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/contact'),
    ),
    url(
        r'^int/location-guide/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/location-guide'),
    ),
    url(
        r'^int/location-guide/confirmation/($|index\.html$)',
        QuerystringRedirectView.as_view(url='/location-guide/confirmation'),
    ),

    # Fair processing notices that now sit on great/exred
    url(
        r'^privacy-and-cookies/fair-processing-notice-zendesk/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-zendesk/', # noqa
            ),
    ),
    url(
        r'^ar/privacy-and-cookies/fair-processing-notice-zendesk/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-zendesk/', # noqa
            ),
    ),
    url(
        r'^fr/privacy-and-cookies/fair-processing-notice-zendesk/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-zendesk/', # noqa
            ),
    ),
    url(
        r'^de/privacy-and-cookies/fair-processing-notice-zendesk/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-zendesk/', # noqa
            ),
    ),
    url(
        r'^es/privacy-and-cookies/fair-processing-notice-zendesk/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-zendesk/', # noqa
            ),
    ),
    url(
        r'^pt/privacy-and-cookies/fair-processing-notice-zendesk/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-zendesk/', # noqa
            ),
    ),
    url(
        r'^ja/privacy-and-cookies/fair-processing-notice-zendesk/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-zendesk/', # noqa
            ),
    ),
    url(
        r'^zh-hans/privacy-and-cookies/fair-processing-notice-zendesk/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-zendesk/', # noqa
            ),
    ),

    url(
        r'^privacy-and-cookies/fair-processing-notice-for-smart-survey/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-for-smart-survey/', # noqa
        ),
    ),
    url(
        r'^ar/privacy-and-cookies/fair-processing-notice-for-smart-survey/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-for-smart-survey/', # noqa
        ),
    ),
    url(
        r'^fr/privacy-and-cookies/fair-processing-notice-for-smart-survey/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-for-smart-survey/', # noqa
        ),
    ),
    url(
        r'^de/privacy-and-cookies/fair-processing-notice-for-smart-survey/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-for-smart-survey/', # noqa
        ),
    ),
    url(
        r'^es/privacy-and-cookies/fair-processing-notice-for-smart-survey/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-for-smart-survey/', # noqa
        ),
    ),
    url(
        r'^pt/privacy-and-cookies/fair-processing-notice-for-smart-survey/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-for-smart-survey/', # noqa
        ),
    ),
    url(
        r'^ja/privacy-and-cookies/fair-processing-notice-for-smart-survey/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-for-smart-survey/', # noqa
        ),
    ),
    url(
        r'^zh-hans/privacy-and-cookies/fair-processing-notice-for-smart-survey/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-for-smart-survey/', # noqa
        ),
    ),

    url(
        r'^privacy-and-cookies/fair-processing-notice-trade-profiles-find-a-buyer-fab-find-a-supplier-fas/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-trade-profiles-find-a-buyer-fab-find-a-supplier-fas/', # noqa
        ),
    ),
    url(
        r'^ar/privacy-and-cookies/fair-processing-notice-trade-profiles-find-a-buyer-fab-find-a-supplier-fas/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-trade-profiles-find-a-buyer-fab-find-a-supplier-fas/', # noqa
        ),
    ),
    url(
        r'^fr/privacy-and-cookies/fair-processing-notice-trade-profiles-find-a-buyer-fab-find-a-supplier-fas/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-trade-profiles-find-a-buyer-fab-find-a-supplier-fas/', # noqa
        ),
    ),
    url(
        r'^de/privacy-and-cookies/fair-processing-notice-trade-profiles-find-a-buyer-fab-find-a-supplier-fas/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-trade-profiles-find-a-buyer-fab-find-a-supplier-fas/', # noqa
        ),
    ),
    url(
        r'^es/privacy-and-cookies/fair-processing-notice-trade-profiles-find-a-buyer-fab-find-a-supplier-fas/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-trade-profiles-find-a-buyer-fab-find-a-supplier-fas/', # noqa
        ),
    ),
    url(
        r'^pt/privacy-and-cookies/fair-processing-notice-trade-profiles-find-a-buyer-fab-find-a-supplier-fas/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-trade-profiles-find-a-buyer-fab-find-a-supplier-fas/', # noqa
        ),
    ),
    url(
        r'^ja/privacy-and-cookies/fair-processing-notice-trade-profiles-find-a-buyer-fab-find-a-supplier-fas/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-trade-profiles-find-a-buyer-fab-find-a-supplier-fas/', # noqa
        ),
    ),
    url(
        r'^zh-hans/privacy-and-cookies/fair-processing-notice-trade-profiles-find-a-buyer-fab-find-a-supplier-fas/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-trade-profiles-find-a-buyer-fab-find-a-supplier-fas/', # noqa
        ),
    ),

    url(
        r'^privacy-and-cookies/fair-processing-notice-export-opportunities/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-export-opportunities/', # noqa
        ),
    ),
    url(
        r'^ar/privacy-and-cookies/fair-processing-notice-export-opportunities/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-export-opportunities/', # noqa
        ),
    ),
    url(
        r'^fr/privacy-and-cookies/fair-processing-notice-export-opportunities/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-export-opportunities/', # noqa
        ),
    ),
    url(
        r'^de/privacy-and-cookies/fair-processing-notice-export-opportunities/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-export-opportunities/', # noqa
        ),
    ),
    url(
        r'^es/privacy-and-cookies/fair-processing-notice-export-opportunities/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-export-opportunities/', # noqa
        ),
    ),
    url(
        r'^pt/privacy-and-cookies/fair-processing-notice-export-opportunities/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-export-opportunities/', # noqa
        ),
    ),
    url(
        r'^ja/privacy-and-cookies/fair-processing-notice-export-opportunities/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-export-opportunities/', # noqa
        ),
    ),
    url(
        r'^zh-hans/privacy-and-cookies/fair-processing-notice-export-opportunities/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-export-opportunities/', # noqa
        ),
    ),

    url(
        r'^privacy-and-cookies/fair-processing-notice-selling-online-overseas/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-selling-online-overseas/', # noqa
        ),
    ),
    url(
        r'^ar/privacy-and-cookies/fair-processing-notice-selling-online-overseas/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-selling-online-overseas/', # noqa
        ),
    ),
    url(
        r'^fr/privacy-and-cookies/fair-processing-notice-selling-online-overseas/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-selling-online-overseas/', # noqa
        ),
    ),
    url(
        r'^de/privacy-and-cookies/fair-processing-notice-selling-online-overseas/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-selling-online-overseas/', # noqa
        ),
    ),
    url(
        r'^es/privacy-and-cookies/fair-processing-notice-selling-online-overseas/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-selling-online-overseas/', # noqa
        ),
    ),
    url(
        r'^pt/privacy-and-cookies/fair-processing-notice-selling-online-overseas/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-selling-online-overseas/', # noqa
        ),
    ),
    url(
        r'^ja/privacy-and-cookies/fair-processing-notice-selling-online-overseas/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-selling-online-overseas/', # noqa
        ),
    ),
    url(
        r'^zh-hans/privacy-and-cookies/fair-processing-notice-selling-online-overseas/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-selling-online-overseas/', # noqa
        ),
    ),

    url(
        r'^privacy-and-cookies/fair-processing-notice-invest-in-great-britain/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-invest-in-great-britain/', # noqa
        ),
    ),
    url(
        r'^ar/privacy-and-cookies/fair-processing-notice-invest-in-great-britain/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-invest-in-great-britain/', # noqa
        ),
    ),
    url(
        r'^fr/privacy-and-cookies/fair-processing-notice-invest-in-great-britain/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-invest-in-great-britain/', # noqa
        ),
    ),
    url(
        r'^de/privacy-and-cookies/fair-processing-notice-invest-in-great-britain/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-invest-in-great-britain/', # noqa
        ),
    ),
    url(
        r'^es/privacy-and-cookies/fair-processing-notice-invest-in-great-britain/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-invest-in-great-britain/', # noqa
        ),
    ),
    url(
        r'^pt/privacy-and-cookies/fair-processing-notice-invest-in-great-britain/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-invest-in-great-britain/', # noqa
        ),
    ),
    url(
        r'^ja/privacy-and-cookies/fair-processing-notice-invest-in-great-britain/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-invest-in-great-britain/', # noqa
        ),
    ),
    url(
        r'^zh-hans/privacy-and-cookies/fair-processing-notice-invest-in-great-britain/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-invest-in-great-britain/', # noqa
        ),
    ),

    url(
        r'^privacy-and-cookies/fair-processing-notice-export-readiness/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-export-readiness/', # noqa
        ),
    ),
    url(
        r'^ar/privacy-and-cookies/fair-processing-notice-export-readiness/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-export-readiness/', # noqa
        ),
    ),
    url(
        r'^fr/privacy-and-cookies/fair-processing-notice-export-readiness/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-export-readiness/', # noqa
        ),
    ),
    url(
        r'^de/privacy-and-cookies/fair-processing-notice-export-readiness/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-export-readiness/', # noqa
        ),
    ),
    url(
        r'^es/privacy-and-cookies/fair-processing-notice-export-readiness/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-export-readiness/', # noqa
        ),
    ),
    url(
        r'^pt/privacy-and-cookies/fair-processing-notice-export-readiness/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-export-readiness/', # noqa
        ),
    ),
    url(
        r'^ja/privacy-and-cookies/fair-processing-notice-export-readiness/$',
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-export-readiness/', # noqa
        ),
    ),
    url(
        r'^zh-hans/privacy-and-cookies/fair-processing-notice-export-readiness/$', # noqa
        QuerystringRedirectView.as_view(
            url='https://great.gov.uk/privacy-and-cookies/fair-processing-notice-export-readiness/', # noqa
        ),
    ),
    # english pages redirects
    url(
        r'^industries/automotive/supply-chain/$',
        QuerystringRedirectView.as_view(
            url='/industries/automotive/automotive-supply-chain/'),
    ),
    url(
        r'^industries/automotive/research-and-development/$',
        QuerystringRedirectView.as_view(
            url='/industries/automotive/automotive-research-and-development/'),
    ),
    url(
        r'^industries/energy/offshore-wind/$',
        QuerystringRedirectView.as_view(
            url='/industries/energy/offshore-wind-energy/'),
    ),
    url(
        r'^industries/food-and-drink-manufacturing/freefrom/$',
        QuerystringRedirectView.as_view(
            url='/industries/food-and-drink/free-foods/'),
    ),
    url(
        r'^industries/food-and-drink-manufacturing/$',
        QuerystringRedirectView.as_view(
            url='/industries/food-and-drink/'),
    ),
    url(
        r'^uk-setup-guide/$',
        QuerystringRedirectView.as_view(
            url=urls.GREAT_INTERNATIONAL_HOW_TO_SETUP_IN_THE_UK
        ),
    ),
    url(
        r'^(?P<language>(en-gb|de|ja|zh-hans|fr|es|pt|ar))/uk-setup-guide/$',
        RedirectView.as_view(
            url=urls.GREAT_INTERNATIONAL_HOW_TO_SETUP_IN_THE_UK + "?lang=%(language)s"  # noqa
        ),
    ),
    url(
        r'^uk-setup-guide/establish-base-business-uk/$',
        QuerystringRedirectView.as_view(
            url=urls.GREAT_INTERNATIONAL_HOW_TO_SETUP_IN_THE_UK +
                '/establish-a-base-for-business-in-the-uk/'
        ),
    ),
    url(
        r'^(?P<language>(en-gb|de|ja|zh-hans|fr|es|pt|ar))/uk-setup-guide/establish-base-business-uk/$',  # noqa
        RedirectView.as_view(
            url=urls.GREAT_INTERNATIONAL_HOW_TO_SETUP_IN_THE_UK +
                '/establish-a-base-for-business-in-the-uk/?lang=%(language)s'  # noqa
        ),
    ),
    url(
        r'^uk-setup-guide/understand-uk-tax-and-incentives/$',
        QuerystringRedirectView.as_view(
            url=urls.GREAT_INTERNATIONAL_HOW_TO_SETUP_IN_THE_UK +
                '/uk-tax-and-incentives/'
        ),
    ),
    url(
        r'^(?P<language>(en-gb|de|ja|zh-hans|fr|es|pt|ar))/uk-setup-guide/understand-uk-tax-and-incentives/$',  # noqa
        RedirectView.as_view(
            url=urls.GREAT_INTERNATIONAL_HOW_TO_SETUP_IN_THE_UK +
                '/uk-tax-and-incentives/?lang=%(language)s'
        ),
    ),
    url(
        r'^uk-setup-guide/hire-skilled-workers-your-uk-operations/$',
        QuerystringRedirectView.as_view(
            url=urls.GREAT_INTERNATIONAL_HOW_TO_SETUP_IN_THE_UK +
                '/hire-skilled-workers-for-your-uk-operations/'
        ),
    ),
    url(
        r'^(?P<language>(en-gb|de|ja|zh-hans|fr|es|pt|ar))/uk-setup-guide/hire-skilled-workers-your-uk-operations/$',  # noqa
        RedirectView.as_view(
            url=urls.GREAT_INTERNATIONAL_HOW_TO_SETUP_IN_THE_UK +
                '/hire-skilled-workers-for-your-uk-operations/?lang=%(language)s'  # noqa
        ),
    ),
    url(
        r'^uk-setup-guide/open-uk-business-bank-account/$',
        QuerystringRedirectView.as_view(
            url=urls.GREAT_INTERNATIONAL_HOW_TO_SETUP_IN_THE_UK +
                '/open-a-uk-business-bank-account/'
        ),
    ),
    url(
        r'^(?P<language>(en-gb|de|ja|zh-hans|fr|es|pt|ar))/uk-setup-guide/open-uk-business-bank-account/$',  # noqa
        RedirectView.as_view(
            url=urls.GREAT_INTERNATIONAL_HOW_TO_SETUP_IN_THE_UK +
                '/open-a-uk-business-bank-account/?lang=%(language)s'
        ),
    ),
    url(
        r'^uk-setup-guide/setup-your-business-uk/$',
        QuerystringRedirectView.as_view(
            url=urls.GREAT_INTERNATIONAL_HOW_TO_SETUP_IN_THE_UK +
                '/register-a-company-in-the-uk/'
        ),
    ),
    url(
        r'^(?P<language>(en-gb|de|ja|zh-hans|fr|es|pt|ar))/uk-setup-guide/setup-your-business-uk/$',  # noqa
        RedirectView.as_view(
            url=urls.GREAT_INTERNATIONAL_HOW_TO_SETUP_IN_THE_UK +
                '/register-a-company-in-the-uk/?lang=%(language)s'
        ),
    ),
    url(
        r'^uk-setup-guide/apply-uk-visa/$',
        QuerystringRedirectView.as_view(
            url=urls.GREAT_INTERNATIONAL_HOW_TO_SETUP_IN_THE_UK +
                '/uk-visas-and-migration/'
        ),
    ),
    url(
        r'^(?P<language>(en-gb|de|ja|zh-hans|fr|es|pt|ar))/uk-setup-guide/apply-uk-visa/$',  # noqa
        RedirectView.as_view(
            url=urls.GREAT_INTERNATIONAL_HOW_TO_SETUP_IN_THE_UK +
                '/uk-visas-and-migration/?lang=%(language)s'
        ),
    ),
]