I have a Drupal website installed on cPanel. the site is at http://example.com

Everything is working good, however at times, sometimes the images/links will be changed to a different URL then the main url, it will be at https://randomurl.com

The images/links still work fine under the new url, however I would prefer it not go to the new url, as i am selling that url shortly.

i have went into settings.php and added $base_url to the main url, but nothing have changed.

  • Hi, alex. Where are these links? Are they in the body text or somewhere else? – othermachines Aug 18 '15 at 18:47
  • They are within the source. so the images for example would be from a different url at time. – alex Aug 19 '15 at 4:25
  • it all depends on how images are rendered in the preprocess/process or the template files. – Eduardo Chongkan Jun 8 '16 at 6:30

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.