Home arrow Site Administration arrow Page 2 - Joomla Localhost to Server: Configuration

Testing Your Live Website After Uploading Files - Administration

Welcome to the second part of a two-part article on taking a Joomla website live. Ready to take the final step to upload your Joomla site so it can be seen by the outside world? Keep reading.

  1. Joomla Localhost to Server: Configuration
  2. Testing Your Live Website After Uploading Files
By: Codex-M
Rating: starstarstarstarstar / 4
November 08, 2010

print this article



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.
However, since the "Feed display" has been renamed to "Articles" in the first part of this tutorial, you need to look for the "Article" module, which is actually a "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:

RewriteBase /

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:
<link REL="SHORTCUT ICON" HREF="http://codexjoomla.php-developer.org/templates/vj_anelco/images/favicon.ico">

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:

Order allow,deny
Allow from 123.45.678.910

Replace 123.45.678.910 with your own IP address. You can find out your IP address here: http://www.whatismyip.com/.

2. Upload .htaccess to the Joomla "administrator" folder.

3. Check your Joomla administration folder here: http://gsitecrawler.com/tools/Server-Status.aspx.

e.g. http://codexjoomla.php-developer.org/administrator

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/

>>> More Site Administration Articles          >>> More By Codex-M

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort


- Coding: Not Just for Developers
- To Support or Not Support IE?
- Administration: Networking OSX and Win 7
- DotNetNuke Gets Social
- Integrating MailChimp with Joomla: Creating ...
- Integrating MailChimp with Joomla: List Mana...
- Integrating MailChimp with Joomla: Building ...
- Integrating MailChimp with Joomla
- More Top WordPress Plugins for Social Media
- Optimizing Security: SSH Public Key Authenti...
- Patches and Rejects in Software Configuratio...
- Configuring a CVS Server
- Managing Code and Teams for Cross-Platform S...
- Software Configuration Management
- Back Up a Joomla Site with Akeeba Backup

Developer Shed Affiliates


Dev Shed Tutorial Topics: