A
A
Alexander Andreev2017-05-19 13:32:34
MODX
Alexander Andreev, 2017-05-19 13:32:34

All pages of the site redirect to the main page, how to fix it?

Site modx version 1.0.15, some time ago all pages of the site began to redirect to the main page. The .htaccess file was changed to ftp, and the old one was renamed to ht.access, + a bunch of files with encoded code and the wp-admin and wp-content folders like on WordPress. Also in the admin panel, the message "... You have enabled checking system files for changes specific to hacked sites. This does not mean that the site has been hacked, but it is desirable to view the changed files. (index.php, .htaccess, manager/index. php, manager/includes/config.inc.php)..." in short, they broke the site. I restored the old htaccess, leaving only the uncommented code there:

RewriteEngine On
RewriteBase /

# The Friendly URLs part
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

deleted a bunch of encoded files, nothing suspicious was found in the modified files pointed to by modx, but the 301 redirect from all pages to the main one did not go away. Where could the attackers put it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
display: block, 2017-05-19
@maler1988

Clear the cache

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question