Title: Automatic Subdomains
Author: The Jake Group
Published: <strong>10 février 2012</strong>
Last modified: 11 avril 2013

---

Recherche d’extensions

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

![](https://s.w.org/plugins/geopattern-icon/automatic-subdomains.svg)

# Automatic Subdomains

 Par [The Jake Group](https://profiles.wordpress.org/the-jake-group/)

[Télécharger](https://downloads.wordpress.org/plugin/automatic-subdomains.zip)

 * [Détails](https://fr.wordpress.org/plugins/automatic-subdomains/#description)
 * [Avis](https://fr.wordpress.org/plugins/automatic-subdomains/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/automatic-subdomains/#installation)
 * [Développement](https://fr.wordpress.org/plugins/automatic-subdomains/#developers)

 [Support](https://wordpress.org/support/plugin/automatic-subdomains/)

## Description

The purpose of this plugin is to facilitate deployment of subdomain links to
 landing
pages on a WordPress website. The plugin automatically maps subdomains to page and
post permalinks based on the post_name field in the database. There are no administrative
settings.

This plugin DOES NOT edit DNS zone files. Subdomain DNS records themselves
 either
need to be set up individually or as a wildcard record in the DNS zone file to map
to the website directory. Once the request reaches the WordPress system, the plugin
will automatically check to see if the subdomain matches a page or post name. If
so, the WordPress query is edited to get that page/post at its permalink. The WordPress
siteurl is excluded, as is the naked second-level domain.

Example mappings:

URL → Mapping
 http://example.com → default homepage (no remapping) http://www.example.
com → default homepage (no remapping) http://test-page.example.com → example.com/
test-page/ http://mypost.example.com → example.com/mypost/

## Installation

 1. Upload the `automatic-subdomains` directory to the `/wp-content/plugins/`
     directory.
 2. Activate the plugin through the « Plugins » menu in WordPress.

## FAQ

  Does this plugin edit my domain’s DNS zone file?

No. You must first edit your zone file to create the subdomains or a wildcard
 subdomain
to resolve to your WordPress site.

  Must I have certain permalink settings?

No. You may use any permalink settings.

  To what page/post will my subdomain map?

Subdomains will map to pages and posts based on the post_name field in the
 database.
The subdomain must match the post_name exactly in order to map, or it will redirect
to the homepage.

  What if I have a fourth, fifth, etc. level domain?

The mapping will be made based on the deepest (left-most) element of the full
 domain
name.

## Avis

Il n’y a aucun avis pour cette extension.

## Contributeurs/contributrices & développeurs/développeuses

« Automatic Subdomains » est un logiciel libre. Les personnes suivantes ont contribué
à cette extension.

Contributeurs

 *   [ The Jake Group ](https://profiles.wordpress.org/the-jake-group/)

[Traduisez « Automatic Subdomains » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/automatic-subdomains)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/automatic-subdomains/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/automatic-subdomains/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/automatic-subdomains/)
par [RSS](https://plugins.trac.wordpress.org/log/automatic-subdomains/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 1.3

 * Bug Fix: Fixes potential compatibility issue with other plugins.

#### 1.2

 * Bug Fix: Fixes potential redirect loop issue.

#### 1.1

 * Rewrite to rely on post_name instead of page-name and name.
 * Fixed bug causing child level pages not to map appropriately.

#### 1.0

 * Initial launch.

## Méta

 *  Version **1.2**
 *  Dernière mise à jour **il y a 13 ans**
 *  Installations actives **20+**
 *  Version de WordPress ** 2.3 ou plus **
 *  Testé jusqu’à **3.4.2**
 *  Langue
 * [English (US)](https://wordpress.org/plugins/automatic-subdomains/)
 * Étiquettes
 * [landing pages](https://fr.wordpress.org/plugins/tags/landing-pages/)[permalinks](https://fr.wordpress.org/plugins/tags/permalinks/)
   [subdomains](https://fr.wordpress.org/plugins/tags/subdomains/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/automatic-subdomains/advanced/)

## Évaluations

 5 sur 5 étoiles.

 *  [  1 avis à 5 étoile     ](https://wordpress.org/support/plugin/automatic-subdomains/reviews/?filter=5)
 *  [  0 avis à 4 étoile     ](https://wordpress.org/support/plugin/automatic-subdomains/reviews/?filter=4)
 *  [  0 avis à 3 étoile     ](https://wordpress.org/support/plugin/automatic-subdomains/reviews/?filter=3)
 *  [  0 avis à 2 étoile     ](https://wordpress.org/support/plugin/automatic-subdomains/reviews/?filter=2)
 *  [  0 avis à 1 étoile     ](https://wordpress.org/support/plugin/automatic-subdomains/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/automatic-subdomains/reviews/#new-post)

[Voir tous les avis](https://wordpress.org/support/plugin/automatic-subdomains/reviews/)

## Contributeurs

 *   [ The Jake Group ](https://profiles.wordpress.org/the-jake-group/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/automatic-subdomains/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](http://www.thejakegroup.com/)