內容簡介
這個「 Multiple Domains with Analytics 」外掛可以讓 WordPress 在多個網域名稱下進行鏡像。這需要你預先設定好 DNS 設定,讓所有網域名稱指向同一個位置。雖然這樣設置 DNS 設定會將所有訪客指向相同的站點,不論網域名稱為何,但頁面上的任何互動 (內部連結) 都會恢復到存在 WordPress 一般選項中的基本網域名稱。這個外掛可以讓訪客最初使用的網域名稱保持不變,以及在他們的訪問期間顯示自定義名稱和副標題。此外,此外掛還可以包含單獨的 Google Analytics 代碼,以跟踪每個網域的流量。
功能的完整列表:
無限數量的鏡像網域。
為每個網域自訂站點標題、標語、分析代碼和 URL。
無論是否與 Google Analytics 其他外掛一起使用,都可以進行自定義。
如果啟用,此外掛會使用非同步的 Google Analytics 追蹤代碼,這是 Google Analytics 提供的最快速、最可靠的追蹤代碼。
啟用 Google Analytics 時,可以選擇忽略已登錄的使用者。
外掛標籤
開發者團隊
② 後台搜尋「Multiple Domains with Analytics」→ 直接安裝(推薦)
原文外掛簡介
The Multiple Domains with Analytics plugin allows WordPress to be mirrored across multiple domain names. This requires your DNS settings to be configured ahead of time so that all of your domain names point to the same location. While configuring DNS settings in this way will point all visitors to the same site regardless of domain name, any interaction on the page (clicking an internal link) will revert back to the base domain name that exists in the WordPress general options. This plugin allows the domain name that was initially used by the visitor to stay constant as well as display a customizeable Name and Tagline for the duration of their visit. In addition, this plugin can include separate Google Analytics codes to track the traffic to each domain.
Full list of features:
Unlimited number of mirrored domains.
Customization for Site Title, Tagline, Analytics Code and URL for each domain.
Can be used with or without another Google Analytics plugin, it’s your choice.
If enabled, this plugin uses the asynchronous Google Analytics tracking code, the fastest and most reliable tracking code Google Analytics offers.
Option to ignore logged in users when Google Analytics is enabled.
