Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Domain Country path
This country_path.module provides custom aliases and routing.
It's a small project that extends Domain Access module and adds a domain suffix (i.e. path prefix) for each domain.
Primary usage is for creating multi-country (multi-domain) sites where
each country can be identified either by its domain (example.co.uk) or by a URL path prefix (example.com/fr)
Example,
- http://main.example.com - Main Domain
- http://example.com/usa - USA Domain
- http://example.com/france/ - France Domain.
Supporting organizations:
Project information
- Maintenance fixes only
Considered feature-complete by its maintainers. - Module categories: Developer Tools
- 615 sites report using this module
- By Maxime Topolov on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
8.x-1.6
released 1 July 2023
Works with Drupal: ^8.8 || ^9 || ^10
✓ Recommended by the project’s maintainer.
Add support for Domain 2.0.x
Install:
Development version: 8.x-1.x-dev updated 1 Jul 2023 at 21:58 UTC
7.x-1.0
released 24 November 2014
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-1.x-dev updated 17 Jan 2018 at 14:03 UTC