How to Make a New Website for Joomla Already Uploaded Yootheme to Cnpanel
If you have called to build your Joomla website inside a sub-folder of an existing hosting account, y'all might exist unsure of the easiest way to replace the old site with your new 1. There are a few ways yous tin can practice this, but in this tutorial, I'll show you how to achieve this using your hosting control panel. I'm using cPanel, but the principles apply with other control panels, as long every bit they include a file manager as you'll come across shortly.
This video is best viewed at total screen:
Step i - Backup everything. If yous mess this up and you don't take a backup, you could lose both your new site and your old one! You tin practise this using the cPanel backup feature.
Step 2 - Login to your control panel and go to the File Manager.
Stride 3 - Navigate to the folder that contains your web files which in cPanel is public_html. Your current website files are displayed along with the folder that contains the Joomla website.
Footstep 4 - Click the New Folder push and enter a name like old.
Step 5 - Click the Select all button above the listing. But then deselect the binder containing your Joomla installation and deselect the new binder you created in the previous step. You practise this by holding the Ctrl key on Windows or Command key on a Mac and clicking each folder.
Footstep 6 - Click the Compress push button. This opens a new window. Cull the kickoff option - Nix Annal. Then in the address box, insert the name of the new folder after public_html and give the zip file a helpful name such as archive.zip. So in this example, the full path is /public_html/old/archive.zip
Then click the Shrink file button. This compresses all of your old website files and stores them as a zero file in the folder you created in step 4. When this process is complete, yous might like to navigate to this folder and confirm that the zip file was created correctly. Right-click on the file name and choose View to check the contents of the zip file.
Footstep 7 - Return to the primary folder if necessary and so Select All. Once again, brand certain y'all deselect the joomla binder as well every bit the archive folder you created.
Pace eight - Click the Delete push and then confirm the delete action. As long as you do this properly, this step will just delete the current live site files.
Step 9 - Navigate to the joomla folder. Select all and click the Motility File button. In the path box, remove the folder name then it just reads public_html. Then click Move Files. When consummate, navigate to the main folder once again and cheque that the Joomla files are in that location.
Footstep ten - Select configuration.php and click the Code Editor push button. Scroll downward towards the lesser and find the line starting with public $log_path. At the cease of this line y'all'll probably find that the proper noun of the previous development folder is included. Remove this so information technology reads public_html/logs. Do the same on the next line so the line ends with public_html/tmp. Click the Salve Changes push button towards the pinnacle right.
Now open a new browser tab and go to your web accost. With any luck, all will be fine, just check all pages, especially any images and links.
If something does go wrong, you can movement the Joomla files back to where they were, motility the archive file into the main directory and utilise the Excerpt button to return things to the way they were while y'all endeavour to troubleshoot the problem. If you practice have bug, the quickest solution might exist to simply attempt making a backup of the Joomla site using Akeeba Backup and restore it into the primary folder using Akeeba Kickstart. This is demonstrated in our Across the Nuts serial. Only before y'all exercise that, there are a couple of things to check. Go back to the configuration.php file and ensure that there is nothing entered in the line starting with var livesite. If there is, brand sure the previous folder name is not present. Another place to bank check is the .htaccess file. If y'all entered something next to the RewriteBase line, comment this out by inserting a hash at the offset of the line.
And that'due south how yous motility a Joomla site from a sub-folder to the chief folder using cPanel.
Source: https://www.buildajoomlawebsite.com/blog/tutorial/move-a-joomla-installation-to-a-new-folder-using-cpanel
Belum ada Komentar untuk "How to Make a New Website for Joomla Already Uploaded Yootheme to Cnpanel"
Posting Komentar