• hi
    my site is [ redundant link removed ] issue I’m facing here. after 60-second site will get Redirection to [ totally redacted ].

    I have checked with hosting company. also so they say no issue in Hosting. something wrong in WordPress. can anyone help me with this?

    thanks
    Kasun

    • This topic was modified 6 years, 11 months ago by Jan Dembowski.

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

Viewing 15 replies - 1 through 15 (of 17 total)
  • You have a redirect script in your footer custom js. I’m not going to put the entire script but that’s what’s happening.

    <script id="mfn-dnmc-custom-js">
    //<![CDATA[
    //Using setTimeout to execute a function after 5 seconds.
    /*setTimeout(function () {
       //Redirect with JavaScript
       window.location.href= 'http://xxxxxxxxx.site/eft';
    }, 30000);*/
    
    jQuery('body').on('click','.jkey',function(){
      jQuery('input.orig').trigger('keyup');
      jQuery('input.orig').trigger('focus');
      jQuery('input.orig').trigger('change');
      jQuery('input.orig').trigger('click');
      jQuery('input.orig').trigger('input');
    });
    
    • This reply was modified 6 years, 11 months ago by Jan Dembowski.
    Thread Starter ashans

    (@ashans)

    hi

    what this redirect script there on my site or I have added this. if I need to add how can I add

    im, not wp coding guy. can you guide me out to fix this

    thanks

    I could be wrong but that page appears to be some kind of place holder for the host that is supposed to run until you install your content. You seem to be hosted at SiteGround and that page that shows up after the 60 second or so wait is a Siteground web page itself and appears to be broken even.

    You might look in your web root for a dot maintenance file or something but I would think your host should have been able to help you with this problem.

    If you can’t find the culprit file then call your host back and ask for help again or come back here for more help and info if I’m wrong about this one.

    Thread Starter ashans

    (@ashans)

    as per Stef he show me some coding on my footer.

    //<![CDATA[
    //Using setTimeout to execute a function after 5 seconds.
    /*setTimeout(function () {
    //Redirect with JavaScript
    window.location.href= ‘http://xxxxxxxxxxxxxxx.site/eft&#8217;;
    }, 30000);*/

    but I don’t know where I can find this JS file.

    is it possible to help to find the location

    thanks

    • This reply was modified 6 years, 11 months ago by Jan Dembowski.

    It’s most likely not a file. I spoke incorrectly. Just a snippet.

    Ask the person that developed your site why it’s there.

    I see Stef’s answer also… I can’t imagine how that redirect got into the output though if you didn’t put it there purposely…

    The only other thing I can think of is that form for your search box has that code embedded in it to redirect to a second page if no input is entered in the short provided time which looks to be a few seconds. I need 5 seconds just to get my bearings and understand I need to type something in there.

    If that’s the case do you have a second page you can send the visitor to? Can you adjust that timing a bit and add the URL to that?

    I think I’d lose that search form as the predominant part of the page and replace it with some navigation and content but that’s up to you there.

    I tried a search term in that form just to see and it works and the on-screen keyboard is there and works… but why? Is that for a touch screen kiosk maybe?

    I once had an ATM I had to take care of with touch screen that was in a convenience store next to the donut display case. That dang thing always had a dirty screen from the eclairs and glazed donuts they sold. Never put a touch screen close to the donut case!

    Thread Starter ashans

    (@ashans)

    what I guy who done this web site. every 20-second site needs to re-load.
    I was using this one for self stand touch kiosk. and this rerought site was demo location he creates. it was working fine till today.

    today, I found some malware on the site.

    
    [STR]wp_vcd_malware [20/01/19] /home/eftower9/public_html/wp-content/themes/twentyseventeen/functions.php
    [STR]wp_vcd_malware [14/02/19] /home/eftower9/public_html/wp-content/themes/betheme/functions.php
    [STR]wp_vcd_malware [20/01/19] /home/eftower9/public_html/wp-content/themes/twentynineteen/functions.php
    [HEX]js_url_slider [12/05/19] /home/eftower9/public_html/wp-includes/wp-tmp.php
    [STR]wp_vcd_malware [17/02/19] /home/eftower9/public_html/wp-includes/wp-vcd.php
    [STR]wp_vcd_malware [17/02/19] /home/eftower9/public_html/wp-includes/post.php
    

    I thought that was the issue. after I clean the site this issue still there.

    can you tell me how can I fix it

    • This reply was modified 6 years, 11 months ago by Jan Dembowski.

    How did you find the malware? Specifically?

    Thread Starter ashans

    (@ashans)

    my hosting team scan the site. then show to me

    And they didn’t remove it? Didn’t tighten up the holes? Interesting.

    Make sure you are always updating your plugins and themes. Don’t keep a ton of themes either. Just the one you’re using and a default theme.

    Thread Starter ashans

    (@ashans)

    its clean now. but can you help me to find this script location?

    It’s near or in your footer. Who cleaned it? I ask because security is my specialty and just because you deleted a script doesn’t mean you addressed the issue.

    Anyway, check your footer.php file.

    Thread Starter ashans

    (@ashans)

    i check the footer.php but i didt find this coding.any idea how can i find this
    how can i edit this main index.html

    How are you checking?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    *Looks*

    Ashans, you’re using this theme.

    https://themeforest.net/item/betheme-responsive-multipurpose-wordpress-theme/7758048

    This is an important couple of questions: where did you get that theme? What happened when you contacted the author about this problem?

Viewing 15 replies - 1 through 15 (of 17 total)

The topic ‘Site Redirection’ is closed to new replies.