WordPress.org

Ready to get started?Download WordPress

Forums

Better WordPress Google XML Sitemaps (with sitemapindex, multi-site and Google News sitemap support)
All generated files just contain my index.php content... (6 posts)

  1. gman243
    Member
    Posted 1 year ago #

    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/

  2. gman243
    Member
    Posted 1 year ago #

    Nope still doing it...

  3. Khang Minh
    Member
    Plugin Author

    Posted 1 year ago #

    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?

  4. gman243
    Member
    Posted 1 year ago #

    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.

  5. Khang Minh
    Member
    Plugin Author

    Posted 1 year ago #

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

  6. Khang Minh
    Member
    Plugin Author

    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.