[WordPress] 外掛分享: AZRULAT

首頁外掛目錄 › AZRULAT
WordPress 外掛 AZRULAT 的封面圖片
全新外掛
安裝啟用
★★★★★
5/5 分(2 則評價)
412 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.0+ v1.1 上架:2025-01-22

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1) 或搜尋安裝

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

原文外掛簡介

AZRULAT is a lightweight free WordPress plugin that transliterates Azerbaijani and Russian characters into Latin equivalents, ensuring clean, SEO-optimized, and readable slugs and filenames. It also removes unwanted symbols, special punctuation, and excessive whitespace.
This plugin works automatically and is particularly beneficial for websites targeting Azerbaijani and Russian-speaking audiences. It helps improve search engine indexing and user-friendly URLs.
Features

Transliteration of Azerbaijani Characters
Converts Azerbaijani-specific letters into Latin equivalents:

ə → e, ü → u, ı → i, ç → c, ş → s, ğ → g
Ə → E, Ü → U, İ → I, Ç → C, Ş → S, Ğ → G

Transliteration of Russian Cyrillic Characters
Converts Russian Cyrillic letters to Latin equivalents:

Examples:

А → A, а → a, Б → B, б → b, В → V, в → v
Ж → Zh, ж → zh, Ч → Ch, ч → ch, Ш → Sh, ш → sh
Щ → Shh, щ → shh, Ю → Yu, ю → yu, Я → Ya, я → ya

Special Characters and Symbols Handling

Decodes HTML entities to prevent unwanted symbols (8220, 8221, 8222, etc.).
Converts spaces to hyphens (-).
Removes non-ASCII characters not defined in the transliteration table.
Replaces multiple hyphens with a single hyphen.

Filename Sanitization

Ensures uploaded file names are transliterated and cleaned, following the same rules as post slugs.

Automatic Integration

Hooks into WordPress filters to automatically apply transliteration to:

Post titles (slugs).
Term names.
Uploaded filenames.

Example
Input Title: Azərbaycan və Русский язык — 2025
Output Slug: azerbaycan-ve-russkiy-yazyk-2025
Input Title: Ağ rəngli kağız — alarsan
Output Slug: ag-rengli-kagiz-alarsan
Input Filename: Тестовые_данные_и_символы.JPG
Output Filename: testovye-dannye-i-simvoly.jpg

文章
Filter
Apply Filters
Mastodon