Wordpress url http error |
|
Recently we encountered a strange error when trying to add some functionality so that when people click on the “Assortment of Knowledge” tab, it automatically goes to an introduction page.
The wordpress url problemThe problem was that wordpress would try to go to the url “www.programmerinterview http”. Now, this is obviously a url that doesn’t even exist, so it was clear that there was a problem somewhere. And our ISP was obviously telling us that no such url exists. So, we spent about 15 minutes trying to fix the problem until we noticed that there was problem here – see if you can notice it:
See the problem above? Well, it’s just missing a blank space in front of the url! Start with the most obvious mistakesSo, what’s the lesson here? Well, when debugging it’s always best to look at the most obvious things first, since those often account for 50% of the problems that you encounter. Next time we’ll remember to listen to our own advice! |
Subscribe to our newsletter for more free interview questions.
Follow @programmerintvwVaroon Sahgal, Author of ProgrammerInterviewon

