[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 376
  • Last Modified:

migrate joomla site

Hi, how can I move a Joomla installation from the root path of a web server, to a new path: /old ?

Its the same server, just changing directories.

We have ftp and phpmyadmin access

  • 2
2 Solutions
The quickest & easiest method to do this is with using a backup & restore component.  Do a fresh Joomla Install in the directory you want to move it to, Install AkeebaBackup.  Please follow this link, it will tell you the full process.  Run the Backup in the old path and then restore it to the new.  It's very straight forward & quick!!


This component does almost all of the work for you and installing is fairly straight forward.  The documentation is excellent.  You have no need to configure anything as it creates the tables for you.
darkbluegrAuthor Commented:
Hmm I see, shouldnt i just be able to edit my site url in the site settings, and move the files?
Take a look at full documentation here http://docs.joomla.org/Copying_a_Joomla_website

That takes you through the manual steps if you prefer to do it that way.  Doing it via the backup/restore route does it ALL for you, which is why I suggested it.  I actually made a mistake in my first response as you do not need to have a fresh install of Joomla (it was over a year ago and forgot).  Once you have the backup you use php kickstart and the backup, just start that running and it will do the rest for you.  It's very reliable & fast

Move the files to the new directory.

Open the new directory's root folder configuration.php. Change tmp and log to reflect new subdir. Sometimes these are relative and don't need to be changed.

Open root's .htaccess. Uncomment RewriteBase if necessary. Set value to:
RewriteBase /newdirectory/

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now