John
John

Reputation: 11

/wp-admin/ is redirected to homepage

A friend of mine asked me to help him with his website. When he goes to /wp-admin/ he doesn't see the login screen but returns to the homepage. I've disabled the plugins one by one dut that didn't help. Also the menu items to the other pages aren't working. Now Im checking the .htaccess file but my knowledge on that is limited:

`

RewriteEngine On

RewriteBase /

RewriteRule ^..[pP][hH]. index.php [L]

RewriteRule ^.*.[sS][uU][sS][pP][eE][cC][tT][eE][dD] index.php [L]

`

I know the ReWriteEngine should be on but is the rest correct?

Update: looks like the site is hacked, so working on that one now

Thanks in advance

John

Tried to go to websitename/wp-admin/ I expected the inlogscreen but Ive kept returning to the homepage.

Upvotes: 1

Views: 872

Answers (1)

John
John

Reputation: 11

.htaccess îs wrong, seems like a hack

Upvotes: 0

Related Questions