Installing WordPress With Clean Subversion Repositories

Many people have used Subversion to install WordPress or have installed WordPress into its own directory. You can combine these techniques to create a “clean” Subversion installation in which the user’s custom files (wp-config.php and wp-content/) are stored outside of the WordPress application directory, so that user files and files under version control never overlap. (Original credit to Sam Bauers for presenting these instructions at WordCampUK.)

Installing WordPress With Clean Subversion Repositories
Installing WordPress With Clean Subversion Repositories

Check out a working copy and install

Create the new location for the core WordPress files to be stored (we will use /wordpress in the examples).

Following the New Install using Subversion instructions, check out (Subversion command co) the stable version of WordPress you have chosen. Do not type the $ characters — they are just indications of the command prompt. Here is the command (assuming the version you want is 2.9.1):

$ svn co http://core.svn.wordpress.org/tags/2.9.1 .

When the download is complete, edit the wp-config.php (see editing wp-config.php) ignoring the Advanced Options and save the file within the root directory (http://example.com/).

Above commands will fun on any linux distribution.

For more information go to following links

Source link

http://wordpress.org/download/svn/

http://wordpress.org/extend/plugins/about/svn/

Published by

Purab

I am Purab from India, Software development is my profession and teaching is my passion. Programmers blog dedicated to the JAVA, Python, PHP, DevOps and Opensource Frameworks. Purab's Github Repo Youtube Chanel Video Tutorials Connect to on LinkedIn

Leave a Reply

Your email address will not be published.