In deze post zullen we stap voor stap uitleggen hoe je een Joomla! 1.5 website van de ene naar de andere host kunt verhuizen.

Stap 1: Loop de server instellingen na

Vergelijk de server instellingen van je huidige host met de instellingen van je nieuwe host, wees er zeker van dat Joomla! en de geinstalleerde extensies werken op de nieuwe server.

Stap 2: Maak van alles een back up

Dit betekent niet alleen een backup van Joomla! maar ook van alle geinstalleerde extensies, geuploade foto’s, video’s enzovoort. Maak een backup door op je harde schijf een folder hiervoor aan te maken en via je favoriete FTP client alle bestanden naar deze folder te downloaden.

Stap 3: Exporteer de database

De derde stap is het exporteren van de Joomla! database. Het beste is om een SQL file te exporteren, dit maakt het in een volgend stadium makkelijker om de database weer te importeren. De SQL file bezit alle benodigde SQL commando’s om de tabel van je database aan te maken en deze te vullen met data.

Het makkelijkste is om deze stap met behulp van phpMyAdmin te doen.

Stap 4: Aanpassen configuration.php

Elke Joomla! installatie heeft een configuratie bestand in de root, genaamd configuration.php. Dit bestand slaat de basisinformatie op welke Joomla! gebruikt om het systeem te laten draaien. De meeste van de parameters blijven gelijk, een aantal zullen echter wijzigen door de verschillende server instellingen:

  • $host - This value is the database host. In most cases, this will be "localhost," but if you are using a different server for your database, you will need to change this.
  • $user - This is the database user. Change this if it is different from the user on your other server.
  • $password - This is the database user's password.
  • $db - This is the database name.
  • $ftp_host - In most cases, the FTP host will be "127.0.0.1," but if you are using a different setting you will change it here.
  • $ftp_port - In most cases, the FTP port will be "21," but if your server uses a different port you will change it here.
  • $ftp_user - This is your FTP username.
  • $ftp_pass - This is your FTP password.
  • $ftp_root - This is the root path to which your FTP user has access.
  • $tmp_path - This is the absolute path to the tmp directory on your server. It will probably look something like "/path/to/joomla/installation/tmp."
  • $log_path - This is the absolute path to the logs directory on your server. It will probably look something like "/path/to/joomla/installation/logs."
  • $offset - This is the time zone offset for your server. For example, if your company is in one time zone, but your server is in a time zone two hours ahead, you will need to see this to "-2."
  • $live_site - This parameter is optional. You can probably leave it blank, but if you use it, this is the URL of your site. It will probably look something like "http://www.example.com" or "http://www.example.com/joomla."
  • $sendmail - This is the path to the sendmail program on your server. If you are not using sendmail, you can ignore this.
  • $smtpuser - This is the username for your SMTP server. If you are not using your SMTP server for sending e-mails from your site, you can ignore this.
  • $smtppass - This is the password for your SMTP server. If you are not using your SMTP server for sending e-mails from your site, you can ignore this.
  • $smtphost - This is the host name or IP address for your SMTP server. If you are not using your SMTP server for sending e-mails from your site, you can ignore this.

Stap 5: Upload al je bestanden naar de nieuwe server

Gebruik weer je favoriete FTP client om de map die je op je harde schijf hebt opgeslagen (de backup), te uploaden naar de locatie waar je Joomla! geinstalleerd wilt hebben.

Stap 6: Importeer de database naar de nieuwe MySQL database

Gebruik hier weer phpMyAdmin en het SQL bestand uit stap 3, en importeer de oude database in de nieuwe.

Stap 7: Test de nieuwe Joomla! installatie

De verhuizing moet nu voltooid zijn. Test je site om er zeker van te zijn dat alles op de juiste plek staat en hij het doet zoals hij het moet doen.

Gegevens Over Joomla
Aegis Joomla Webdesign

Aegis Five Consulting © 2010 All Rights Reserved.

KvK: 27303974
BTW: NL182461361.B01
Tel: +31 (0)6-43053874