[WordPress] 外掛分享: qTranslate X Cleanup and WPML Import

首頁外掛目錄 › qTranslate X Cleanup and WPML Import
800+
安裝啟用
★★★☆☆
3.5/5 分(26 則評價)
63 天前
最後更新
100%
問題解決
WordPress 3.0+ v3.0.2 上架:2012-02-28

內容簡介

這款外掛可以清理您網站上的 qTranslate X meta-HTML 標籤,只留下一種‘乾淨’的語言,或將所有語言轉換為 WPML 的格式。

非常重要:這款外掛將修改您數據庫的整個內容。在嘗試使用它之前,您必須備份您的數據庫。

完整的說明文檔,請參閱qTranslate 卸載和 WPML 導入程序說明文檔。

qTranslate X 卸載和清理模式

必讀:所有在評論中提到的問題都已解決。我們很高興宣布,從 2.0 版開始重新引入清理模式

如果您只想保留一種語言並清理 qTranslate 添加的語言元標籤,則應使用此模式。對於此模式,您不需要 WPML。

使用方法:

保存所有 qTranslate X 設置
轉到外掛管理頁面並停用 qTranslate X
安裝並啟用 QT Importer
轉到選項 -> QT 導入器,選擇要保留的語言,然後按“開始”。

從 qTranslate X 轉換所有語言到 WPML

在此模式下,QT 導入程式將從 qTranslate 的語言標籤格式轉換語言信息到 WPML 的每語言文章格式。為了使此操作正常工作,您必須在站點上啟用 WPML (不必配置)。

使用方法:

保存所有 qTranslate 設置
轉到外掛管理頁面並停用 qTranslate X
已啟用 WPML,但未配置(僅啟用)
安裝並啟用 QT 導入器
轉到選項 -> QT 導入器,然後按“開始”
添加從舊 URL 到新 URL 的重定向

此導入工具會分批次進行,以避免處理大型數據庫時發生超時問題。您可以在任何規模的網站上使用它。

在導入過程中,該外掛會生成一組 URL 重定向規則。這些規則讓訪問者和搜索引擎知道您網站的 URL 已經更改(從 qTranslate 的格式轉換到 WPML 的格式)。當導入完成時,您可以將這些規則導出為 .htaccess 文件的重寫指令或添加到主題的 PHP 文件。

您可以跳過重定向規則,但是這樣內部頁面的入站連結可能會導致 404 頁面。

導入工具將帖子、元數據和分類轉換為新的格式。我們試圖考慮到所有可能的情況,但沒有手動測試的替代方案。請注意花時間審查最終結果,然後可能進行一些最後的優化處理,然後再啟用 WPML 的站點。

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「qTranslate X Cleanup and WPML Import」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

qTranslate X plugin was abandoned years ago, and we don’t actively maintain this migration plugin anymore.

This plugin can either cleanup the qTranslate X meta-HTML tags from your site and leave just one ‘clean’ language, or migrate all languages to WPML’s format.
Very important: This plugin will modify the entire content of your database. You must backup your database before attempting to use it.
For complete documentation, please refer to the qTranslate uninstall and WPML importer documentation.
qTranslate X uninstall and cleanup mode
Must-read: All the issues mentioned in the reviews are solved. We are happy to announce the reintroduction of the clean-up mode with plugin version 2.0
This mode is intended if you just want to keep one language in your site and you want to clean up the language meta-tags that qTranslate added. For this mode, you don’t need WPML.
Instructions:

Save all qTranslate X settings
Go to the Plugins admin page and de-activate qTranslate X
Install & activate QT Importer
Go to Options -> QT Importer, select language to keep and click Start.

Migrate all languages from qTranslate X to WPML
In this mode, the QT import plugin will convert the language information from qTranslate’s language tags format to WPML’s post-per-language format. For this to work, you must have WPML active in the site (but not necessarily configured).
Instructions:

Save all qTranslate settings
Go to the Plugins admin page and de-activate qTranslate X
Have WPML activated, but not yet configured (just activated)
Install & activate QT Importer
Go to Options -> QT Importer and click Start
Add redirects from old URLs to new URLs

The import runs in small batches so it doesn’t have timeout issues with large databases. You can run it on sites of any size.
During the import process, the plugin generates a set of URL redirect rules. These rules tell visitors and search engines that the URLs in your site have changed (from qTranslate’s format to WPML’s format). When the import completes, you’ll be able to export these rules either as rewrite directives for your .htaccess file or as a PHP file to add to the theme.
You can skip the redirect rules, but then, incoming links to internal pages may lead to 404 pages.
The import tool converts posts, meta data and taxonomy. We tried to take every possible scenario in mind, but there’s no alternative to manual testing. Please consider spending time reviewing the final result and possible doing some last touch-ups before relaunching the site with WPML.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon