"Too many redirects" from webpage made with Namecheap and github hosting

"Too many redirects" from webpage made with Namecheap and github hosting - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the "Too many redirects" from webpage made with Namecheap and github hosting error on your web browser. Problem :


I have set up my first small static webpage using Namecheap and Github for hosting: http://www.keithgardner.me



The webpage has typically loaded fine on Mac computers and iOS devices. I noticed tonight on my Mac running 10.10.3 (the newest Yosemite as of April 15, 2015), the webpage would not load using Safari. It gave me the error "Too many redirects trying to load the page ..."



I did notice on chrome browser on a windows computer the same error occurred. The whole structure of my webpage is open source on github here https://github.com/keithgardner2/keithgardner2.github.io



I would love if someone could give me insight as to what is happening here. All I am using is html and CSS for the styling.



Thanks in advance!


Solution :

The link you provided (github.com/keithgardner2/keithgardner2.github.io) works fine. However, the domain name keithgardner.me has 3 A records - 2 are github.com and 1 is NameCheap. There has to be something that NameCheap is doing incorrectly. In fact, this is likely far too complicated a set-up for what you are trying to do.



I suggest logging onto your registrar's control panel and deleting your 3 A records. You do not need NameCheap. But take notes anyway just in case you need to drop back!



You can replace your A records with 2 CNAME records.



One would point your domain name keithgardner.me to github.com/keithgardner2/keithgardner2.github.io and the other would point www.keithgardner.me to github.com/keithgardner2/keithgardner2.github.io.



That should be all you need to make this work properly.



I had the same issue, and the solution was for me that in my github CNAME file, I had to change my webpage title. So after I changed it to "www.mywebpage.hu" (before it was without "www."), then no more redirect problems happened. I've checked your CNAME, and you don't have 'www.' too, maybe it will help if you complete your title with this.


We hope that this article has helped you resolve the web-hosting, redirects, github error in your web browsers. Enjoy browsing the internet uninterrupted!

Comments

Popular posts from this blog

How to redirect to any domain [duplicate]

"302 found" for index page bad for SEO?

Create redirect from url like www.example.us/?p=100&option=