File download when opening my site?

  • Unknown's avatar

    I switched my hosts, and I imported the database from the old host and edited the config and such, and I uploaded all of the files that were in my public_html on my other host into my new one (all the files for WP) and now, whenever I try going to my website it downloads a file, why is this?! *It doesn’t load my site at all, all I can do is download that file. :blackhat:

    Edit ; The file shows the following when opening the file on my PC ;

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

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    The site you are asking about does not seem to be hosted on WordPress.COM so you need to make friends over at WordPress.ORG the keepers of the software you are using.

    https://en.forums.wordpress.com/topic/7-things-to-know-before-posting-in-wordpresscom-forums?replies=1

    This site is for support of sites hosted on WordPress.COM. You should address your questions to WordPress.ORG the keepers of the software you are using: http://wordpress.org/support/

    The forum at WordPress.ORG is not connected to WordPress.COM so you will need to open an account at .ORG if you do not already have one. You may use the same email at WordPress.ORG as you do at WordPress.COM.

    For more on the difference: http://support.wordpress.com/com-vs-org/

    If you are asking for help with a WordPress.COM site then we need a link to that site to give you accurate help.

  • The topic ‘File download when opening my site?’ is closed to new replies.