Remove Error: "Too Many Redirects"

Project information

  • Category: Website
  • Client: Adam Gajic
  • Project initial date: Marck 2023
  • Project status: In production
  • Languages: PHP and CSS

Metamoney.land is a website that was facing an issue of "Too Many Redirects". This error message can be frustrating for users who are trying to access the website. However, I was able to solve this issue by using a combination of PHP and CSS.
Firstly, I analyzed the code to identify the root cause of the error. It turned out that there was an infinite loop of redirects occurring due to a misconfigured server setting. To resolve this issue, I used PHP to modify the website's .htaccess file. This file is responsible for configuring the website's server settings.

I added a new line of code that would redirect all requests to the website's homepage. This helped to break the infinite loop and prevented further redirects from occurring. Additionally, I used CSS to style the error message page that users were seeing when they encountered the issue.
With these changes, the issue of "Too Many Redirects" was resolved, and users were able to access the website without any issues. It was a great feeling to have helped fix this problem, and I am glad that my knowledge of PHP and CSS was able to make a positive impact.

View Project

Designed by Abdullah Chaudhary