url "localhost" dans les mails
-
Bonjour,
Dans les mails reçus, tous les liens commencent par https://localhost/... (y compris pour les images).
Il doit falloir spécifier l'url de mon serveur quelque part ... mais où ? -
Bonjour @jsuhm,
Oui c'est bien dans le serveur qu'il faut effectuer une modification.
Dans/var/www/d7/sites/default/settings.php, cherchez cette section:/** * Base URL (optional). * * If Drupal is generating incorrect URLs on your site, which could * be in HTML headers (links to CSS and JS files) or visible links on pages * (such as in menus), uncomment the Base URL statement below (remove the * leading hash sign) and fill in the absolute URL to your Drupal installation. * * You might also want to force users to use a given domain. * See the .htaccess file for more information. * * Examples: * $base_url = 'http://www.example.com'; * $base_url = 'http://www.example.com:8888'; * $base_url = 'http://www.example.com/drupal'; * $base_url = 'https://www.example.com:8888/drupal'; * * It is not allowed to have a trailing slash; Drupal will add it * for you. */ $base_url = $_SERVER['SERVER_NAME']; $conf['base_url'] = $base_url;Remplacez
$_SERVER['SERVER_NAME']par votre URL (ex : https://gofast.community.fr)J'espère que ça résoudra votre problème en attendant un futur patch.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login