Results 1 to 2 of 2

Thread: How to move Wordpress Install to new drive?

  1. #1
    Join Date
    May 2009
    Location
    Wilton, CT
    Beans
    190
    Distro
    Ubuntu 10.04 Lucid Lynx

    How to move Wordpress Install to new drive?

    Have just set up a development box for a WP blog that I want to play with. I don't have that much room on my install/root drive, but have plenty on another mounted drive.

    I've installed Wordpress and MySQL using the defaults. Wordpress is in:

    /var/www/wordpress

    Not sure where MySQL data is stored, but I'm less concerned about that growing too large.

    I would like to have http:/localhost/wordpress/ such that it grabs data from
    /media/NAS/Wordpress rather than /var/www/wordpress

  2. #2
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: How to move Wordpress Install to new drive?

    Probably the easiest way to do what you need is to create a sym-link:

    Code:
    sudo ln -s /media/NAS/Wordpress  /var/www/wordpress
    I would suggest you move the wordpress directory to /media/NAS, before trying to create the sym-link.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •