I have issue with URL wants to add "WWW." before domain name or sub domain name.

URL is now shows in browser like "http://example.com/"

it should be "http://www.example.com/"

  • Did you change at base_url at core_config_data table?
    – Amit Bera
    Commented Apr 2, 2016 at 5:22

1 Answer 1


Go to System->Configurataion->General->Web->Unsecure / Secure->Base URL and add change values to your domain with www. Configuration

Also you can update this value directly in DB. Open core_config_data table, filter rows with the following query SELECT * FROM core_config_data WHERE path LIKE 'web/%secure/base_url'

Then change values to your domain with www. But be careful, base url must start with http(s):// and must end with /.

Example http://www.example.com/

  • great job bro +1 and accept. solve my issue. thanks. Commented Apr 4, 2016 at 7:31
  • can you provide certification note or any guidance i need it. Commented Apr 4, 2016 at 7:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.