In this tutorial you will learn how to move your Joomla template to different directory.
- Go to your Joomla installation folder and copy all the files, move it to the folder you need.
- Open your new folder with Joomla. Edit configuration.php file within your joomla root folder.
- Scroll down and edit all the instances of previous folder – remove it and make the links look properly
For example, your bottom links should look like:
public $log_path = '/home/mgreen/public_html/phil/joomla/subfolder/logs'; public $tmp_path = '/home/mgreen/public_html/phil/joomla/subfolder/tmp';
After you move your files from folder “subfolder” to folder “joomla” you should make it look like:
public $log_path = '/home/mgreen/public_html/phil/joomla/logs'; public $tmp_path = '/home/mgreen/public_html/phil/joomla/tmp';
- Check your .htaccess. The subfolder should be removed there as well.
If you have cache enabled, login to the administrator backend (which will now be at http://www.yoursite.com/administrator and not http://www.yoursite.com/subfolder/administrator). Go to Site->Maintenance-> Clear Cache and delete all cache files.
Feel free to check the detailed video tutorial below: