• I am stuck in a weird issue: Some of my hyperlinks(linking to internal pages) have stopped working all of a sudden. What makes me more surprised is when I’m looking into the ‘view page source’ and clicking on the same hyper links; they are working fine. Then why aren’t they working on the landing page?

    I’ll appreciate your help as the problem is beyond my head.

    Best,
    Alex

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi Alex. Can you supply us a link to the page with the issue, as well as what links we should be testing?

    Thread Starter alexwrld

    (@alexwrld)

    The site is not online.
    Please visit the following link and scroll down to the section in which you see three large images of Mohammed Ali, Deepak Chopra and Pure By Andrew Miller.

    I appreciate you sparing time for me.

    https://www.successstories.co.in/

    Thread Starter alexwrld

    (@alexwrld)

    These three sections are just below the front page slider. I hope you are there.

    So, here’s how I’m currently debugging.

    The code by itself works:
    <a href="https://www.successstories.co.in/pure-by-andrew-miller/" rel="bookmark" title="Pure by Andrew Miller"><img src="https://www.successstories.co.in/wp-content/themes/Success/timthumb.php?src=wp-content/uploads/2011/06/Pure-by-Andrew-Miller.jpg&h=290&w=137&zc=1" width="290" height="180" alt="Pure by Andrew Miller" /></a>

    I’m under the impression that you have a javascript click function that is causing the issue, but at first glance through you ~10 javascript files, I couldn’t find what I was looking for.

    What plugin / tool are you using to load those 3 images / links? It may help me find the necessary in your javascript (if my presumption is right)

    I’m 99% sure your javascript is causing the problem, because when I copied the source code and removed references to your javascript files, the issue was resolved.

    Thread Starter alexwrld

    (@alexwrld)

    I’m using the following code in functions.php to upload the images. Does this get you any clue?

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Thread Starter alexwrld

    (@alexwrld)

    You are right. I just checked it by removing the JavaScript. Now my biggest concern is if I remove it, it might hamper some of the functions such as image sliders etc. Is there any other way I could fix this issue?

    Also, why the same JavaScript was working properly for weeks until today?

    Thread Starter alexwrld

    (@alexwrld)

    Oh! I just solved the issue ??
    A million thanks and well wishes to you and your family.

    Regards,
    Alex

    Now my biggest concern is if I remove it, it might hamper some of the functions such as image sliders etc. Is there any other way I could fix this issue?

    Before removing all of the javascript code, I would hold off for a for minutes to see if we can resolve this one.

    Also, why the same JavaScript was working properly for weeks until today?

    Very good question! Without knowing the history / development of your site, changes to your server, etc, I cannot speculate.

    I was actually not looking for the php code, but instead which plugin is loading the images. The problem could be in any one of these files:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    I just tested, and it is working now. Did you resolve it? Did you make any changes? You referenced that you removed Javascript. What javascript exactly did you remove?

    Looks like you posted 11 seconds before me with the update! Congrats, good job on fixing that!

    so what was the fix??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Why some of my hyperlinks (linking to internal pages) are not working?’ is closed to new replies.