Hyperlink problem

Discussion in 'Web Design' started by eugenekhay, Feb 10, 2012.

  1. eugenekhay

    eugenekhay Regular Member

    Joined:
    Jan 10, 2012
    Messages:
    287
    Likes Received:
    58
    Hey, I was hoping somebody might be able to give me some advice. I ran into a small problem hyperlink problem on my website and just cant seem to figure it out.

    I have a few links on my website that are suppose to open in a new tab. They were working fine when i first set them up, but when I clicked on one of the links yesterday I saw that it opens the page in a new tab and also opens the page in the current tab. So when you press the link two pages open one new one and one in the same tab. I then checked all the links targeting new tabs on my website, and they all do the same thing. I tried switching between target="anything", target="new", target="_blank", and target="blank" but have had no luck.

    Has anyone come across this problem before, I am running my site on wordpress, so I tried disabling some newly added plugins but this did not help. (My guess is its a JS problem)

    If you would like the link to my site PM me.

    Thank you
     
  2. Malazath

    Malazath Newbie

    Joined:
    Jan 25, 2012
    Messages:
    28
    Likes Received:
    4
    Could you post an example of what your links look like? I would be happy to help you :)
     
  3. eugenekhay

    eugenekhay Regular Member

    Joined:
    Jan 10, 2012
    Messages:
    287
    Likes Received:
    58
    <a href="URL" target="new">TEXT</a>
     
  4. Malazath

    Malazath Newbie

    Joined:
    Jan 25, 2012
    Messages:
    28
    Likes Received:
    4
    Use:

    Code:
    <a href="/Path/To/Your/Link" target="_blank">This is a hyperlink</a>
    Once you uploaded your edit make sure you or your host is not using a CDN (Cloudflare, etc.) If you are then clear the CDN cache. As well clear your browser cache.

    If that does not work feel free to pm me the site and I will take a look for you.
     
    • Thanks Thanks x 1