WordPress.org

Support

Support » Plugins and Hacks » All generated files just contain my index.php content…

All generated files just contain my index.php content…

  • I installed this plugin a few minutes ago. Whenever I browse to my robots.txt or my site.xml or any file that’s supposed to be generated by this plugin it just outputs the contents of my index.php. Do I just have to wait? Is this a configuration issue? Here’s what it outputs:

    <?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');

    http://wordpress.org/extend/plugins/bwp-google-xml-sitemaps/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Nope still doing it…

    Plugin Author Khang Minh

    @oddoneout

    This will only happen if your PHP scripts are not being parsed by the server. Do you have a sysadmin to check that for you?

    The PHP is definitely being parsed by the server–how could I run WordPress without it? Unless my understanding is off. Would it be a setting I might have to change in the php.ini? No logs are being created so it seems like the plug-in is failing at a base or intialization level.

    Plugin Author Khang Minh

    @oddoneout

    Can you try deactivating the plugin and then visit robots.txt again?

    Plugin Author Khang Minh

    @oddoneout

    Also if possible please provide a link to your website (via contact form is preferred). Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘All generated files just contain my index.php content…’ is closed to new replies.