Support » Fixing WordPress » How to remove this code

  • Resolved ms9988

    (@ms9988)


    Good day.

    Since yesterday an unknown hyperlink is showing at the top of my webpage. I dont know if someone accessed to my wordpress dashboard or my hosting account. i have changed the passwords now.

    Please have a look at my page.
    [Redundant link redacted]

    Please tell me where i can find this code to remove this.

    Regards.

    • This topic was modified 2 years, 11 months ago by t-p.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter ms9988

    (@ms9988)

    this is the text of hyperlink: “Phil McConkey Womens Jersey”

    Roger

    (@desertstsndard)

    Hi,

    Something is creating that link in your site. It could be from a plugin or theme.

    I would start with turning off all plugins and seeing if it goes away. If it does then turn them on one at a time till is shows back up. Then you will know what plugin is causing it.

    If turning off plugins doesn’t make it go away, leave them off and change theme to a WordPress standard like twentyseventeen. If that works then you know its the theme.

    Let us know if either of those work.

    Sincerely,
    Roger

    Moderator t-p

    (@t-p)

    Moved topic from “Everything else WordPress” to Fixing WordPress

    If you didn’t add that in there, there’s a very high chance that your site has bene hacked.

    https://codex.wordpress.org/FAQ_My_site_was_hacked
    https://codex.wordpress.org/Hardening_WordPress

    First, turn off all plugins and themes.

    Thread Starter ms9988

    (@ms9988)

    Thanks all for the suggestions. I have tried all but it nothing worked.

    I have deactivated all the plugins, theme changed to twenty seventeen, but the link is still there..

    anything else which i can try? can someone guide me in coding? i will remove this code manually.

    Regards.

    Thread Starter ms9988

    (@ms9988)

    I have found the code in “index.php” file and i removed it. i found this by a plugin called “String Locator”.

    But i am still curious to know that what safety measures i can take to protect my files..

    Regards

    Hello,

    You still have a spammy link in the footer section of web pages:

    </footer><a href="hxxp://www.authenticflyersite[.]com/radko-gudas-jersey_c-503.html">Radko Gudas Womens Jersey</a>&nbsp;

    Most likely it’s in the footer.php of the theme.

    Thread Starter ms9988

    (@ms9988)

    Thankyou. i have removed it.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to remove this code’ is closed to new replies.