LAMP配置ssl 访问wordpress是php的源码

配置完https后
可以通过https的地址访问静态资源
但是对于访问wordpress主页结果如下

<?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( dirname( FILE ) . '/wp-blog-header.php' );

感觉是php没法执行而访问的源码,找了一天没找出是哪里的问题

注:http访问wordpress正常

作为小白希望大神能给一些解决的方向,小弟不胜感激

阅读 2k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进