ERR_TOO_MANY_REDIRECTS on Some WordPress Pages: Find the Loop
Only some WordPress pages loop with ERR_TOO_MANY_REDIRECTS? Trace the redirect with curl and find the rule in .htaccess, plugins or Cloudflare.
💡 .htaccess is a hidden configuration file that can control how your server runs your website. Most notably, WP modifies this file to be able to handle pretty permalinks.
Here you can find useful .htaccess code snippets and tips.
Only some WordPress pages loop with ERR_TOO_MANY_REDIRECTS? Trace the redirect with curl and find the rule in .htaccess, plugins or Cloudflare.
Bots hitting /post-slug/feed/ thousands of times? Find them in the access log, cache feeds and redirect post feeds in .htaccess or nginx.
Getting a 413 error when you save a WordPress page? Find whether Nginx, ModSecurity or Apache sent it and raise the right limit without disabling the WAF.
After migrating a WordPress website ot another cPanel account, the website displayed 500 error, and the following was recorded inside the error_log file: [17-Aug-2022 12:46:18 Europe/Belgrade] PHP Fatal error: Unknown: Failed opening required ‘/home/XXXXX/XXXXX.com/wordfence-waf.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) in Unknown on line 0 WordFence adds rules to .htaccess file to include the wordfence-waf.php file by full path: php_value … Read full article →
I have a WordPress blog on pcelarstvopejcic.com/blog and a few pages that I would like to move to the domain document root, so that: pcelarstvopejcic.com/blog/contact becomes pcelarstvopejcic.com/contact pcelarstvopejcic.com/blog/shop becomes pcelarstvopejcic.com/shop So this way I only have one WP installation and blog posts would be accessible via pcelarstvopejcic.com/blog/POST and pages in pcelarstvopejcic.com/PAGE To do this, edit … Read full article →
The .htaccess file is a configuration file that is used by the Apache web server to control various aspects of how the server functions. In WordPress, the .htaccess file is used to control various settings related to the permalinks of your website, as well as to protect your website from various types of attacks. The … Read full article →
We occasionally find ourselves in a situation where we need to test the website first, then point the domain name if everything is in order. To achieve this there are multiple ways: Edit Hosts file on your local computer Use online service such as skipDNS Access WordPress using temporary server URL In this guide We … Read full article →
There are a few different ways that you can block access to your WordPress website if a user is coming from a specific website: Blocking access using a plugin There are several WordPress plugins that allow you to block access to your website based on the referral URL. These plugins typically allow you to specify … Read full article →
To check the current WordPress file upload limit, navigate to WordPress dashboard, click Media -> Add, and the upload limit will be displayed on the bottom. And the second method, edit your theme’s functions.php file and add the following
When editing the menu in customizer the changes failed to save with the error message: Looks like something’s gone wrong. Wait a couple seconds, and then try again. And when inspecting the page the following error appears: POST http://plugins.club/wp-admin/admin-ajax.php 403 (Forbidden) The 403 error is caused by something blocking access to the file such as … Read full article →