WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My Wordpress site is having a bad URL structure when I'm adding new URL.

For example in comments, when commentators fill in their website, it always has this structure http://mysite.com/www.commentorsite.com/.
The same thing happens in my side bar widget. When I add new text widget and put something like this <a href="facebook.com/mypage" title="Find Us On Facebook"><span class="social">Find Us on Facebook</span></a>, the result showing this instead http://mysite.com/facebook.com/mypage.

Could anyone help me solve this please!

share|improve this question
up vote 3 down vote accepted

You need to start your links with http://


  1. The link facebook.com/mypage becomes http://facebook.com/mypage

  2. The link www.commentorsite.com/ becomes http://www.commentorsite.com/

This will stop the links becoming http://mysite.com/www.commentorsite.com/ or http://mysite.com/facebook.com/mypage

share|improve this answer
Great! It's working. Thanks you very much +1! – Sok Vanrithy Oct 28 '12 at 1:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.