How to Fix WordPress Website HTTP Error Code 410

Often, when we enter an incorrect URL, we see an error message that the page does not exist, which is commonly known as a 404 error. Sometimes, a retry may reach the page that was initially visited. However, if that page has been permanently deleted, then we will encounter HTTP error code 410.So, what can we do to fix this 410 error when we encounter it on our WordPress website? Here are some solutions that will help you to deal with this issue easily.

图片[1]-如何解决WordPress网站HTTP错误代码410-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

1. Disable website plug-ins

There are many plugins on WordPress sites and they can sometimes trigger the HTTP Error 410 code. This usually happens when the plugin modifies the URL structure of the page or sets a redirect. However, it is also possible that the 410 error occurs due to compatibility issues between the plugin and the rest of the site. The best way to find out which plugin is causing the problem is to temporarily disable all plugins. Before doing so, remember tobacking upyour website to ensure data security.

In general, when you encounter a 410 error, you can usually still access the WordPress admin backend normally. This means you can manually disable the plugin in the plugin options in the admin backend. If you have previously installed some security plugins or redirection plugins, it is recommended to try disabling them first and then see if the error still occurs.

Although deactivating all the plugins at the same time may affect the normal operation of the site, the aim is to find out which plugin is causing the 410 error as soon as possible. So, try deactivating all plugins first and then see if the error still exists. If the error disappears, you can reactivate these plugins one by one and test them one by one until you find the one that is causing the problem. This way, you can quickly locate and fix the problem.

After finding the problematic plugin, you need to consider whether this plugin is very important for your work. If it's not very important, then you can simply remove it so that the site can return to normal. However, if the plugin is very important, you need to consider finding a new plugin to replace it. Of course, it's also a good idea to contact the developer of this plugin and tell them about the problem you're experiencing to see if they can provide a solution.

图片[2]-如何解决WordPress网站HTTP错误代码410-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

2、Repair the website's .htaccess file

For those who are just starting out with WordPress, the .htaccess file is an important tool that allows you to set up server configurations such as setting up redirects, restricting access, and so on. However, if you ever modify this file, it may accidentally cause a 410 error code to appear on your website. So, be careful when modifying the .htaccess file.

To open a .htaccess file, the easiest way is to connect to your web server via File Transfer Protocol (FTP). If you don't have an FTP client yet, I recommend FileZilla.

After connecting to your site, open your WordPress root folder, usually called www, public_html or named after your site:

Connecting to the WordPress server

Find the .htaccess file here, then right-click on it and select the "View/Edit" command:

Edit .htaccess

This will open .htaccess using your default text editor. By default the file should look like the following before any changes are made:

# BEGIN WordPress



RewriteEngine On

RewriteBase /

RewriteRule ^index\.php$ - [L]

RewriteCond %{REQUEST_FILENAME} ! -f

RewriteCond %{REQUEST_FILENAME} ! -f RewriteCond %{REQUEST_FILENAME} !

RewriteRule . /index.php [L]

</IfModule
图片[3]-如何解决WordPress网站HTTP错误代码410-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

Some web hosts or plugins may modify the .htaccess file. If you see something in this file that starts with "Redirect 410" but is followed by a URL you don't recognize, then this rule may be causing the 410 error. You can try to remove this rule and retest the site to see if the problem is solved.

However, if you don't have any rules set up in your .htaccess file yourself, then the problem may not be here, and you can leave the file alone for now and continue to look for other possible causes of the 410 error.

3. Reinstall the WordPress core files

If the previous two methods didn't solve the problem, there may be something wrong with your WordPress core files. These files are essential for WordPress to function properly. Sometimes, because of misconfiguration or making changes that are not recommended, these files can become corrupted.

However, fixing these core files is actually quite simple.WordPress has a feature that allows you to reinstall the latest version of your content management system (CMS). Doing so usually doesn't affect the functionality or content of your site, but it's always a good idea to back up ahead of time just to be sure.

When you're ready, just go toinstrument panels>update, find the message showing the latest version of WordPress and click on the bottom "reinstallation" button will do.

图片[4]-如何解决WordPress网站HTTP错误代码410-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

Contact Us
Can't read the article? Contact us for free answers! Free help for personal, small business sites!
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: info@361sale.com
Working hours: Monday to Friday, 9:30-18:30, holidays off
© Reprint statement
This article was written by Harry
THE END
If you like it, support it.
kudos0 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments