Title: Dynamic Hostname
Author: Takayuki Miyauchi
Published: <strong>18 Μαρτίου  2014</strong>
Last modified: 26 Απριλίου  2015

---

Αναζήτηση πρόσθετων

![](https://ps.w.org/dynamic-hostname/assets/banner-772x250.png?rev=877017)

Αυτό το πρόσθετο **δεν έχει δοκιμασθεί με τις 3 τελευταίες κύριες εκδόσεις του WordPress**.
Μπορεί να μην αναπτύσσεται ή να υποστηρίζεται άλλο και να έχει προβλήματα συμβατότητας
με τις πιο πρόσφατες εκδόσεις του WordPress.

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

# Dynamic Hostname

 Από [Takayuki Miyauchi](https://profiles.wordpress.org/miyauchi/)

[Λήψη](https://downloads.wordpress.org/plugin/dynamic-hostname.0.4.2.zip)

 * [Λεπτομέρειες](https://el.wordpress.org/plugins/dynamic-hostname/#description)
 * [Κριτικές](https://el.wordpress.org/plugins/dynamic-hostname/#reviews)
 *  [Εγκατάσταση](https://el.wordpress.org/plugins/dynamic-hostname/#installation)
 * [Ανάπτυξη](https://el.wordpress.org/plugins/dynamic-hostname/#developers)

 [Υποστήριξη](https://wordpress.org/support/plugin/dynamic-hostname/)

## Περιγραφή

This plugin changes dynamically and automatically the host name which WordPress 
uses. For example, when you run WordPress on your different servers, for production,
development or staging, the host name will be changed dynamically and each site 
won’t have broken links. It’s very useful when you use it with Vagrant Cloud.

#### Some features

 * Temporarily changes the host name to the current host name ($_SERVER[‘HTTP_HOST’]).
 * Also replaces the host name of the links to the contents and the images in the
   same site.
 * The host name included in the contents on the development server will be changed
   to the one for the production server. (You don’t need to replace the host name
   in the database when you move it to the production server.)
 * The host name in the editor window is temporarily replaced with the current host
   name, so when you edit some on the development server, you never have broken 
   links.

#### Hooks to use for replacing

This plugin uses the filter hooks below to replace the host name in URL.

    ```
    $hooks = array(
        "home_url",
        "site_url",
        "stylesheet_directory_uri",
        "template_directory_uri",
        "plugins_url",
        "wp_get_attachment_url",
        "theme_mod_header_image",
        "theme_mod_background_image",
        "the_content",
        "upload_dir",
        "widget_text",
    );
    ```

Those hooks also have their own filter hooks, so you can customize with other plugins
you are using, etc.

    ```
    add_filter('dynamic_hostname_filters' function($hooks){
        $hooks[] = 'some_filter_hook';
        return $hooks;
    });
    ```

## Εγκατάσταση

#### Manual Installation

 1. Upload the entire `/dynamic-hostname` directory to the `/wp-content/plugins/` directory.
 2. Activate through the ‘Plugins’ menu in WordPress.

## Κριτικές

Δεν υπάρχουν αξιολογήσεις για αυτό το πρόσθετο.

## Συνεισφέροντες & Προγραμματιστές

“Dynamic Hostname” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει
στη δημιουργία του.

Συντελεστές

 *   [ Takayuki Miyauchi ](https://profiles.wordpress.org/miyauchi/)
 *   [ DigitalCube Inc. ](https://profiles.wordpress.org/megumithemes/)
 *   [ tekapo ](https://profiles.wordpress.org/tekapo/)
 *   [ Takashi Kitajima ](https://profiles.wordpress.org/inc2734/)
 *   [ Toro_Unit (Hiroshi Urabe) ](https://profiles.wordpress.org/toro_unit/)

[Μεταφράστε το “Dynamic Hostname” στην γλώσσα σας.](https://translate.wordpress.org/projects/wp-plugins/dynamic-hostname)

### Ενδιαφέρεστε για την ανάπτυξη;

[Περιηγηθείτε στον κώδικα](https://plugins.trac.wordpress.org/browser/dynamic-hostname/),
ανατρέξτε στο [αποθετήριο SVN](https://plugins.svn.wordpress.org/dynamic-hostname/)
ή εγγραφείτε στο [αρχείο καταγραφής αλλαγών ανάπτυξης](https://plugins.trac.wordpress.org/log/dynamic-hostname/)
μέσω [RSS](https://plugins.trac.wordpress.org/log/dynamic-hostname/?limit=100&mode=stop_on_copy&format=rss).

## Σύνοψη αλλαγών

#### 0.4.1

 * Tested up to 4.1

#### 0.1.0

 * First release

## Μεταστοιχεία

 *  Version **0.4.2**
 *  Τελευταία ενημέρωση: **πριν από 11 έτη**
 *  Ενεργές εγκαταστάσεις: **300+**
 *  Έκδοση WordPress: ** 3.8 ή νεότερη **
 *  Δοκιμασμένο μέχρι: **4.2.39**
 *  Language
 * [English (US)](https://wordpress.org/plugins/dynamic-hostname/)
 * Ετικέτες:
 * [hostname](https://el.wordpress.org/plugins/tags/hostname/)[site_url](https://el.wordpress.org/plugins/tags/site_url/)
 *  [Σύνθετη Προβολή](https://el.wordpress.org/plugins/dynamic-hostname/advanced/)

## Αξιολογήσεις

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/dynamic-hostname/reviews/)

## Συντελεστές

 *   [ Takayuki Miyauchi ](https://profiles.wordpress.org/miyauchi/)
 *   [ DigitalCube Inc. ](https://profiles.wordpress.org/megumithemes/)
 *   [ tekapo ](https://profiles.wordpress.org/tekapo/)
 *   [ Takashi Kitajima ](https://profiles.wordpress.org/inc2734/)
 *   [ Toro_Unit (Hiroshi Urabe) ](https://profiles.wordpress.org/toro_unit/)

## Υποστήριξη

Έχετε κάτι να πείτε; Χρειάζεστε βοήθεια;

 [Φόρουμ υποστήριξης](https://wordpress.org/support/plugin/dynamic-hostname/)