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 problem

The 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:

Wordpress HTTP problem url

See the problem above? Well, it’s just missing a blank space in front of the url!

Start with the most obvious mistakes

So, 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!

Hiring? Job Hunting? Post a JOB or your RESUME on our JOB BOARD >>

Subscribe to our newsletter for more free interview questions.

Comments are closed.