Has your WordPress website all of a sudden got “This webpage has a redirect loop” show up instead of your website pages? Lucky enough theres a simple solution for this! Go into your WordPress dashboard and go down to Settings > Permalinks.
Briefly select a different setting of permalinks, so if you use Post name, swap it to Numeric and select Save Changes. You can then refresh your homepage and see that the error is gone, you can now go ahead and select your original permalink setting and select Save Changes again.