Accessing wp-admin results in a file downloading rather than login page Print

  • 0

Problem Description

Accessing wp-admin results in a file downloading rather than login page

Problem Resolution

A plugin for WordPress that we haven't yet narrowed down (likely a caching or security plugin) adds the following to your .htaccess file: 

AddHandler application/x-httpd-php70s .php

Plesk already sets up this handler and it most definitely does not need to exist in .htaccess. The conflict with Plesk's default PHP configuration that this creates causes the behaviour described above. Remove that line or comment it out by placing a # at the start of the line to prevent it from being executed.

If you're able to narrow down the plugin that modifies your .htaccess file to insert this line, please let us know.


Was this answer helpful?

← Back