[wordpress插件] BusinessPress商业出版社

wordpress 插件 文章 2020-03-14 10:00 496 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Here are the plugin features:

以下是插件功能:

WordPress Updates

WordPress更新

WordPress has a major release three times per year, each time with a risk of breaking the way your website works.

WordPress每年都会发布三次重要版本,每次都会破坏您网站的工作方式。

This plugin removes most of the messages to update (button from dashboard, the admin footer link and admin notice), while adding more information about versions to the updates page.

该插件删除了大多数要更新的消息(仪表盘上的按钮,管理页脚链接和管理通知),同时在更新页面上添加了有关版本的更多信息。

You will see which version you are running and which versions which are available to you and given a choice about your updates.

您将看到正在运行的版本以及可以使用的版本,并可以选择更新。

WordPress also automatically updates your website to the latest minor release.

WordPress还会自动将您的网站更新为最新的次要版本。

We like that, but these updates can cause issues as well.

我们喜欢这样,但是这些更新也会引起问题。

That’s why BusinessPress delays the updates for 5 days.

这就是BusinessPress将更新延迟5天的原因。

This plugin also allows you to prevent your client from installing new plugins (many of which could either cripple or slow their website) while allowing clients to safely take care of existing plugin updates themselves.

此插件还允许您阻止客户端安装新的插件(其中许多插件可能会使他们的网站瘫痪或减慢速度),同时允许客户端自己安全地维护现有的插件更新。

You can disable the following capabilities for other admin users

您可以为其他管理员用户禁用以下功能

    • Activate and deactivate plugins and themes
    • 激活和停用插件和主题

    • Update plugins and themes
    • 更新插件和主题

    • Update WordPress core
    • 更新WordPress核心

    • Install, Edit and delete plugns and themes
    • 安装,编辑和删除插件和主题

    Unnecessary WordPress features

    不必要的WordPress功能

    Plugin by default disables the generator tag, REST API and Emojis to keep your site secure and fast.

    默认情况下,插件会禁用generator标签,REST API和Emojis,以确保您的网站安全快速。

    However you can enable these features back on if you prefer, just like the XML-RPC or oEmbed.

    但是,您可以根据需要重新启用这些功能,就像XML-RPC或oEmbed。

    Login Logo

    登录徽标

    You can set your login logo and wp-admin color.

    您可以设置登录徽标和wp-admin颜色。

    Admin Notices

    管理员声明

    Plugin by default moves the admin notices into Dashboard -> Notices screen where you can dismiss each notice.

    默认情况下,插件会将管理员通知移至“仪表板->通知”屏幕,您可以在其中关闭每个通知。

    More and more plugins show their notices (some more important, some less) so BusinessPress cleans that up to keep you focused.

    越来越多的插件显示它们的通知(一些更重要,一些更少),因此BusinessPress会对其进行清理以使您专注。

    Login Protection

    登录保护

    Plugin also supports fail2ban, see install instructions.

    插件也支持fail2ban,请参阅安装说明。

    Tweaks

    调整

      • Enable Google style results – Gives you similar layout and keyword highlight.
      • 启用Google样式结果–为您提供相似的布局和关键字突出显示。

      • Enable Link Manager – Legacy feature of WordPress, hidden since version 3.5.
      • 启用链接管理器– WordPress的旧版功能,自3.5版起已隐藏。

      • Enhance wp-admin Dropdowns – Makes long, unwieldy select boxes much more user-friendly, including search functionality.
      • 增强wp-admin下拉菜单–使长而笨拙的选择框更加用户友好,包括搜索功能。

      • Login redirection – After you log in you will be redirected back to the page where you clicked wp-login.php link, unless there was a custom redirect_to parameter.

      • 登录重定向–登录后,除非有自定义的redirect_to参数,否则您将被重定向回到单击wp-login.php链接的页面。

        Uses HTTP referer.

      • 使用HTTP引荐来源网址。

      • Set Featured Images Automatically – First image in the post becomes the featured image on save.
      • 自动设置特色图片-帖子中的第一张图片在保存时成为特色图片。

      • WordPress core hotfix – are you getting error like “Unable to create directory ../images/2019/11.

      • WordPress核心修补程序–您是否收到类似“无法创建目录../images/2019/11。

        Is its parent directory writable by the server?”

        服务器的父目录可以写吗?”

        Since October 2019 WordPress doesn’t support ../ in the upload path.

        自2019年10月起,WordPress在上传路径中不支持../。

        So we translate that path to absolute path and check if it’s in the site webroot and then let it pass

      • 因此,我们将该路径转换为绝对路径,并检查它是否在网站的webroot中,然后让它通过

      Credits

      积分

      This plugin integrates some of the amazing WordPress plugins which keep it lean and removed the unnecessary features:

      此插件集成了一些令人惊叹的WordPress插件,可使其保持精简并删除了不必要的功能:

      Disable Embeds by Pascal Birchler with our own improvements

      通过我们自己的改进禁用Pascal Birchler的嵌入

      Disable Emojis by Ryan Hellyer

      禁用Ryan Hellyer的表情符号

      Disable REST API by Dave McHale

      禁用Dave McHale的REST API

      Login Logo by Mark Jaquith with our own improvements

      Mark Jaquith的登录徽标具有我们自己的改进

      WP Chosen by John James Jacoby with some small performance improvements

      约翰·詹姆斯·雅各比(John James Jacoby)选择的WP,在性能上做了一些小改进

      Support

      支持

安装步骤

Basic install

基本安装

If you are using WordPress Multisite, make sure you Network Activate the plugin.

如果您使用的是WordPress Multisite,请确保您通过网络激活插件。

Plugin will disabled your admin notices, generator tag, REST API and Emojis out of the box – see plugin description.

插件将立即禁用您的管理员通知,生成器标记,REST API和表情符号–请参阅插件说明。

To lock down your site permissions simply click the notice or go to Settings -> BusinessPress.

要锁定站点权限,只需单击通知或转到“设置”->“ BusinessPress”。

There you will be allowed to lock down the admin privileges to your own email address or your email domain (in case you want to keep admin access for your entire company).

在那里,您可以将管理员权限锁定到您自己的电子邮件地址或电子邮件域(以防您要保留整个公司的管理员访问权限)。

From that point forward, you will have to elevated admin privileges over the website.

从那时起,您将不得不提高对网站的管理员特权。

Fail2ban

Fail2ban

To protect against bruteforce hacking of WordPress login form and XML-RPC:

为防止WordPress登录表单和XML-RPC的暴力破解:

    1. Install fail2ban, you will need root access to your server running on Linux
    2. 安装fail2ban,您将需要对Linux上运行的服务器的root访问权限

    3. Setup fail2ban filter for BusinessPress, just copy plugin file fail2ban/wordpress.conf into /etc/fail2ban/filter.d/wordpress.conf
    4. 为BusinessPress设置fail2ban过滤器,只需将插件文件fail2ban / wordpress.conf复制到/etc/fail2ban/filter.d/wordpress.conf

    5. Setup fail2ban jail for BusinessPress, just copy plugin file fail2ban/jail.local into /etc/fail2ban/jail.local
    6. 为BusinessPress设置fail2ban监狱,只需将插件文件fail2ban / jail.local复制到/etc/fail2ban/jail.local

    Note that if you are on cPanel you might need to adjust the logpath variable to /var/log/messages

    请注意,如果您使用的是cPanel,则可能需要将logpath变量调整为/ var / log / messages

      1. Restart fail2ban daemon
      2. 重新启动fail2ban守护程序

      3. Do some bad login attempts and you should be able to see entries being added at the end of /var/log/auth.log
      4. 进行一些错误的登录尝试,您应该能够看到/var/log/auth.log结尾处添加的条目

      Note that if you are on cPanel you might need to check the log at /var/log/messages

      请注意,如果您使用的是cPanel,则可能需要检查/ var / log / messages中的日志

        1. You can use a command like this to check ban status: fail2ban-client status wordpress
        2. 您可以使用以下命令来检查禁令状态:fail2ban-client status wordpress

        3. For troubleshooting try this command to check if your filter works: fail2ban-regex /var/log/auth.log /etc/fail2ban/filter.d/wordpress.conf
        4. 要进行故障排除,请尝试使用以下命令来检查您的过滤器是否正常工作:fail2ban-regex /var/log/auth.log /etc/fail2ban/filter.d/wordpress.conf

        5. To remove a ban use fail2ban-client set wordpress unbanip IPADDRESSHERE
        6. 要删除禁令,请使用fail2ban-client set wordpress unbanip IPADDRESSHERE

下载地址
https://downloads.wordpress.org/plugin/businesspress.zip
-EOF-

AI助手支持GPT4.0