[WordPress] 外掛分享: Custom .htaccess rules manager

首頁外掛目錄 › Custom .htaccess rules manager
全新外掛
安裝啟用
尚無評分
236 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v1.0.0 上架:2025-07-20

內容簡介

**總結:**
這款「自訂.htaccess規則管理器」外掛為您的WordPress管理面板提供一個安全且直觀的界面,讓您可以管理.htaccess檔案的自訂規則。這個功能強大的工具允許您在.htaccess檔案的開頭和結尾插入特定規則,確保它們被正確應用而不干擾WordPress的核心規則。

**問與答:**
- 這個外掛的主要功能是什麼?
- 提供一個安全且直覺的界面來管理.htaccess檔案的自訂規則。
- 有哪些功能特點?
- 可以在WordPress標準.htaccess內容之前和之後添加規則的專用區域。
- 使用Shell-Mode的語法高亮,讓撰寫和檢視.htaccess規則更容易。
- 自動擴展的編輯器,自動調整高度以適應內容,提供舒適的編輯體驗。
- 每次保存新規則,系統會自動備份現有的.htaccess檔案,提供安全網。
- 可從外掛設定頁面直接從最後10個備份中輕鬆恢復.htaccess檔案。
- 在移除外掛時,可以選擇刪除.htaccess備份或保留在伺服器上。
- 所有檔案操作都使用WordPress強大的WP_Filesystem API進行,確保在各種主機環境中的相容性和安全性。
- 使用此外掛需注意什麼?
- 修改.htaccess檔案錯誤可能導致網站變得無法訪問。請謹慎操作,確保您了解所添加的規則。雖然備份功能可以幫助,但建議進行仔細測試。

外掛標籤

開發者團隊

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

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

原文外掛簡介

The “Custom .htaccess rules manager” plugin provides a secure and intuitive interface within your WordPress admin dashboard to manage custom rules for your .htaccess file. This powerful tool allows you to insert specific rules at both the very beginning and very end of your .htaccess file, ensuring they are applied correctly without interfering with WordPress’s own core rules.
Key Features
Top and Bottom Blocks
Dedicated sections to add rules that appear before and after WordPress’s standard .htaccess content.
Shell-Mode Syntax Highlighting
Makes writing and reviewing .htaccess rules easier with clear visual cues.
Auto-Expanding Editor
The editor automatically adjusts its height to fit your content, providing a comfortable editing experience.
Automatic Backups
Every time you save new rules, a backup of your existing .htaccess file is automatically created, providing a safety net.
Backup Restoration
Easily restore your .htaccess file from a list of the last 10 backups directly from the plugin settings page.
Uninstall Options
Choose whether to delete .htaccess backups or keep them on your server when uninstalling the plugin.
WordPress Filesystem API Integration
All file operations are performed using WordPress’s robust WP_Filesystem API, ensuring compatibility and security across various hosting environments.
Important Note
Modifying the .htaccess file incorrectly can lead to your website becoming inaccessible. Always exercise caution and ensure you understand the rules you are adding. The backup feature is designed to help, but careful testing is always recommended.

延伸相關外掛

文章
Filter
Mastodon