| 开发者 | szokoladam |
|---|---|
| 更新时间 | 2025年11月20日 06:08 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.8 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Using sunrise.php for all installations creates a common, robust architecture. It is the most reliable way to intercept a request for an .onion domain before WordPress determines the primary site URL, which helps prevent redirect loops and ensures proper site loading. This plugin automates the initial setup.
For security reasons, your wp-config.php file may not be writable by the server. This is normal. Simply open the file and manually add this line before the line that says / That's all, stop editing! Happy publishing. /: define( 'SUNRISE', true );
This plugin is designed to be careful. It uses the WordPress Filesystem API and only attempts to write to the file if the SUNRISE constant is confirmed to be missing. If your server permissions don't allow the write, the plugin will fail safely and instruct you to perform the action manually.