![]() |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#1
IP: 199.115.98.60
|
|||
|
|||
|
In order to configure Magento to work with a new domain or change its current directory, you can follow either of the two solutions:
If you are able to log into Magento's backend, you can easily modify the base URLs of the site via: System -> Configuration -> Web (Under the General section) -> Unsecure There change the Field "Base URL" to the new domain. System -> Configuration -> Web (Under the General section) -> Secure Here, the "Base URL" field should either match the site's domain or, if you have purchased a Private SSL certificate for the site, here you should type the https form of the URL of your Magento store. If you do not have access to the backend anymore, you need to modify the URL within the database. Simply open up the database using phpMyAdmin, then navigate to the core_config_data table inside. Click the Browse tab and edit the first two fields: • web/unsecure/base_url • web/secure/base_url The last thing you need to do is clear the cache. The Magento cache folder is located in your Magento installation directory > /var/cache. To clear the cache, delete the folder and create it again. |
| Currently Active Users Viewing This Thread: 5 (0 members and 5 guests) | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Migrate magento to new server / domain / database / host | Raquette Lake | Magento | 0 | 2015-04-24 04:41 AM |
| .htaccess - How to make a subfolder the main folder for your main domain | topvip | 服务器环境搭建 | 0 | 2007-08-21 11:08 PM |
| Rewrite a sub domain to a directory | sunshine | 建站交流 | 0 | 2007-08-19 09:21 PM |
| What are the Strongest Directories? | smiling | 网站链接开发 | 1 | 2007-07-28 09:26 PM |
| 10 Tips to a More Profitable Directory | sunshine | Web Directory | 0 | 2007-05-09 08:37 PM |