2017-03-09 2 views

Antwort

0

Bitte bearbeiten Sie die Datei index.php und fügen Sie neue Zeilen aus den untenstehenden Codes hinzu.

<?php 

// Add new lines - Forwarding client to https protocol when it said your website on http protocol! 
if($_SERVER['HTTP_X_FORWARDED_PROTO'] != 'https') { 
    header("Location: https://example.com"); 
    exit; 
} 
// End new lines 

define('DRUPAL_ROOT', getcwd()); 

require_once DRUPAL_ROOT . '/includes/bootstrap.inc'; 
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); 

// Add new line - Change $base_url to absolute URL 
$base_url = 'https://example.com/'; 
// End new line 

menu_execute_active_handler(); 
+0

Vielen Dank Herr. –