简体   繁体   English

如何修复WordPress中的这些404错误?

[英]How to fix these 404 errors in WordPress?

So, I've been looking for a way to sort out these 404 errors on a WordPress site. 因此,我一直在寻找一种方法来解决WordPress网站上的这些404错误。 This log is compiled using the Redirection plugin for WP. 该日志是使用WP重定向插件编译的。 Anyway, how would you go about sorting out these 404 errors? 无论如何,您将如何解决这些404错误? Any advice would be greatly appreciated. 任何建议将不胜感激。

So, these mostly appear to be bots scraping the site (atleast it appears that way from the User Agent Info.) Where are they getting these URL's? 因此,这些似乎主要是机器人在抓取该网站(至少从用户代理信息中以这种方式出现)。它们从何处获得这些URL?

WP 404错误日志

What you can do you can redirect these links to the home page best way to make it SEO friendly there are so many ways you can archive this by adding code in htaccess or this plugin can be most useful in this issue: 您可以做些什么,可以将这些链接重定向到主页,使其成为SEO友好的最佳方法。您可以通过多种方式通过在htaccess中添加代码来对此进行归档,或者此插件在此问题中可能最有用:

All 404 Redirect to Homepage 所有404重定向到首页

Redirect 404 Error Page to Homepage or Custom Page with Logs 将404错误页面重定向到带有日志的主页或自定义页面

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM