B
B
bossigorxxx2020-10-10 16:12:31
htaccess
bossigorxxx, 2020-10-10 16:12:31

How can I replace the loading of index.php through .htaccess?

There is a site on WP and index.php is constantly changing with the virus code ... I can’t find the virus itself. How can I change the loading of index.php to another one via .htaccess

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MorganDusty, 2020-10-10
@bossigorxxx

Of course, it’s better to destroy the virus,
DirectoryIndex fakeindex.php
you can also add a file check in the site directory, for example, if the site at fakeindex.php is dead, then 404.php opens

DirectoryIndex fakeindex.php 404.htm pagenotfound.html indexerror.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question