[wordpress插件] 404 Not found report404找不到报告

wordpress 插件 文章 2020-01-22 02:00 741 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

Track your 404 hits!

跟踪您的404点击!

Do you keep track of your 404 not found hits ?

您是否跟踪404未找到的匹配?

If you don’t, try this simple plugin.

如果没有,请尝试使用此简单的插件。

It will keep track of the hits on your 404 not found page.

它将跟踪“ 404未找到”页面上的匹配。

Useful for what ?

对什么有用吗?

Well, probably you removed or relocated some categories, pages, posts etc etc a while ago or maybe just a couple of weeks without knowing anymore.

好吧,可能您是在不久前或仅几个星期就不知道的情况下删除或重新定位了某些类别,页面,帖子等。

Right now it sucks search engines already checked your website and took a notice of those URI’s or maybe you have some anchors on your own website pointing to moved URI’s.

现在,它很烂,搜索引擎已经检查了您的网站并注意到了这些URI,或者您自己的网站上有一些指向已移动URI的锚点。

Those visitors arrives on your 404 not found page with a notice that the page they are looking for not exists anymore.

这些访问者到达您的“ 404未找到”页面,并通知他们正在寻找的页面不再存在。

Some visitors will stay on your site and look for the particular page, but the other group leaves immediately.

一些访问者将留在您的网站上并寻找特定页面,而其他访问者则立即离开。

What a shame…

真可惜...

What does this plugin do ?

此插件做什么?

This plugin tracks those visits on your 404 – not found page.

此插件在您的404(未找到)页面上跟踪这些访问。

It stores the time, requested URI and Referer.

它存储时间,请求的URI和Referer。

More information is absolutely not needed.

绝对不需要更多信息。

The time and referer does already overdo it, but maybe you can get some extra information out of it.

时间和引荐来源确实已经过时了,但是也许您可以从中获得更多信息。

Thos information is stored in a txt file since i found it quite useles to create a new table or use the database in the first place.

这些信息存储在txt文件中,因为我发现它很有用来创建新表或首先使用数据库。

With 1 single click on the button you empty the file when you’re done with taking the appropriate actions on the results.

完成相应操作后,只需单击1次按钮即可清空文件。

You may want to add rewrite conditions @ your .htaccess file or use a seperate plugin for adding redirects.

您可能想要在.htaccess文件中添加重写条件,或使用单独的插件添加重定向。

You can check the report within the admin settings menu – 404 report

您可以在管理设置菜单中查看报告-404报告

How do i get it to work ?

我如何使其工作?

Simple!

简单!

1) Upload this plugin into your plugin directory.

1)将此插件上传到您的插件目录。

Activate the plugin: admin->plugins.

激活插件:admin-> plugins。

2) Open your 404.php page within your theme and add the following snippet somewhere on that page.

2)在您的主题内打开404.php页面,并在该页面的某处添加以下代码段。

[php]

[php]

404 reporting

404报告

if (class_exists(‘NotFound_404’)){
    

if(class_exists('NotFound_404')){
    

$Error404 = new NotFound_404();
        

$ Error404 = new NotFound_404();
        

$Error404->Log404Error();

$ Error404-> Log404Error();

}

}

[/php]

[/ php]

3) Change the permissions (CHMOD) of the file 404.txt to 600.

3)将文件404.txt的权限(CHMOD)更改为600。

Have fun logging!

玩得开心!

Development Blog

发展博客

Online-Source WordPress plugins

在线源WordPress插件

>

>

安装步骤
下载地址

https://downloads.wordpress.org/plugin/404-not-found-report.zip

https://downloads.wordpress.org/plugin/404-not-found-report.zip

-EOF-

AI助手支持GPT4.0