I have a Drupal website hosted in the server of our company. One partner has a domain name and we want to use this domain instead of the company's (sub-)domain for the Drupal website. He arrived to do the redirection, i.e. when we hit the partner domain the Drupal website appears. However, all the links inside the Drupal website still refer to the old actual company's domain and if we click them, the corresponding page loads but the URL doesn't change. If we try to write the URL manually in the browser, e.g. partner_domain.com/?q=about, we return to homepage however the domain doesn't change (my_friend_domain.com/?q=about); and then the same problem, wherever we click the page shows but the URL doesn't change.

I Googled it but no success. I tried Domain 301 Redirect module but it is not making any difference.

  • It sounds like the your install might have manually set the $base_url in your settings.php? – Shawn Conn Apr 11 '15 at 16:39
  • I've just checked the file, $base_url is commented, so unchanged. – Moop Apr 11 '15 at 16:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.