After you have completely uploaded all of the Joomla website files to the remote server, it important to view the website. You will need to check the following items:
Check Item #1: Checking the home page and some internal pages for errors.
You need to make sure that the home page that appears on the live site is the same as the one you see at the local host server.
For example, for the demo website: http://codexjoomla.php-developer.org/ , below is what the home page should look like on the live hosting server:
And here is a screen shot of a sample inner page:
There is an error appearing on both the home page and inner pages. For the home page, it shows "Error loading feed data," and there is no sidebar.
For the inner pages, it shows a 500 Internal Server Error. Both of these obvious problems need to be corrected.
Correcting problems appearing on your Joomla live website
For the home page "Error loading feed data" problem:
1. Log in as Joomla administrator (e.g. http://codexjoomla.php-developer.org/administrator).
2. Go to Extensions -> Module Manager; look for the "Feed Display" module.
3. The cause of the problem is that the feed URL is not updated. It is showing as: http://localhost/joomla/?format=feed&type=rss
4. To resolve this problem, change the feed URL to reflect the new domain/sub-domain name used by the Joomla website in live hosting server, e.g. http://codexjoomla.php-developer.org/?format=feed&type=rss.
5. Click Apply and then hit "save."
For the inner page's "500 Internal Server" error problem:
1. Download the .htaccess of the newly-uploaded Joomla website.
2. Find this line:
# RewriteBase /
Remove the # to uncomment it, so it will just be:
Below is updated .htaccess screen shot:
Check Item #2: Check for broken links
You can use Xenu Sleuth to check for broken links:
For some information on this, you can read this short tutorial.
Using the demo Joomla website discussed in this tutorial, the following is a screen shot of the Xenu result, showing a broken link:
As shown in the screen shot, the broken link URL is http://localhost/joomla/ because this URL has not been updated to use the new domain/sub-domain name used by Joomla at the live server.
Examining the properties of this broken link reveals a clue:
<img src="/templates/vj_anelco/images/hd.jpg" alt="Scuba diving training agency">
This means it is related to the header section of the Joomla template. Checking the header image template HTML for this link reveals the following:
<a href="http://localhost/joomla/"><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/images/hd.jpg" alt="Scuba diving training agency"></a
So to avoid the broken link, we need to revise this to:
<a href="<?php echo $this->baseurl ?>"><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/images/hd.jpg" alt="Scuba diving training agency"></a>
The value of: = <?php echo $this->baseurl ?> when executed on the web hosting server will be the home page URL: http://codexjoomla.php-developer.org.
Check Item #3: Changing the favicon.ico in your live Joomla website
Below are the steps you need to take to change the favicon.ico:
1. Create a favicon.ico image; the dimension should be around 16x 16 pixels and the image file extension is .ico. You use Irfanview to shrink your logo and create favicon.ico.
2. Upload favicon.ico to the image directory of your template, e.g. http://codexjoomla.php-developer.org/templates/vj_anelco/images/favicon.ico.
3.) Add the following HTML code the <head> section of your Joomla template:
Check Item #4: Protect your Joomla administration folder.
This will prevent any abuse of your Joomla administration page. The following are the steps you must take:
1. Create a .htaccess containing the syntax:
2. Upload .htaccess to the Joomla "administrator" folder.
3. Check your Joomla administration folder here: http://gsitecrawler.com/tools/Server-Status.aspx.
It should give a 403 forbidden status. Also check your Joomla front page, e.g. http://codexjoomla.php-developer.org/. It should give a 200 OK status.
Check Item #5: Check to see if your image uploading through Joomla administration panel is enabled.
In this case, try creating a test article with an image to see if it is working.
This completes the Joomla website deployment tutorial from local host to remote hosting server. You can see the demo website used in this tutorial by going here: http://codexjoomla.php-developer.org/
blog comments powered by Disqus