The WordPress community offers lots of helpful guides and tutorials, to solve problems with HTTP Loopback or (Endless Ping) that lots of plugins and web hosting settings use. However, when newbies find themselves without options to add or enable that setting, they simply contact their web hosting company for support.
The problem here is that some companies will never have that option to enable or configure. Luckily, you can use another solution that works with the majority of cases. All you need is to add the below code to your wp-config.php file and save it.
This code will use the alternative Cron job system that can solve the problem generally. WordPress uses the Cron Jobs to schedule upgrades, caching, or any other programmed task, such as the backup and much more.
But, when the Cron job function is not enabled or has some issues, especially with scheduling configurations, things become hard to manage on shared hosting. That’s why the above code should be used as an alternative fix if your hosting provider can’t help.
- You can also read: Fixing the connection timed out for WordPress.
If you don’t have any idea about the wp-config.php file in WordPress, then follow these steps. Login to cPanel and find the File Manager as the following screenshot example.
Now, you will get a pop-up window, just click “Go” and you will get all your blog files. Next, locate the file wp-config.php that should be in the root directory.
Select the file and click “Edit” from the menu at the top of the page. You will get the file opened in a new window, paste the code, just after the
<?php at the top of the page.
You can put it anywhere you want in the PHP declaration, but, using the code between the first and the third lines will make things clear for you in the future. When you want to move to another hosting later, you can easily notice that code and delete it.
If you don’t have cPanel access, sure you have an FTP account. You need to use any FTP client software, I recommend Filezilla. It’s a free and open-source tool that makes things professional and easier.
What you need is to download the exact file, add your code, then save it back and upload it.
Or, use the edit option in Filezilla, you will get the file downloaded to edit it. Finally, when you add the code, save the file and it will ask you to update the real file, accept and you will replace the old file.
Of course, you can clear your web browser cache, that’s better to verify things and you will avoid getting cached pages that have the problem.
If you are still unable to fix the problem, then, disable your caching plugin. That can fix the HTTP caching system that can cause the problem.
If nothing happens, then you should move to another hosting provider, I recommend WP Engine for serious hosting seekers, it’s a premium managed WordPress hosting. Or, use HostGator as the best alternative at a cheaper price.
You will save your time and money searching for solutions every time you install a new plugin and many other settings that should be working automatically. WordPress is a PHP and MySQL-based software.
That means lots of HTTP requests and optimized servers can work well with WordPress and make your site load faster.