How to upgrade Joomla 1.5.x to the latest version using FTP

Joomla New Setup series

How to upgrade Joomla 1.5.x to the latest version using FTP

Installing updates is an essential part of running any type of web software. Not doing so can leave your entire hosting account vulnerable to any number of security issues

Updating Joomla to the latest version might seem like a daunting task at first, but it can really be broken down into several simple steps

First, you’ll need to be logged in to your Joomla site so you can determine what version of the software it’s running

The version number of your Joomla install is always shown at the top of the admin panel. As you can see, our site is running Version 1.5.2

Now, let’s go to and download the update we need

1) Click the Download button

This page only lists the file for upgrading from the previous version, 1.5.9; we need 1.5.2

2) Click this link

On the Files tab, look through the list until you find the version you need. They’re all listed in three formats: .zip, .tar.gz, and .tar.bz2

.zip is a format that pretty much any operating system will be able to extract by default. so let’s choose that

3) Save the file you need to your computer

4) Click Save

5) Now, browse to the file on your computer and extract it

6) Right-click

7) Go to Extract

Extraction is complete. Now, let’s see if it all seems to have extracted

Now… before uploading the files to your FTP server, there are two very important steps that must be completed, unless you want to risk breaking your live site irreparably

8) First, back up your entire Joomla database. If you are unsure how to do this, watch the accompanying tutorial on how to do so

9) After you’ve made a backup of your database, you should also make a complete backup of the entire Joomla directory: every file and subfolder it contains

Switch to your FTP client and make a backup of the files now. For the purpose of this tutorial, we will be using FileZilla

Note that if you have a control panel account or a shell account, you can just make a copy of the folder without having to download it to your computer

10) Click and drag the Joomla folder to your computer. Wait on the files to finish downloading… It will probably take several minutes

Once the download is complete, it’s time to proceed with the upgrade

11) Go to the upgrade folder

12) Press CTRL+A to select all the files in this folder

13) Click and drag the selection to the FTP server

14) Make sure Overwrite is selected, then click Apply to current queue only

15) Click OK

A few minutes later, the upgrade files have been uploaded successfully

Now, let’s check that our Joomla installation still works properly and that the version number has been updated

Success! We’ve upgraded Joomla to the latest version

Remember — keep your backups handy at least until you’re 100% certain that your upgraded installation is functioning properly

How to prevent image hotlinking for Joomla using cPanel

Joomla New Setup series

How to prevent image hotlinking for Joomla using cPanel

Hotlink protection prevents other websites from linking to your images and files and thereby stealing your bandwidth

You’ll need to be logged in to your cPanel account to enable hotlink protection for your Joomla installation

1) Click Hotlink Protection

cPanel should have automatically filled this box in for you. If that isn’t the case, you’ll need to type all domains and subdomains that should be able to access your files. Note that www is considered a subdomain and must be included explicitly

2) Add any additional domain names here

3) Now, specify any other file extensions for which to restrict access

Allowing direct requests lets people type the URL to a file in their browsers but not access it on a web page other than one specified

4) Click here to allow direct requests

By default, an error message will be displayed when someone triggers the hotlink protection. An alternative is to redirect the person to a URL specified here

5) Type a redirect URL here

6) Click Submit to activate Hotlink Protection

7) Click Go Back

With that done, hotlink protection is now enabled for all files in your public_html folder and every folder it contains. But what if you just want the Joomla folder to be protected?

8) Click Home

Scroll down

9) Click File Manager

10) Click Show Hidden Files

11) Click Go

12) The hotlink protection is saved in a file called .htaccess in the public_html folder. Right-click on it

13) Go to Copy

14) Now, enter the path to your Joomla directory and click Copy File(s)

Let’s verify that the .htaccess file contains the correct information

15) Double-click on the Joomla directory

Scroll down until you see .htaccess

16) Click the checkbox…

17) …then click Edit

18) Click Edit

This looks correct. Every domain name we entered shows up here…all the file types are here…and the redirect URL is here. If you enabled Direct Linking, this line will be here, too

19) Make any necessary changes, then click Save Changes

Now that Joomla has hotlink protection set up independently from cPanel, let’s disable it there

20) Click Disable

That’s all there is to it! Hotlink protection is now enabled only for your Joomla directory

How to prevent image hotlinking for Joomla using FTP

Joomla New Setup series

How to prevent image hotlinking for Joomla using FTP

Hotlink protection prevents other websites from linking to your images and files and thereby stealing your bandwidth. Let’s find out how to manually enable it just for your Joomla directory

This tutorial is intended for servers that do not have cPanel or some other control panel installed, or that have a control panel that does not allow you to automatically add hotlink protection to your site

Your website must be on a server that runs Apache web server with mod_rewrite installed

First, we’ll need to create a new text document

1) Right-click in Windows Explorer

2) Go to New

3) Then, click Text Document

4) Name the file htaccess.txt and press Enter

5) Double-click to open the file with Notepad

6) First, type RewriteEngine on

Here, we’ll need to type several lines of code that will determine which websites should be allowed to hotlink to your files, which types of files the hotlinking restrictions should be imposed upon, as well as some related options

This enables mod_rewrite, which lets us control what Apache does with the URL it receives

From here on, follow along with the typing. Be sure to type exactly what you see, simply replacing “” with your domain name(s)

Note that this is an intentional misspelling of the word referrer, dating back to the origins of the web. It is not a typo

When a request for a file is sent to a web server, a number of headers are sent from your browser. One of these is known as the Referer

Referers are sent in two cases: when a web page loads an image or other type of file as part of its contents, and when someone follows a link on a page

This last part is key; it tells Apache to allow access to any request whose referer starts exactly with

[NC] stands for “no case”, which means the referer specified is not case-sensitive. In other words, this line will match any combination of uppercase and lowercase letters

Now, we need to specify which file extensions to apply the referer restrictions to

7) Change the extensions specified here to whichever ones you want. Just separate them with the pipe symbol |, which can typically be typed by pressing the SHIFT key along with backslash

This is the URL someone will be redirected to if they trigger the hotlink protection

The R stands for forced redirect. Replace it with an F and remove the URL portion of this line if you would rather force a 403 Forbidden error to be displayed

Next, let’s add a few more lines to finish giving access to

8) Press CTRL+C to copy…

9) Press Enter, then CTRL+V to paste

10) Delete the last part of the URL to allow the homepage, without a trailing slash or anything after the domain name, to have access to your protected files

11) Now, copy and paste this part as before

12) Remove “www.” from the two new lines

Both and its www subdomain have been set up

Currently, the only way people will be able to access your protected files will be through Even manually typing the URL for one of your files won’t work. Let’s fix that

This does what we want by making the referer optional: Manually entered URLs have no referer

There are no letters in this referer now, so [NC] is not needed and can be deleted

Let’s add another domain name to the list

13) Copy and paste all four lines we typed for

14) Now, press CTRL+H to find and replace with for just these four newest lines

15) Press Replace until all four lines have been updated with the second domain

16) Click Cancel

Repeat these steps for as many domain names as you want

17) Press CTRL+S to save the file

Now that the htaccess file is complete, it’s time to upload the file to the Joomla directory using FTP

For this tutorial, we’ll be using FileZilla to access our FTP server; you can use whichever program you want

Joomla provides you with an htaccess.txt file that you can choose to use, so let’s find that one and rename it in case you decide to use it in the future

18) Now, drag and drop the file we created to the Joomla directory on your server and scroll up to find it

19) Right-click and rename it to .htaccess. Windows would not have allowed us to name it this

Whew! That was a lot of work! But, now you know how to prevent people from hotlinking to files on your Joomla site

How to download the latest Joomla version and install it on your server

Joomla New Setup series

How to download the latest Joomla version and install it on your server

1) For this tutorial, you will need to open your web browser and go to

Scroll down and right

2) Click Download Joomla

Scroll down

3) Click the link next to the version you wish to download

It is recommended that you save the file to your desktop so that you can find it easily

4) Make sure Save File is selected and click OK

Now you will need to unzip the file and upload it to your server. Go to the location where you saved the file

5) Right click the file and unzip it

6) Double click the folder to open it

Now you will need to use an FTP client such as FileZilla to upload Joomla to your sever

Make sure you have entered your host name, username and password and are connected to your server before proceeding

7) Press CTRL + A to highlight all the files and folders

8) Click and drag them into the directory you want to upload them to

9) Once all of the files have finished uploading, go to your new Joomla site in your browser

It is now time to install Joomla on your sever

10) Choose the language you wish to use during the installation and click Next

This page will show a list of requirements and recommended settings. If your sever doesn’t meet all of these, Joomla may not function properly

11) For this installation, we need to make the configuration.php file writable. Go back to the directory where you uploaded Joomla in your FTP client

12) Scroll down to configuration.php-dist

13) Right click and select Rename

14) Now right click and select File Attributes

15) Change the numeric value to 777 and click OK

16) Return to your Joomla installation in your browser

17) Click Check Again to recheck your requirements

18) Once all the requirements are met, click Next to continue the installation

Here you can read the license information

19) Click Next

On this page, you will need to enter your database information. If you haven’t already created the database on your server, you will need to do that before continuing

20) Enter the host name (usually localhost)

21) Enter the database username

22) Enter the password

23) Type the database name

24) Click Next

This step allows you to create an FTP account that will be used to access only your Joomla site and not the entire Web server

25) Select Yes to enable the FTP

26) Create an FTP username and password

27) Type in the FTP Root Path

28) Click Next

29) Enter a name for your site

30) Type in your email address. This is what you will use to login to your site

31) Type a password and confirm it

Scroll down

Now you can choose to install the sample data. This will populate your database with the default Joomla data and is recommended for new users

32) Click Install Sample Data

Scroll up

Wait until the data has been installed. This can take up to several minutes

33) Click Next

Success! Joomla has now been installed on your server

Before you can use your Joomla site, you will need to completely remove the installation directory. This can be done through any FTP manager

34) Once this is done, click Site

Here you can view your new Joomla site

This is the end of the tutorial. You now know how to download Joomla and install it on your server

How to finish migrating Joomla 1.0.x using an existing Joomla 1.5.x installation

Joomla New Setup series

How to finish migrating Joomla 1.0.x using an existing Joomla 1.5.x installation

This tutorial will complete the migration of Joomla 1.0 to 1.5. If you haven’t viewed the first demonstration, do that before following this one

This tutorial will show you how to use the migration file with an existing Joomla 1.5 site

WARNING – Do not use the migrator on a Joomla installation that you wish to keep. All existing data will be wiped out and replaced with that from your Joomla 1.0 migration file

Before going into the Joomla admin panel, we need the URL to the latest version of the Migration Assistant component

This can be found at the following URL:

1) Go there, then look down the page until you see Migration Assistant

2) Right-click on the file and get its URL

3) Now, log in to your Joomla administration panel

4) Click Extensions

5) Go to Install/Uninstall

6) Clear the text box under Install from URL, then press CTRL+V to paste

7) Click Install

8) Now, go to Components…

9) …and then Migration Assistant

Again, do not proceed with the migration if you have anything on this Joomla site you wish to keep

10) Browse to and select the migration file we created earlier

11) Alternatively, you could upload the file to your Joomla 1.5 directory and then tick this checkbox

12) Click Migrate

13) Next, migrate your configuration settings by clicking this link

14) Return to the front page of the admin panel

Notice that our site’s title has been changed to the title of our Joomla 1.0 site. The migration was successful!

Remember to retain your Joomla 1.0 installation until you’re absolutely sure the 1.5 installation is not missing anything and is working properly