Changes

From SME Server
Jump to navigationJump to search
1,558 bytes added ,  18:24, 10 November 2015
Line 163: Line 163:  
  DELETE FROM user WHERE user = 'wordpress';
 
  DELETE FROM user WHERE user = 'wordpress';
 
  FLUSH PRIVILEGES;
 
  FLUSH PRIVILEGES;
=== To Move Contrib to iBay ===
+
=== Move Contrib to iBay ===
 +
These instructions assume you have installed this contrib as described on this page. If you have done anything else these instructions are not for you.
 +
The Wordpress files are installed to /usr/share/wordpress by this contrib. The main configuration file wp-config.php is symlink-ed to /etc/wordpress/wp-config.php. The template for the wp-config.php file is located at /etc/e-smith/templates/etc/wordpress/wp-config.php.
 +
 
 +
Follow the steps at [[Wordpress_Multisite|Wordpress Multisite]] with the exception of steps A4, A5, and A7.
 +
 
 +
A4 step: If you are moving an existing install, the database and user already exist. Backup the Wordpress database using phpmyadmin ([[PHPMyAdmin]]) and get the database user and password from /etc/wordpress/wp-config.php.
 +
 
 +
A5 step: You are going to be using an existing installation so use midnight commander (mc at the terminal) to copy the files from /usr/share/wordpress/ to the ibay directory. Once copied, navigate to the ibay directory and delete the symlink for wp-config.php. Copy wp-config.php from /etc/wordpress to the ibay directory.
 +
 
 +
Edit the wp-config.php and find the line that references the definition of ABSPATH. Edit the directory to match your ibay location.
 +
 +
  /** Absolute path to the WordPress directory. */
 +
define('ABSPATH', '/usr/share/wordpress/');
 +
 
 +
Using phpmyadmin, go into the wordpress database wp_options table and change the siteurl and home records to reflect your new url. You do not have to use https if you created the ibay using the steps outlined in the Wordpress Multisite wiki page.
    
=== Bugs ===
 
=== Bugs ===
70

edits

Navigation menu