Title: MultiDomain
Author: nathancarnes
Published: <strong>آکتوبر 28, 2011</strong>
Last modified: آکتوبر 28, 2011

---

جستجوی افزونه‌ها

این افزونه **با آخرین 3 نسخه اصلی وردپرس تست نشده است**. ممکن است دیگر نگهداری یا
پشتیبانی نشود و ممکن است هنگام استفاده با نسخه های جدیدتر وردپرس مشکلات سازگاری 
داشته باشد.

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

# MultiDomain

 توسط [nathancarnes](https://profiles.wordpress.org/nathancarnes/)

[دانلود](https://downloads.wordpress.org/plugin/multidomain.zip)

 * [جزئیات](https://fa-af.wordpress.org/plugins/multidomain/#description)
 * [نقد و بررسی‌ها](https://fa-af.wordpress.org/plugins/multidomain/#reviews)
 *  [نصب](https://fa-af.wordpress.org/plugins/multidomain/#installation)
 * [توسعه](https://fa-af.wordpress.org/plugins/multidomain/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/multidomain/)

## توضیحات

 * Point multiple domains/sub-domains at a single WordPress installation and maintain
   link integrity (i.e. if you’re on http://foo.com, links will be http://foo.com/
   bar, and if you’re http://baz.com links will be http://baz.com/bar)
 * Overwrite site title, description, or theme per domain
 * Customize content per domain using the [MultiDomain_if] and [MultiDomain_else]
   shortcodes

If you need more customization between domains, WordPress MU is a better option.

### Configuration Examples

Note that you usually won’t need to configure your primary domain — MultiDomain 
will automatically fall back to your WordPress defaults if not configuration is 
present for a domain.

#### Basic

In config.php:

    ```
    <?php
      $domains = array(
        array(
          'domain' => 'myalternatedomain.com',
          'siteurl' => 'http://myalternatedomain.com',
          'home' => 'http://myalternatedomain.com'
        )
      );
    ?>
    ```

#### More Complex

In config.php:

    ```
    <?php
      $domains = array(
        array(
          'domain' => 'example1.com',
          'siteurl' => 'http://example1.com',
          'home' => 'http://example1.com'
        ),
        array(
          'domain' => 'example2.com',
          'siteurl' => 'http://example2.com',
          'home' => 'http://example2.com',
          'blogname' => 'Example 2'
        ),
        array(
          'domain' => 'example3.com',
          'siteurl' => 'http://example3.com',
          'home' => 'http://example3.com',
          'template' => 'twentyten',
          'blogname' => 'I have a different name...',
          'blogdescription' => '..and description'
        )
      );
    ?><h3>Tag Usage</h3>
    ```

The provided short codes let you tailor your content per domain if needed. [MultiDomain_else]
and [MultiDomain_default] are identical.

    ```
    [MultiDomain_if domain="example1.com"]
      Content only people visiting on example1.com will see.
    [/MultiDomain_if]

    [MultiDomain_else]
      Content anyone visiting on any other domain will see.
    [/MultiDomain_else]

    Normal content everyone will see.
    ```

## نصب

 1. Unzip and upload to your plugins directory, or install from admin
 2. Activate
 3. Edit config.php to your liking using the admin Plugin Editor or your favorite FTP
    program
 4. Profit!

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/9acab26cb44b954bd093b809c848b1b19e198d1eb4250bf2b9762de55e58b027?
s=60&d=retro&r=g)

### 󠀁[Works Great](https://wordpress.org/support/topic/works-great-4943/)󠁿

 [guillenacp](https://profiles.wordpress.org/guillenacp/) می 2, 2018

I tried other plugins but this works perfectly

![](https://secure.gravatar.com/avatar/88872cebedb4aab600f8db43cca09ddaccf7eeb6ce6f88260619e94db457e2dd?
s=60&d=retro&r=g)

### 󠀁[Best multidomain plugin!](https://wordpress.org/support/topic/best-multidomain-plugin/)󠁿

 [sumeetru](https://profiles.wordpress.org/sumeetru/) می 18, 2017

Best multidomain plugin!

![](https://secure.gravatar.com/avatar/d855f6d35ea9348574d128005ac6a152b0cd6b59f26fc618a06567cd2d6c109c?
s=60&d=retro&r=g)

### 󠀁[Crashed my site](https://wordpress.org/support/topic/crashed-my-site-63/)󠁿

 [laptophobo](https://profiles.wordpress.org/laptophobo/) اپریل 28, 2017

I was getting some lines of error codes on the top of my site, so I thought it prudent
to not use the plugin. When I tried to deactivate the plugin, it wouldn’t let me.
I had to delete the plugin through FTP.

 [ خواندن تمامی 6 نقد و بررسی‌ ](https://wordpress.org/support/plugin/multidomain/reviews/)

## توسعه دهندگان و همکاران

“MultiDomain” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ nathancarnes ](https://profiles.wordpress.org/nathancarnes/)

[ترجمه “MultiDomain” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/multidomain)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/multidomain/), را بررسی
کنید [مخزن SVN](https://plugins.svn.wordpress.org/multidomain/), یا مشترک شوید [گزارش توسعه](https://plugins.trac.wordpress.org/log/multidomain/)
توسط [RSS](https://plugins.trac.wordpress.org/log/multidomain/?limit=100&mode=stop_on_copy&format=rss).

## اطلاعات

 *  Version **1.0**
 *  Last updated **14 سال پیش**
 *  Active installations **300+**
 *  WordPress version ** 3.0 یا بالاتر **
 *  Tested up to **3.2.3**
 *  Language
 * [English (US)](https://wordpress.org/plugins/multidomain/)
 * Tags
 * [domain](https://fa-af.wordpress.org/plugins/tags/domain/)[domains](https://fa-af.wordpress.org/plugins/tags/domains/)
 *  [نمایش پیشرفته](https://fa-af.wordpress.org/plugins/multidomain/advanced/)

## امتیازها

 4.3 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/multidomain/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/multidomain/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/multidomain/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/multidomain/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/multidomain/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/multidomain/reviews/)

## مشارکت کنندگان

 *   [ nathancarnes ](https://profiles.wordpress.org/nathancarnes/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/multidomain/)