🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Domain Name Autoswitch icon
Peut-être abandonné Testé jusqu'à 3.9.40 #13 in front page

Domain Name Autoswitch

Here is a useful method you should use any where you need it dnas_get_post_ID().

Installations actives10+10+ niveaux
Téléchargements · 30D131▼ -7.7% vs prev. 30d
Évaluation—0 avis
Score de santé23/100En danger
Téléchargements de tous les temps3.4KDepuis février 2014
Support résolu—Aucun fil de discussion récent
A besoin deWP —Php tout
Téléchargements · 7j30▲ +11.1% week over week
Notre verdict

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 support

Téléchargements quotidiens

369Sep 5Oct 19Dec 3
Hier6
Moyenne quotidienne (1 ans)4
Jour de pointe1214 Septembre 2026
12 Derniers mois1.3K

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 today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
front page >100 9,262 Best front page plugins →
Multi Domain Name >100 1,998 Best Multi Domain Name plugins →

Adoption de version

Part de sites actifs par version.

  • 1.2100.0%

About Domain Name Autoswitch

À partir du Lisezmoi officiel · v1.2.4

Description

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 .htaccess file,
    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

  1. First, unzip or upload the plugin into /wp-content/plugins/.
  2. In the plugin directory, edit the following file:
    sample-domain-name-autoswitch-config.php.
  3. Then, rename the config file to: domain-name-autoswitch-config.php.
  4. Activate the plugin through the WordPress Plugins admin page.
  5. Set up your domain names like you want to, directly through the
    posts’ edit pages.
  6. 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.

Journal des modifications complet sur WordPress.org →

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.

Badge d'installations actives Badge Badge de score de santé

Best Domain Name Autoswitch alternatives

All front page plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Custom Front Page Custom Front Page Easily set any page or post, including custom post types, as the homepage for your site. par Micah Wood 900+ ★★★★★★★★★★ 4.4 (7) Il y a 6 ans 37
2 Frontype | Select a custom post type as a front page Frontype | Select a custom post type as a front page It lets you set a custom post type as a front page. de José Mortel 300+ ★★★★★★★★★★ 4.5 (4) Il y a 2 mois 71
3 Front Page Scheduler Front Page Scheduler Choose an alternate static front page to a specific daily period. by Ederson Peka 200+ ★★★★★★★★★★ 4.6 (9) il y a 1 mois 75
4 Front Page Custom Post Type Front Page Custom Post Type If you use custom post types, you may wish to display recent posts of a custom type in… de Nick Halsey 100+ ★★★★★★★★★★ 3.4 (5) il y a 5 mois 59
5 Black Studio Homepage Builder for Genesis Black Studio Homepage Builder for Genesis Customize the home page of Genesis framework child themes using Page Builder by SiteOrigin. par studio noir 60+ ★★★★★★★★★★ 5 (1) Il y a 4 ans 32
6 Front Page Builder Front Page Builder Easily build beautiful home pages. Easy to use with any theme. par themes4wp 60+ ★★★★★★★★★★ 5 (1) il y a 9 ans 32
7 CPT on Front Page CPT on Front Page This plugin allows post types other than "page" to be displayed as the static front page. by fabrizim 30+ ★★★★★★★★★★ 5 (3) il y a 13 ans 31
8 Set Front Page Post Count Set Front Page Post Count Allows the front page to have a different number of posts than other pages. by Adam Harley (Kawauso) 20+ ★★★★★★★★★★ 5 (1) Il y a 15 ans 31
9 Mooberry Show Latest Posts Mooberry Show Latest Posts Show latest blog posts on the static front page. Customize number of posts and display… by mooberrydreams 10+ ★★★★★★★★★★ 5 (1) il y a 11 ans 30
10 Organisation Frontpage Organisation Frontpage Permet de choisir et agencer les posts de la frontpage. by bgin 10+ ★★★★★★★★★★ Aucun avis Il y a 2 ans 23

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

↑↓ bouger↵ ouvrir