htaccess for magento in subdirectory

htaccess for magento in subdirectory

Steps
1. Install Magento to /public_html/magento/ normally. Do not change Base URL during installation.
2. Copy /public_html/magento/.htaccess to /public_html/.htaccess
3. Copy /public_html/magento/index.php to /public_html/index.php
4. Edit /public_html/index.php line 32 to read:
$mageFilename = ‘magento/app/Mage.php’;
5. Log into Magento Admin. Go to System > Configuration > Web
6. Under Unsecure change Base Link URL to http://domain.com/

Now you finished!! But if you unable to load magento connect
system->magento connect->magento connect manager

then you need to add your ‘subfolder’ after ‘YourDomain.com’ in the address bar, after you select Magento Connect Manager from the dashboard.

http://www.YOURDOMAIN.COM/SUBFOLDER/downloader/

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *