Answer the question
In order to leave comments, you need to log in
The index.php file is loaded instead of entering the site. Why is that?
The index.php file is loaded instead of logging in to a site on local hosting. This is in the file itself
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
Answer the question
In order to leave comments, you need to log in
There is no one to transfer the script to processing and the http server simply gives it as a file. You need to configure PHP-FPM or, if using Apache, enable the appropriate module.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question