Difference between revisions of "User:Djgreen/WordPress: Engr Installation"

From WolfTech
Jump to navigation Jump to search
m
m
Line 1: Line 1:
--File Structure--
+
==File Structure==
  
 
*Copy /wp-content and /wp-includes into /wp-admin (note that you will need to place plugins and templates in *both* the main /wp-content and the one copied within /wp-admin
 
*Copy /wp-content and /wp-includes into /wp-admin (note that you will need to place plugins and templates in *both* the main /wp-content and the one copied within /wp-admin
Line 50: Line 50:
 
</pre>
 
</pre>
  
--DataBase--
+
==DataBase==

Revision as of 16:34, 19 April 2006

File Structure

  • Copy /wp-content and /wp-includes into /wp-admin (note that you will need to place plugins and templates in *both* the main /wp-content and the one copied within /wp-admin
  • Edit wp-admin/admin.php
#require_once('../wp-config.php');
require_once('./wp-config.php');

#require_once(ABSPATH . 'wp-admin/admin-functions.php');
#require_once(ABSPATH . 'wp-admin/admin-db.php');
require_once(ABSPATH . '/admin-functions.php');
require_once(ABSPATH . '/admin-db.php');

require(ABSPATH . '/menu.php');
#require(ABSPATH . '/wp-admin/menu.php');

#require_once(ABSPATH . '/wp-admin/admin-header.php');
require_once(ABSPATH . '/admin-header.php');

#require_once(ABSPATH . '/wp-admin/admin-header.php');
require_once(ABSPATH . '/admin-header.php');

#include(ABSPATH . 'wp-admin/admin-footer.php');
include(ABSPATH . 'admin-footer.php');

#if (! file_exists(ABSPATH . "wp-admin/import/$importer.php"))	
if (! file_exists(ABSPATH . "import/$importer.php"))

#include(ABSPATH . "wp-admin/import/$importer.php");
include(ABSPATH . "import/$importer.php");

#require_once(ABSPATH . 'wp-admin/admin-header.php');
require_once(ABSPATH . 'admin-header.php');

#require_once(ABSPATH . 'wp-admin/upgrade-functions.php');
require_once(ABSPATH . 'upgrade-functions.php');

#include(ABSPATH . 'wp-admin/admin-footer.php');
include(ABSPATH . 'admin-footer.php');
  • Place a second copy of wp-config.php and wp-settings.php in the /wp-admin directory.
  • Edit /wp-admin/admin-header.php
#require(ABSPATH . '/wp-admin/menu-header.php');
require(ABSPATH . '/menu-header.php');

#require(ABSPATH . '/wp-admin/options-head.php');
require(ABSPATH . '/options-head.php');

DataBase