Magento 1.7 – Cannot Change the Base URL

base-urlce-1.7.0.2

I am trying to change my store base URL but it's not working.

Currently the base URL is set to my installation dir http://ns999999.ovh.net/magento/

I'd like to change it to a domain's name such as http://www.my_domain_name.com/
(which is redirected towards current_base_URL/index.php/)

When I do the change, I get blank pages, both for admin and front-end.
I did clear the var/cache and var session directories.

Can someone help me resolving this issue ? Any help would be greatly appreciated.

Best Answer

Site relocation issues:

  1. forgetting the trailing slash on the baseURLs,

  2. changing the rewritebase in .htaccess

  3. check file/folder permissions and change so server can write to the directory tree especially var/ and media/

  4. app/etc/local.xml changes so Magento can access the new database

After fixing these things, then clear cache.