Friday , December 20 2024

Drupal

CMS Drupal – articles, how-to-fix notes, fast solutions

Correct transfer Drupal site from http to https

The certificate was purchased and activated, the site with https does not open correctly. The way to solve this problem: 1. In the file sites/default/settings.php find the line with $base_url. Under this line add: $conf['https'] = TRUE; $base_url = 'https://old.domain.com'; Replace the domain name with the actual one, and do …

Read More »

How to remove generator in Drupal 7

By default, the source code of Drupal sites contains the line <meta name=”generator” content=”Drupal 7 (http://drupal.org)” /> To remove it, you need to edit the file /sites/all/themes/mytheme/template.php (instead of mytheme, go to your site’s theme folder), find function shop_adaptive_html_head_alter and add before the closing character } this line: unset($head_elements['metatag_generator_0']); If …

Read More »