Support » Fixing WordPress » Index.php on line 17 and admin redirect

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey @salamzaban!

    I’m seeing this on my site, too. Not a lot is showing up in the Googles. What did you find out?


    I am getting same error on my site when i try to login to /wp-admin
    I have also found some random directory and files are being created.
    I think some kind of virus was injected somehow. Any solution?

    After searching, I found the reference was coming from the default index.html file my hosting provider had created as a default landing page. WordPress was living in a subdirectory so it took awhile before I found the index.html file in my hosting root.

    I was moving the site from one hosting provider to another. I had wordfence installed. I started with a fresh .htaccess file and removed the wordfence waf (deleted the .user hidden file) and was able to log in.

    I agree that it was suspicious as heck.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Index.php on line 17 and admin redirect’ is closed to new replies.