I just migrated all my WordPress files to another server (share). I imported the database and changed the old domain name.
When I enter the wp-login page, it shows the PHP code instead of the login form interface:
` element. * Default 'Log In'. * @param string $message Optional. Message to display in header. Default empty. * @param WP_Error $wp_error Optional. The error to pass. Default is a WP_Error instance. */ function login_header( $title = 'Log In', $message = '', $wp_error = null ) { global $error, $interim_login, $action; // Don't index any of these forms. add_filter( 'wp_robots', 'wp_robots_sensitive_page' ) ...
If I look at the php code, I realize that PHP no longer interprets from that character. So I checked the PHP version and it was 7.3.
https://i.stack.imgur.com/HtwZM.png
Do you know why it doesn't show the login form? I ran it locally (using the same PHP version) without any problems.
Thanks
Okay, I found the error. I commented these lines in .htaccess:
But I don’t know what their purpose is...