• Hello, suddebly my domains varsa.gr and ypsilandio.gr when i try to load them instead of the webpages to load a file is being downloading containinf 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( dirname( __FILE__ ) . ‘/wp-blog-header.php’ );
    ===================================================

    I tried to look into the .htaccesss file but i only found this in both websites.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Can you help me load the page instead of that file being downloaded?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter nikos.gr33k

    (@nikosgr33k)

    2019-01-26 04:31:11
    Nikolaos Kouras
    Update:

    After changing PHP execution mode from FCGId to mod_apache now the sites load properly. if i switch the phpp exec mode back to FastCGI i am being downloaded that file/

    Can you explain to me what happening?

Viewing 1 replies (of 1 total)
  • The topic ‘Download a file instead of loading the webiste’ is closed to new replies.