Title: Tweakr &#8211; Advanced options toolkit
Author: Andi Dittrich
Published: <strong>2017 年 2 月 23 日</strong>
Last modified: 2026 年 4 月 12 日

---

搜尋外掛

![](https://ps.w.org/tweakr/assets/banner-772x250.png?rev=1622406)

![](https://ps.w.org/tweakr/assets/icon-256x256.png?rev=1602679)

# Tweakr – Advanced options toolkit

 由 [Andi Dittrich](https://profiles.wordpress.org/andi-dittrich/) 開發

[下載](https://downloads.wordpress.org/plugin/tweakr.2.2.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/tweakr/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/tweakr/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/tweakr/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/tweakr/#developers)

 [技術支援](https://wordpress.org/support/plugin/tweakr/)

## 外掛說明

This plugin is a collection of common used tweaks and features – each of them can
be **controlled independently**
 It is designed as compact **all-in-one solution**
espacially for **Web-Agencies** and **Advanced Users** with security in mind: just
audit and trust a single plugin.

### E-Mail

 * Use **External SMTP Mailserver** to deliver mails transmitted by `wp_mail`
 * No Third Party libraries required! WordPress Internal **PHPMailer** class is 
   used
 * Support for **TLS/SSL** Connections
 * Set the Mail-From-Name and Mail-From-Address manually
 * Fix phpmailerExceptions by setting the mail-from parameter to a valid address
 * Control New User Registration E-Mails (send to admin and/or user)

### Automatic Updates

 * Control Automatic-Update policy
 * Enable automatic Theme Updates
 * Enable automatic Plugin Updates
 * Disable Automatic Updates
 * Disable Update Notification (E-Mail)

### Permalinks/Rewrite Rules

 * Add `.html` extension to pages – e.g. `privacy-protecton.html`
 * Add `.html` extension to categories – e.g. `category/uncategorized.html`
 * Optional or enforced html extensions (backward compatibility)
 * Remove **embed** Rewrite Rules
 * Remove **feed** Rewrite Rules

### Virtual Permalink URLs

 * Placeholders like `link://post.local/1234` can be used within the Link-Insert-
   Dialogs and got replaced by the real link during rendering – this avoids problems
   with different domains names.

### XML Sitemap

 * Automatical XML Sitemap generation `sitemap.xml` (SEO)
 * Modern Search-Engines like Google, Bing can easier index your posts/pages
 * Only **Posts** and **Pages** are displayed
 * Password protected posts/pages or unpublished content is ignored!
 * XML Format regarding the [sitemaps.org specification](https://www.sitemaps.org/protocol.html)

### Security

 * Disable XMLRPC API (Really!)
 * Restrict REST (JSON) API Access to **Admin** and **Editor** User

### TinyMCE Visual Editor

 * VisualComponent Extension visualizes the HTML Element Structure (headings,section,
   p)
 * Remove the fixed-width restriction of the Editor-Area (set to 80% max)

### System Tweaks

 * Disable Emojis
 * Disable Smileys
 * Disable oEmbeds
 * Hide Admin Toolbar
 * Hide WordPress Generator Tag
 * Hide Windows Live Writer manifest file link
 * Hide Meta Pagination Links
 * Hide Feed Links
 * Hide Resource Hints
 * Disable RSS Feeds
 * Disable Atom Feeds
 * Disable RDF Feeds

### Google Analytics

 * Google Analytics Support – just add your Tracking-ID
 * AnonymizeIP Option
 * OPT-OUT Shortcode/Button (required by GDPR/DSGVO) – also works with Caching Plugins
   or CDN Servers
 * IE8 Compatible

### Matomo/Piwik Analytics

 * Matomo v3 Support – add your Host URL + Site ID – thats it!
 * OPT-OUT Shortcode/Button (required by GDPR/DSGVO) – also works with Caching Plugins
   or CDN Servers
 * Simple Page Name Option (Records the Document Title without Blog Name)
 * DoNoTrack Option
 * Option to add the Hostname to your Document Title (useful for multidomain sites)

## 螢幕擷圖

 * [[
 * Settings Page Overview
 * [[
 * VisualComponent Extension
 * [[
 * Google Analytics Options
 * [[
 * Piwik Analytics Options
 * [[
 * E-Mail SMTP Settings
 * [[
 * Analytics OPT-OUT Button

## 安裝方式

### System requirements

 * PHP 5.4 or greater
 * WordPress 5.4

### Installation

 1. Upload the complete `tweakr` folder (WordPress Plugin) to the `/wp-content/plugins/`
    directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to Settings -> Tweakr and configure it

## 常見問題集

### A lot of the Tweaks/Extensions are already available as Single Plugins

Of course! But as a professional Web Agency it is much easier to develope, maintain
and audit a single plugin instead of a set of 20+ plugins from different authors!

### Why do you use your custom tracking code for Piwik/Google Analytics

Because of the Opt-Out Buttons code and the possibility to control the options via
the settings page.

### I miss some features / I found a bug

Open a [new issue on Codeberg.org](https://codeberg.org/AenonDynamics/wp-tweakr/issues)

## 使用者評論

![](https://secure.gravatar.com/avatar/8ed7540f5f2b0dc2459651632e68879423bf2f3a309f966243ec0271aac7cc3e?
s=60&d=retro&r=g)

### 󠀁[Gets the job done, many useful options](https://wordpress.org/support/topic/gets-the-job-done-many-useful-options/)󠁿

 [neoqueto](https://profiles.wordpress.org/neoqueto/) 2018 年 3 月 5 日

Thank you for this plugin. It allows to configure many WP “obscurities” that otherwise
would need to be disabled by digging deep into PHP hooks. The trailing slash removal
and disablement of user registration notification emails are killer features.

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/tweakr/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Tweakr – Advanced options toolkit〉的開發相關工作。

參與者

 *   [ Andi Dittrich ](https://profiles.wordpress.org/andi-dittrich/)
 *   [ Aenon Dynamics ](https://profiles.wordpress.org/aenondynamics/)

[將〈Tweakr – Advanced options toolkit〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/tweakr)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/tweakr/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/tweakr/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/tweakr/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/tweakr/)。

## 變更記錄

### 2.2.0

 * Added: option to set the `.html` extension as optional
 * Changed: new plugin menu structure
 * Changed: `wp-skltn` library updated to **0.22.1** – MPL 2.0 License
 * Changed: applied new `wp-skltn` plugin structure – files moved into `modules/`
   directory
 * Bugfix: invalid regex in `.html` extension rewrite rule accepted any character
   instead of a dot
 * Bugfix: metadata generator throws a php notice due to non extisting global `$
   post` object
 * Bugfix: WordPress `v6.7.0` compatibility regarding text domain transltions calls
 * Changed: PHP `8.4` compatibility
 * Changed: updated Repository URLs to new [Codeberg.org repository](https://codeberg.org/AenonDynamics/wp-tweakr)
 * Changed: `wp-skltn` library updated to **0.31.0** – MPL 2.0 License
 * Changed: removed outdated translations and `load_textdomain` call

### 2.0

**License changed to GNU GENERAL PUBLIC LICENSE Version 2 (GPL-2.0)**

 * Added: option to control automatic updates (enable/disable updates by each component)
 * Added: option to hide privacy-policy page from search engines
 * Added: option to advertise the `sitemap.xml` in `robots.txt` file to be autoamitcally
   recognized by search engines
 * Added: option to disable smiley images (convert_smilies)
 * Added: option to center TinyMCE (VisualEditor) content within editing area (enhancement
   for large screens)
 * Added: VisualComponent styles for list elements `ul`, `ol`
 * Changed: updated the UI components
 * Changed: `wp-skltn` library updated to **0.16.0** – MPL 2.0 License
 * Changed: sessionStorage is used to store the current active tab instead of cookies
 * Changed: moved sitemap settings to content section
 * Changed: renamed Piwik Analytics to Matomo – see https://matomo.org/blog/2018/
   01/piwik-is-now-matomo/
 * Removed: `jquery-cookie` dependency

### 1.4

 * Added: Option to remove trailing-slashes from all permalinks
 * Added: Option to add `.html` extensions to custom taxonomies – feature requested
   on [WordPress.org Forums](https://wordpress.org/support/topic/add-html-to-custom-taxonomies-categories/)
 * Added: Virtual Permalinks to the Link-Insert-Dialogs. Placeholders like `link://
   post.local/1234` are used and replaced by the real link during rendering – this
   avoids problems with different domains
 * Added: Virtual Permalinks to the Media-Insert-Dialogs. Placeholders like `link://
   attachment.local/1234` are used.
 * Added: Option to remove shortlink from HTTP-Header
 * Added: Option to remove REST-API URL from HTTP-Header
 * Added: Option to disable pingbacks/trackbacks for all posts/pages (set to closed)
 * Added: REST API Monitoring endpoint `<hostname>/wp-json/tweakr/v1.0/monitoring`
 * Changed: By disabling the XMLRPC API the related HTTP-Header **X-Pingback** will
   be disabled
 * Changed: Permalink Settings are moved to the **Content** pane

### 1.3

 * Added: XML Sitemap Generator
 * Bugfix: Plugin Re-Activation doesn’t flush (initialize) the rewrite rules

### 1.2

 * Added: VisualComponents Extension to visualize the HTML Element Structure in 
   Visual Editor Mode (headings,section,p)
 * Added: SMTP Mail Transport settings to deliver mails via external Mailserver
 * Added: Option to remove Rewrite Rules for all types of Feeds (RSS, RTF, ATOM,
   RSS2)
 * Added: Option to add `.html` extensions to **Pages** or **Categories**
 * Added: E-Mail settings to set the mail-from-address as well as mail-from-name
   manually
 * Changed: Settings Page Structure has been modified
 * Changed: New Piwik and Google Analytics Code
 * Changed: “Disable XMLRPC” will now force the `xmlrpc.php` Endpoint to return 
   a HTTP403 Response
 * Changed: TinyMCE Autowidth is set to **95%**
 * Changed: **Disable oEmbeds** removes also the related Rewrite Rules as well as
   the endpoint (embed.php template page)
 * Changed: Renamed the setting of “Fix Mail-From” – has to be activated again

### 1.1

 * Added: Google Analytics Tracking Option
 * Added: Piwik Analaytics Tracking Option
 * Added: Option to set the VisualEditor width to auto (max 80 percent)
 * Added: Mailfrom-Fix – it solves problems with phpmailerExceptions which are caused
   by a malformed/invalid email-from-address.
 * Added: New User Notification Control – enable/disable notification E-Mails for
   admin and/or the new user
 * **PHP >= 5.4** is required

### 1.0

 * Initial public release.

## 中繼資料

 *  版本 **2.2.0**
 *  最後更新 **1 個月前**
 *  啟用安裝數 **30+**
 *  WordPress 版本需求 ** 6.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/tweakr/)
 * 標籤:
 * [email](https://tw.wordpress.org/plugins/tags/email/)[enhancement](https://tw.wordpress.org/plugins/tags/enhancement/)
   [security](https://tw.wordpress.org/plugins/tags/security/)[tools](https://tw.wordpress.org/plugins/tags/tools/)
   [tweaks](https://tw.wordpress.org/plugins/tags/tweaks/)
 *  [進階檢視](https://tw.wordpress.org/plugins/tweakr/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/tweakr/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/tweakr/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/tweakr/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/tweakr/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/tweakr/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/tweakr/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/tweakr/reviews/)

## 參與者

 *   [ Andi Dittrich ](https://profiles.wordpress.org/andi-dittrich/)
 *   [ Aenon Dynamics ](https://profiles.wordpress.org/aenondynamics/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/tweakr/)