Skip to content

Instantly share code, notes, and snippets.

@jeffsebring jeffsebring/
Created Nov 21, 2012

What would you like to do?
New WordPress Install with separated directories
tar -zxvf latest.tar.gz
rm latest.tar.gz
mv wordpress __
mv __/wp-content _
echo "<?php" >> index.php
echo "define( 'WP_USE_THEMES', true );" >> index.php
echo "require('./__/wp-blog-header.php');" >> index.php
mv __/wp-config-sample.php wp-config.php
printf 'SUCCESS!\n'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.