Tumblr App Keep Reading Redirects to Same Page
Nosotros come across a lot of dissimilar errors here at Kinsta, and ERR_TOO_MANY_REDIRECTS (likewise known as a redirect loop) is one we see on a regular ground. Typically this occurs after a recent modify on your website, a misconfiguration of redirects on your server, or wrong settings with third-party services. But don't worry, this error is fairly piece of cake to gear up.
Check out the recommendations below on how to gear up this mistake and get your site support and running.
What is the ERR_TOO_MANY_REDIRECTS Error?
The reason for ERR_TOO_MANY_REDIRECTS is pretty much what it sounds like, something is causing too many redirects, sending your website into an space redirection loop.
Essentially the site is stuck (such equally URL one points to URL 2 and URL 2 points dorsum to URL ane, or the domain has redirected y'all also many times) and unlike some other errors, these rarely resolve themselves and volition probably need yous to accept action to ready information technology.
You lot might have likewise come across the error "request exceeded the limit of 10 internal redirects due to probable configuration error".
There are a couple of different variations of this fault depending upon the browser you're running.
Google Chrome
In Google Chrome this error will show asERR_TOO_MANY_REDIRECTS (as seen beneath) or This webpage has a redirect loop problem.
This page isn't working. domain.com redirected y'all too many times.
(Bank check out how to fix Chrome'southward ERR_CACHE_MISS mistake).
Mozilla Firefox
In Mozilla Firefox it will show asThe page isn't redirecting properly (as seen below).
An error occured during a connection to domain.com. This problem can sometimes exist caused past disabling or refusing to accept cookies.
Microsoft Edge
In Microsoft Edge, it will simply show asThis page isn't working correct now (as seen beneath).
Domain.com redirected you too many times.
Safari
In Safari, it will bear witness as Safari Can't Open the Folio (as seen beneath).
Too many redirects occurred trying to open up "domain.com." This might occur if you lot open a page that is redirected to open another page which is then redirected to open the original folio.
Hither are some recommendations and things to bank check to fix the error (sorted in gild past most common reasons we see):
- Delete cookies on that specific site
- Clear WordPress site, server, proxy, and browser enshroud
- Make up one's mind nature of redirect loop
- Cheque your HTTPS settings
- Bank check third-party services
- Bank check your WordPress site settings
- Temporarily disable WordPress plugins
- Cheque redirects on your server
Delete Cookies on That Specific Site
Google and Mozilla both in fact recommend right below the error to "effort clearing your cookies." Cookies can sometimes incorporate faulty data in which could cause the ERR_TOO_MANY_REDIRECTS error. This is one recommendation you tin try fifty-fifty if you lot're encountering the error on a site you lot don't own.
Due to the fact that cookies retain your "logged in" status on sites and other settings, we recommend but deleting the cookie(s) on the site that is having the problem. This mode yous won't impact any of your other sessions or websites that you frequently visit.
Follow the steps below to delete a cookie on a specific website in Google Chrome.
Step 1
In Google Chrome click on the iii small dots in the upper correct-hand corner. Then click on "Settings."
Step 2
Scroll downwards and click on "Avant-garde."
Step 3
Then click on "Content settings."
Stride 4
Click on "Cookies."
Step 5
Then click on "Encounter all cookies and site data."
Footstep half-dozen
Search for the site (domain) where you are encountering the ERR_TOO_MANY_REDIRECTS error. You can then delete the cookie(due south) currently stored on your calculator for that domain. Then try visiting the site once again.
Articulate Server, Proxy, and Browser Cache
Due to the fact that redirect loops are responses that tin can be cached, information technology's always recommended to try immigration the enshroud on your WordPress site, the server, third-party proxy services, and even your browser if necessary.
Subscribe Now
Articulate WordPress Site Enshroud
Depending upon the type of redirect loop, you lot might still exist able to proceeds admission to your WordPress admin dashboard. In this case, yous tin can easily articulate the cache within the settings of your caching plugin. Here are a couple of quick links on how to clear WordPress cache with popular plugins:
- Clear Cache with Cache Enabler
- Clear Cache with W3 Total Cache
- Articulate Cache with Super Enshroud
If y'all're a Kinsta customer, you can easily clear your enshroud from the WordPress admin toolbar.
Clear Server Enshroud
If you can't access WordPress admin, many WordPress hosts have their own control panel tools for clearing the cache on your WordPress site.
If y'all're a Kinsta client, you lot can manually clear WordPress cache from within the MyKinsta dashboard. Merely click on your site, click into tools, and click on the "Clear Cache" button. And so check your site to run into if the redirect loop still exists.
Clear Proxy Cache
If yous're using a third-party reverse-proxy service such as Cloudflare or Sucuri, information technology can likewise exist beneficial to clear the cache on their side.
Cloudflare
To purge Cloudflare cache, login to their dashboard, click into "Caching" and click on "Purge Everything."
Sucuri
To purge Sucuri cache, login to their dashboard, go to "Performance" and click on "Clear Cache."
Articulate Browser Cache
If you want to check and see if it might be your browser cache, without immigration your enshroud, y'all can always open your browser in incognito manner. Or test another browser and see if you lot nevertheless run into the ERR_TOO_MANY_REDIRECTS error.
If yous decide it is being caused by your browser cache, you lot can then articulate it. Below are instructions on how to practice information technology in various browsers:
- How to Force Refresh a Unmarried Page for All Browsers
- How to Clear Browser Enshroud for Google Chrome
- How to Articulate Browser Cache for Mozilla Firefox
- How to Clear Browser Enshroud for Safari
- How to Clear Browser Enshroud for Internet Explorer
- How to Clear Browser Cache for Microsoft Edge
- How to Clear Browser Cache for Opera
Determine Nature of Redirect Loop
If clearing the cache didn't work, then you'll want to see if yous can determine the nature of the redirect loop. This gratuitous online Redirect Checker tool tin can assistance provide some further analysis into what might exist going on. This could also exist washed via ringlet.
For example, on the site below, it has a 301 redirect loop back to itself, which is causing a large chain of faulty redirects. Y'all tin follow all the redirects and determine whether or not information technology's looping back to itself, or perhaps is an HTTP to HTTPS loop in which we'll talk over how to solve that further below.
The Redirect Path Chrome extension tin too be very useful and provides insights into all of the redirects happening on your site (specific URL or page.
Check Your HTTPS Settings
Another matter to check is your HTTPS settings. A lot of times we 've seen ERR_TOO_MANY_REDIRECTS occur when someone has just migrated their WordPress site to HTTPS and either didn't finish or set up something incorrectly.
one. Don't Forcefulness HTTPS Without an SSL Certificate
This is by far the most common reason we see on a regular ground. If yous force your WordPress site to load over HTTPS without kickoff installing an SSL document, you'll instantly throw your site into a redirection loop. To prepare this, simply install an SSL certificate on your WordPress site.
It's likewise recommended to run an SSL cheque. SSL/TLS certificates require not only your main certificate but too what they call intermediate certificates (chain) to also be installed. These need to be set up properly.
We recommend using the free SSL check tool from Qualys SSL Labs. It is very reliable and we use it for all Kinsta clients when verifying certificates. Simply caput over to their SSL bank check tool, input your domain into the Hostname field and click on "Submit." You tin also select the pick to hide public results if you prefer. Information technology could have a minute or 2 to scan your site's SSL/TLS configuration on your spider web server.
two. Don't Use an SSL Plugin, Update your Hard-coded Links
There are some free SSL WordPress plugins, such as the Really Uncomplicated SSL plugin that will help yous automatically redirect to HTTPS. All the same, we don't recommend this method as a permanent solution because third-party plugins tin can always introduce another layer of bug and compatibility problems. It's a good temporary solution, only you should really update your hard-coded HTTP links.
We have a great tutorial with iv easy ways to do a search and replace in WordPress. If you lot're a Kinsta client, you lot can always achieve out to our support team to do this for you too.
3. Bank check HTTP to HTTPS Redirects on Server
It could very well be that perhaps the HTTPS redirect rules on your server were misconfigured.
Redirect HTTP to HTTPS in Nginx
4. Cheque For Too Many HTTPS Redirects
Perhaps y'all simply have too many HTTPS redirects. Y'all can easily check your site to see how many redirects it'due south using with Patrick Sexton's Redirect mapper tool. Here is an example beneath of redirects that are not set up correctly which are easily spottable using the redirect mapper. Yous can see that there are duplicate HTTPS redirects happening on both the www and non-www versions.
Bank check 3rd-Party Services
ERR_TOO_MANY_REDIRECTS is also often usually acquired by reverse-proxy services such as Cloudflare. This unremarkably happens when their Flexible SSL selection is enabled and you already have an SSL certificate installed with your WordPress host. Why? Because, when flexible is selected, all requests to your hosting server are sent over HTTP. Your host server most likely already has a redirect in place from HTTP to HTTPS, and therefore a redirect loop occurs.
To fix this you need to change the Cloudflare Crypto settings from Flexible to either Total or Total (strict). If yous're a Kinsta client, make sure to also check out our steps on how to install an SSL certificate while using Cloudflare.
You can use their Always Use HTTPS page dominion to redirect all users to HTTPS without creating a loop. Another thing to watch out for with Cloudflare is their forwarding URL redirection rules. Exist conscientious non to create a redirect where the domain points to itself as a destination. This can cause an infinite redirect error, and the afflicted URLs will non be able to resolve.
If you're using StackPath, they have an pick called "Origin Pull Protocol" that needs to be gear up to HTTPS only.
Using Cloudflare DNS Only
If you only want to utilize Cloudflare'southward DNS, and not their proxy/WAF service, and so you should make sure your DNS records are set to "DNS But." The clouds will appear as "grey" instead of "orange." Y'all configure this nether the "DNS" tab in the Cloudflare command panel.
Check Your WordPress Site Settings
Some other thing to check is your WordPress site settings. At that place are two different fields you'll want to ensure are gear up correctly, and not pointing at a wrong domain or are mismatched. Another mutual mistake is that you're not using the correct prefix to friction match the rest of your site, www or non-www. Sometimes people migrate hosts, or change domains and these tin can go changed without you realizing it.
- WordPress Accost (URL): The address to reach your weblog.
- Site Address (URL): The accost of your WordPress core files.
Both should friction match unless you are giving WordPress it'south own directory.
Most likely though y'all aren't able to access your WordPress dashboard. And then what you can practise is override the settings above by inputting the values in your wp-config.php file.
The wp-config.php file is typically located at the root of your WordPress site and can be accessed via FTP, SSH, or WP-CLI. To hard-code WP_HOME and WP_SITEURL, simply input the following code towards the top of the file, irresolute the values to reflect your domain.
define('WP_HOME','https://yourdomain.com'); ascertain('WP_SITEURL','https://yourdomain.com');
Beneath is an example of what your wp-config.php file might look like later.
- Change WordPress URL Directly in Database
- Change WordPress URL With WP-CLI
In one case you manually fix information technology, you tin can scan to your site to verify whether or not it fixes the redirect loop.
Multisite
If yous're changing domains on a multisite, make sure to also bank check the wp_blogs
tabular array. We've seen people do a search and replace incorrect and cause an infinite redirect loop. This is because the network site doesn't match the subsites.
wp_#_options
: Each subsite volition have sets of tables that correspond to theblog_id
in thewp_blogs
table. Go to thewp_#_options
tabular array, where # corresponds to theblog_id
, and update the "SITEURL" and "Dwelling house" settings in that tabular array.
Temporarily Disable WordPress Plugins
When information technology comes to WordPress, temporarily disabling all your WordPress plugins can exist a quick way to spot problems. For instance, plugins such as Redirection or Yoast SEO premium permit yous implement redirects. Sometimes settings or updates to these plugins tin disharmonize with redirects that might already be assail your server, causing a redirect loop.
Remember, y'all won't lose whatsoever data if yous simply disable a plugin. Nigh likely you tin't access the WordPress admin, so yous'll need login via SFTP to your server and rename your plugins folder to something like plugins_old. And then check your site again.
If it works, and then you will demand to test each plugin one by one. Rename your plugin binder dorsum to "plugins" and then rename each plugin binder inside of if it, one by ane, until y'all notice information technology. Y'all could also try to replicate this on a staging site first.
Cheque Redirects on Your Server
Too HTTP to HTTPS redirects on your server, it tin can be good to cheque and make certain there aren't whatsoever boosted redirects setup incorrect. For case, one bad 301 redirect back to itself could take downward your site. Commonly, these are found in your server'southward config files.
Apache .htaccess file
Kinsta only uses Nginx, but if you're using a WordPress host that is running Apache, information technology could very well be that your.htaccess
file has a wrong dominion in information technology. Follow the steps beneath to recreate a new one from scratch.
First, login to your site via FTP or SSH, and rename your.htaccess
file to.htaccess_old
. This ensures you have a backup.
Normally to recreate this file you tin but re-relieve your permalinks in WordPress. However, if you're in the middle of an ERR_TOO_MANY_REDIRECTS error you lot virtually likely can't access your WordPress admin, then this isn't an option. Therefore you lot can create a new.htaccess
file and input the following contents. So upload it to your server. The post-obit uses the default settings.
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^alphabetize\.php$ - [Fifty] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /alphabetize.php [L] </IfModule> # Finish WordPress
See the WordPress Codex for more than examples, such as a default.htaccess
file for multisite.
We've taken our knowledge of constructive website management at scale, and turned it into an ebook and video course. Click here to download the The 2020 Guide to Managing 40+ WordPress Sites!
Nginx Config
If your host uses Nginx, this file can be a piddling trickier as the config file can vary a bit depending on the hosting provider. We recommend reaching out to your host and take them cheque your config file for anything that might be causing a redirect loop or besides many redirects.
If you're a Kinsta client, you'll first want to cheque to ensure you didn't set up a redirect incorrect in our redirect tool. Below is a elementary instance of a redirect from https://domain.com/
back to itself, that would cause a redirect loop.
This as well usually happens when the location URL is included in both "Redirect From" and "Redirection To."
For case, the following would crusade a redirect loop:
Redirect From:^/blog/about
Redirect To:https://domain.com/blog/almost-me
Why? Because once the process reached^/blog/nigh
, the remaining part-me
wouldn't affair, and it would cause an infinite loop. You lot have to specify the end of the string and the starter point. Hither is what you would do to fix it:
Redirect From:^/blog/nearly$
Redirect To:https://domain.com/blog/most-me
The $ character will tell Nginx to stop and match the request only if the string is at that place exactly, just nothing afterwards it.
And of course, yous tin always open up a support ticket and we'll check this for you.
Misconfigured Reverse Proxies
Another mutual reason for the ERR_TOO_MANY_REDIRECTS error is if you are using a reverse proxy. Reverse proxies tin be quite complicated and it's very easy to transport your WordPress site into a redirect loop if misconfigured. Again, if you're a Kinsta client, our support team can help with this.
Summary
Redirect loops can sometimes be tricky to runway down. But hopefully, some of the troubleshooting steps above help you to resolve your ERR_TOO_MANY_REDIRECTS error. If we missed anything, experience free to let the states know below in the comments.
Salve fourth dimension, costs and maximize site performance with:
- Instant aid from WordPress hosting experts, 24/7.
- Cloudflare Enterprise integration.
- Global audition reach with 29 information centers worldwide.
- Optimization with our built-in Application Functioning Monitoring.
All of that and much more than, in one plan with no long-term contracts, assisted migrations, and a xxx-twenty-four hour period-money-dorsum-guarantee. Bank check out our plans or talk to sales to find the plan that's correct for you.
Source: https://kinsta.com/blog/err_too_many_redirects/
ارسال یک نظر for "Tumblr App Keep Reading Redirects to Same Page"