• Resolved azishapidin

    (@azishapidin)


    Hi,
    I am a developer of website infocianjur.com (WordPress), on last month my website sometime redirected to another website (ads), maybe someone there has experience with the same problem. My temporary guess, the problem is on javascript injection, any suggestions I can do?

    These are some screenshots while my website redirected to another site:
    https://ibb.co/HD2BFhw
    https://ibb.co/b2j4DMc

    Thanks

    • This topic was modified 3 years, 6 months ago by azishapidin.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @azishapidin

    Sounds like you’ve been infected with malware on the website.
    I’ve tried this many times.

    If you can log into the website, I would suggest you install a scanner like Wordfence – and run a complete scan of your website.

    After that, take a look in your posts/pages, if there are any injected scripts.
    Usually you’ll find some.

    If you can’t login

    Sometimes the website is in a bad shape, and it’ll redirect you before you can login.
    What I do then is, I log into my phpmyadmin, and do a global search for any “<script” tags in my posts and pages – if I find anything, I make sure to delete it right away! (If it’s not something I’ve added).

    After that, I make sure to upload a fresh WordPress installation – replacing everything except the “wp-content” folder. This folder is scanned by Wordfence before I remove anything in here.

    Needless to say – change your FTP and MySQL credentials if possible ?? Also, change the passwords of the users on the website.

    I hope you get rid of it ??

    • This reply was modified 3 years, 6 months ago by kuckovic.

    I think you are infected with some malware or may be your site is been hacked by someone. You have to solve this issue ASAP.
    A malicious redirect is code inserted into a website with the intent of redirecting the site visitor to another website. Malicious redirects are typically inserted into a website by attackers with the intent of generating advertising impressions. However, some malicious redirections can have more damaging effects. A malicious redirect can exploit vulnerabilities in a site visitor’s computer through web-based scripts to install malware on unprotected machines. As such, it is critical to remove malicious redirects from your site.

    Removing this redirect: </strong>
    Start by downloading your .htaccess file. Your cpanel file manager might not show you this “hidden” file, and sometimes downloading it to your computer’s hard drive might make it disappear even though you can see it in your FTP application. You will need to remove the redirection, leaving behind the code necessary for the operation of your site. This can be hosting provider dependent, as there are often entries within an htaccess file necessary for your site’s functionality.
    <strong>
    Ad networks</strong>
    Some advertising networks are lenient in their standards for the advertising they accept into their network. The site may be completely free of malware, but an advertising network may be redirecting site visitors. Determining which advertising network may be the culprit can be a very difficult task as malicious advertising redirects can be served up sporadically and unpredictably.
    
    <strong>Removing this redirect:</strong> If a site is maliciously redirecting your site visitors, if you have exhausted all other options and you have advertising networks placed on your site, removing those ad networks may solve the malicious redirection problem.

    Moderator Yui

    (@fierevere)

    永子

    this can be helpful as well

    FAQ My site was hacked

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Website sometime redirected to another websites’ is closed to new replies.