PHP question?

Discussion in 'Coding Help' started by blue4ever, Nov 4, 2010.

Tags:
  1. blue4ever

    blue4ever New Member

    I had a site developed last year - all ok - but..

    For this post lets say it's "www.example.ie"

    All the links are 'relative' to the absolute address of the site therefore if I have a link address of an article article1234 - it automatically becomes "www.example.ie/article1234" on the page.

    Now that fine as the vast majority of the links are internal.

    Now If I put in a link <a href="www.rte.ie">RTE</a> it comes up on the page as
    "www.example.ie/www.rte.ie"

    Can anyone advise on a way to - just for this link and not sitewise, to kill the site root portion of the link?

    Cheers

    C
     
  2. jol

    jol New Member

    have you tried putting the http:// in front of the link? It should work then.
    jol
     
  3. louie

    louie New Member

    jol is right. You need to put http:// before www.
     
  4. blue4ever

    blue4ever New Member

    Thanks for that and also for helping me put the brain in gear!
     

Share This Page