Showing posts with label Magento Installation. Show all posts
Showing posts with label Magento Installation. Show all posts

Sunday, August 19, 2012

Moving magento from subdirectory to root directory

Moving magento from sub directory to root directory require following steps:

  1. Move all files from sub-directory to root directory
  2. Change .htaccess file code:
    Find RewriteBase /subdirectory/ to RewriteBase /
    where subdirectory is the name of your subdirectory e.g. magento
  3. Open phpMyAdmin and run these queries:
    update core_config_data set value='your new store url' where path = 'web/unsecure/base_url';
    update core_config_data set value='your new store url' where path = 'web/secure/base_url';
Note: your new store url must be a url i.e. http://google.com/ with trailing slash.

Monday, August 6, 2012

URL is not accessible - Unable to read response, or response is empty

Sometimes during magento installation an error occurs saying "URL is not accessible - Unable to read response, or response is empty"

The simplest solution is to Click on "Skip Base URL Validation" and that test is ommitted at that point and it will work fine.

Thursday, February 9, 2012

Magento in Sub Directory

If you want to install magento in sub directory or sub folder of your domain i.e. yourdomain.com/store or yourdomain.com/magento etc

Edit your magento htaccess located in sub folder. Find the following line:

#RewriteBase /magento/

Remove the # sign and write your folder name instead of /magento/

It will work in this way to install magento in sub direcotry.