Title: Safe Headers Scanner
Author: amir tohidlo
Published: <strong>8 Tháng 10, 2025</strong>
Last modified: 8 Tháng 10, 2025

---

Tìm kiếm plugin

![](https://ps.w.org/safe-headers-scanner/assets/icon-256x256.png?rev=3375007)

# Safe Headers Scanner

 Bởi [amir tohidlo](https://profiles.wordpress.org/tohidlo/)

[Tải về](https://downloads.wordpress.org/plugin/safe-headers-scanner.1.2.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/safe-headers-scanner/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/safe-headers-scanner/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/safe-headers-scanner/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/safe-headers-scanner/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/safe-headers-scanner/)

## Mô tả

Safe Headers Scanner helps WordPress administrators identify common issues that 
may cause header-related problems.
 The plugin scans installed themes and plugins
for: * Unnecessary whitespace before `<?php` tags * Extra whitespace after closing`?
>` tags * Direct output (e.g., `echo`, `print`) before headers are sent

Results are displayed in a clear report, so you can review and fix potential issues
easily.

## Ảnh màn hình

[[

## Cài đặt

 1. Upload the `safe-headers-scanner` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to **Tools > Safe Headers Scanner** to scan your themes or plugins.

## Hỏi đáp

### Does this plugin automatically fix issues?

No. It only scans and reports possible issues. You need to manually review and fix
them.

### Will it slow down my website?

No. The scan only runs when you request it from the admin panel. It does not affect
frontend performance.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Safe Headers Scanner” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ amir tohidlo ](https://profiles.wordpress.org/tohidlo/)

[Dịch “Safe Headers Scanner” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/safe-headers-scanner)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/safe-headers-scanner/), 
check out [SVN repository](https://plugins.svn.wordpress.org/safe-headers-scanner/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/safe-headers-scanner/)
qua [RSS](https://plugins.trac.wordpress.org/log/safe-headers-scanner/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.0

 * Initial release.

#### 1.1

 * Fixed path handling by replacing hardcoded WP_CONTENT_DIR references with get_theme_root()
   and WP_PLUGIN_DIR.
 * Improved asset handling by replacing inline and with wp_register_script(), wp_add_inline_script()
   and wp_add_inline_style().
 * Added explicit versioning for enqueued resources to comply with WordPress coding
   standards.

#### 1.2

 * Replaced WP_PLUGIN_DIR with plugin_dir_path() for improved compatibility with
   non-standard WordPress setups.

## Meta

 *  Phiên bản **1.2**
 *  Cập nhật lần cuối **9 tháng trước**
 *  Số lượt cài đặt **Ít hơn 10**
 *  Phiên bản WordPress ** 5.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.8.5**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/safe-headers-scanner/)
 * Thẻ
 * [debug](https://vi.wordpress.org/plugins/tags/debug/)[headers](https://vi.wordpress.org/plugins/tags/headers/)
   [plugins](https://vi.wordpress.org/plugins/tags/plugins/)[scanner](https://vi.wordpress.org/plugins/tags/scanner/)
   [security](https://vi.wordpress.org/plugins/tags/security/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/safe-headers-scanner/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/safe-headers-scanner/reviews/)

## Những người đóng góp

 *   [ amir tohidlo ](https://profiles.wordpress.org/tohidlo/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/safe-headers-scanner/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://tohidlo.com)