Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rocket domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/practical-tips.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the mailchimp-for-wp domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/practical-tips.com/wp-includes/functions.php on line 6114

Notice: 函数 _load_textdomain_just_in_time 的调用方法不正确soledad 域的翻译加载触发过早。这通常表示插件或主题中的某些代码运行过早。翻译应在 init 操作或之后加载。 请查阅调试 WordPress来获取更多信息。 (这个消息是在 6.7.0 版本添加的。) in /var/www/practical-tips.com/wp-includes/functions.php on line 6114
让WordPress网站下线:如何 - Practical Tips

让WordPress网站下线:如何

by Michaela

让WordPress网站下线,无论是快速维护还是永久关闭,都需要精确。

让WordPress网站下线:临时解决方案

让WordPress网站下线相当容易,但网站并不总是需要永久消失。使用以下方法可以暂时阻止访问,而不会造成数据丢失的风险。

  • 使用维护模式插件: 安装WP维护模式或SeedProd。激活插件,设计一个带有倒计时或联系表单的自定义页面,并限制特定用户角色的访问权限。示例:在SeedProd中,选择一个模板,自定义文本,然后一键激活模式——访问者将立即看到锁定页面。

  • 通过维护文件手动维护模式:在WordPress安装的根目录下,创建一个名为.maintenance的文件。粘贴以下代码:。页面将显示一条标准消息。完成后删除该文件。

  • htaccess高级指令:打开根目录下的.htaccess文件。插入以下几行:复制,然后按顺序输入deny,allow Deny from all。注意:允许您的IP地址继续访问:允许来自123.45.67.89

  • 更新后不要忘记删除.maintenance文件,否则网站将一直处于被封锁状态。

  • 请务必先在本地测试对.htaccess的更改,以避免服务器错误。

永久关闭您的WordPress网站

当不再需要某个网站时,仅仅删除插件是不够的。这涉及到完全删除和取消托管。

  • 创建备份:通过FTP(例如使用FileZilla)备份所有文件,并通过phpMyAdmin导出数据库。UpdraftPlus等工具可以自动完成此过程。

  • 删除文件和数据库:通过FTP连接到服务器。删除根目录中的所有文件夹(例如public_html)。打开主机面板(cPanel/Plesk)并删除MySQL数据库。

  • 取消域名和主机:登录主机提供商,取消套餐并停用自动续费。对于域名:转移或让其过期。

  • 删除谷歌可见性:使用谷歌搜索控制台从索引中删除页面。这样,您可以避免孤立的搜索结果。

  • 检查法律义务:根据《通用数据保护条例》(GDPR)删除存储的客户数据,并通知新闻简报订阅者关闭账户。

Related Articles

Leave a Comment