[WordPress] 外掛分享: Automatic Subdomains

前言介紹

  • 這款 WordPress 外掛「Automatic Subdomains」是 2012-02-09 上架。
  • 目前有 30 個安裝啟用數。
  • 上一次更新是 2013-04-11,距離現在已有 4405 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 2.3 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

the-jake-group |

外掛標籤

permalinks | subdomains | landing pages |

內容簡介

這個外掛的目的是為了方便將子網域連結部署在 WordPress 網站的擴展頁面上。這個外掛會根據資料庫中 post_name 欄位自動將子網域映射到頁面和文章永久連結。
這個外掛不會進行任何管理設置。

這個外掛不會編輯 DNS 區域文件。子網域 DNS 記錄需要個別設置或作為 DNS 區域文件中的通配符記錄來映射到網站目錄。一旦請求到達 WordPress 系統,外掛將自動檢查子網域是否與頁面或文章名稱相匹配。如果匹配,WordPress 查詢就會編輯為以永久連結方式取回該頁面或文章。排除 WordPress siteurl 和裸的二級域名。

示例映射:

URL → 映射
http://example.com → 首頁(不進行映射)
http://www.example.com → 首頁(不進行映射)
http://test-page.example.com → example.com/test-page/
http://mypost.example.com → example.com/mypost/

原文外掛簡介

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/

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Automatic Subdomains」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

  • root Cookie 》若您想在網站中整合 WordPress 認證系統至其他腳本中,您可能會遇到認證問題,因為您的程式碼無法讀取 WordPress Cookie。, 預設情況下,WordPress Cookie 完...。
  • Subdomains 》Subdomains 外掛可讓使用者將其主要分類設置為子網域。這是一個輕量且快速的程式碼,可以將所有主要分類設置為子網域。, 如有任何問題,請在 http://pankajan...。
  • Add or Remove Www 》Add or Remove WWW 外掛旨在解決一個普遍的問題:防止網站的 www 或非 www 版本導致重定向。, 通常,當您創建內容鏈接或包含圖像時,它會鏈接到 http://YourS...。
  • WP Super Subdomains 》如果您不喜歡 WordPress Multisite 並且不想要分開您的資料庫,WP Super Subdomains 將能幫助您。此外掛程式不需要複雜的設定,只需啟動即可享受!, 所有的標...。
  • WP Subdomains (Revisited) 》這是 “WP Subdomains” 0.6.9 的更新版本,可以創建類別、頁面和作者的子網域,並且不需要使用或是在 Multisite 中使用。, 原始說明在 原始外掛頁...。
  • yg-Subdomains 》, 在「新增文章」頁面上會有一個核取方塊,名為「偽子網域」, 勾選時,它會使用名為 fake_sub 的自訂欄位,為文章建立一個偽子網域, 。
  • html in author bios 》。

文章
Filter
Apply Filters
Mastodon