Domain Name Autoswitch
Here is a useful method you should use any where you need it dnas_get_post_ID().
Envisager une alternative
Domain Name Autoswitch shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 12 years ago, and scores 23/100 on our health check.
- Petite base d'utilisateurs (plus de 10 installations actives)
- Très peu de critiques jusqu'à présent
- Pas de mise à jour dans 12 ans
- Uniquement testé jusqu'à WordPress3,9 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Domain Name Autoswitch stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| front page | >100 |
| Multi Domain Name | >100 |
Adoption de version
Part de sites actifs par version.
About Domain Name Autoswitch
À partir du Lisezmoi officiel · v1.2.4Description
Here is a useful method you should use any where you need it dnas_get_post_ID().
It returns the post ID (if any) related to the current domain name.
For instance, if you would like to display URL of the fake home page:
You can check the plugin development on github.
Pros:
- since the plugin does not modify nor use your
.htaccessfile,
it works with every permalink formats. - allow you to manage your domain names directly through your
post edit forms.
Cons:
- since it hacks the query variables, some template tags like
is_home()
could not work as expected if a dedicated domain name is triggered. - be aware there is no conflict support: you can fill the same domain
for several posts. Only a single one will win the game, without
any control from your part (but it will be easy to see which one have
to be checked… if you ever notice it). Be careful!
Configuration
The plugin works with both custom post types and classic post type.
You have to edit a configuration file in order to indicate on which
posts the plugin should add its domain name field. You can indicate
Categorie identifiers or/and Post Types slugs. For instance, to make
the plugin showing its domain field on any posts of the categories #4
and #8, then:
$dnas_categories_ID = array( 4, 8 );
Dependency
The Advanced Custom Fields
plugin is required.
Licence
This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under the terms of the Do What The Fuck You Want
To Public License, Version 2,
as published by Sam Hocevar. See (http://www.wtfpl.net/) for more details.
Installation
- First, unzip or upload the plugin into
/wp-content/plugins/. - In the plugin directory, edit the following file:
sample-domain-name-autoswitch-config.php. - Then, rename the config file to:
domain-name-autoswitch-config.php. - Activate the plugin through the WordPress Plugins admin page.
- Set up your domain names like you want to, directly through the
posts’ edit pages. - Obviously, you will have to set up your virtual hosts (
ServerAlias
directives), so every domain names you want to use are pointing to
your WordPress instance.
Journal de modifications
1.2.4
- Fix the way settings are saved: from now, settings are not erased after upgrading the plugin.
1.2.3
- Fix SQL syntax when using custom post type identifiers.
- Add license details.
1.2.2
- Add the
dnas_get_post_ID()global function. - Enhance the readme.txt.
1.2.1
- Add the get_post_ID() method to the class.
- Fix an issue with permalink: now hooks the permalinks values.
For instance, the canonical meta link now displays the dedicated domain name. - Fix a singleton issue (public constructor).
1.2
- Première version stable.
- Handle posts by categories or by post types.
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Domain Name Autoswitch alternatives
All front page plugins →FAQ
Domain Name Autoswitch: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Domain Name Autoswitch free?
Yes. Domain Name Autoswitch is free to download and use from the official WordPress.org plugin directory.
Is Domain Name Autoswitch safe to use in 2026?
Domain Name Autoswitch shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 12 years ago, and scores 23/100 on our health check.
How many websites use Domain Name Autoswitch?
Domain Name Autoswitch is active on 10+ WordPress websites and has been downloaded 3,432 times since it launched in February 2014. It was downloaded 131 times in the last 30 days.
Does Domain Name Autoswitch work with WordPress 7.1?
Domain Name Autoswitch is officially tested up to WordPress 3.9.40, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Domain Name Autoswitch last updated?
The latest version, 1.2.4, was released on June 14, 2014 (12 years ago).
Who makes Domain Name Autoswitch?
Domain Name Autoswitch is developed and maintained by bmenant.
What are the best alternatives to Domain Name Autoswitch?
The most popular alternatives to Domain Name Autoswitch are Custom Front Page (900+ installs), Frontype (300+ installs) and Front Page Scheduler (200+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
