Problem with external links in sidebar of wordpress blog

2 replies
  • WEB DESIGN
  • |
HI,

I exchanged links with few sites. I needed to put those external links on the sidebar of my wordpress blog. I used text widget to include the anchortext. like this <a href="http://external.com."> external link</a>. but whenever I click that anchor text it opens a link whithin my site i.e. http://mysite.com/"http://external.com", which results in a 404 error.

plz help me out with this, I also tried including those links in the sidebar.php code.
#blog #external #links #problem #sidebar #wordpress
  • Profile picture of the author jumpa
    Hi Umar,
    are you sure you type <a href="http://external.com."> external link</a>
    not <a href=".http://external.com."> external link</a>?
    [see , there is a "period" before http]
    {{ DiscussionBoard.errors[5087328].message }}
  • Profile picture of the author mikeavery10
    Please check your code and delete the fullstop mark after com

    <a href="http://external.com.-----Delete it"> external link</a>
    {{ DiscussionBoard.errors[5087337].message }}

Trending Topics