Sitemap Files Show wp-header.php Code
-
I had this issue with another Sitemap plug-in so I imagine it has to do with the server setup. Basically what happens is when I go to view my sitemap.xml file it asks if I want to download a 395 Byte (always the same size) sitemap.xml file. I download it, and it outputs this:
<?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('./wp-blog-header.php');
Anyone have this issue or know how to resolve it? Thanks!
- The topic ‘Sitemap Files Show wp-header.php Code’ is closed to new replies.