Line 164: |
Line 164: |
| FLUSH PRIVILEGES; | | FLUSH PRIVILEGES; |
| === 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. | + | These instructions assume you have installed this contrib as described on this page and that you understand how to use Wordpress. 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. | + | |
| + | The Wordpress files are installed to /usr/share/wordpress by the wordpress contrib. The main configuration file wp-config.php in this location is a symlink 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 and creates the /etc/wordpress/wp-config.php file. After completing these steps, you will not be able to use the wordpress events or information in the configuration database. You will have to manually modify the wp-config.php file to suit your needs. |
| | | |
| Follow the steps at [[Wordpress_Multisite|Wordpress Multisite]] with the exception of steps A4, A5, and A7. | | Follow the steps at [[Wordpress_Multisite|Wordpress Multisite]] with the exception of steps A4, A5, and A7. |
Line 171: |
Line 172: |
| 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. | | 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. | + | 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. You should now have all of the wordpress base, config file, plugins, and content located in the new ibay you created. |
| | | |
− | Edit the wp-config.php and find the line that references the definition of ABSPATH. Edit the directory to match your ibay location. | + | Edit the wp-config.php file and find the line that references the definition of ABSPATH. Edit the directory to match your ibay location. The default entry created by the contrib is: |
| | | |
| /** Absolute path to the WordPress directory. */ | | /** Absolute path to the WordPress directory. */ |
Line 179: |
Line 180: |
| | | |
| 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. | | 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. |
| + | |
| + | A7 step: Navigate to yourdomain.com/wp-admin and login using the same credentials setup when you installed the contrib. Verify the settings are correct and save the configuration. No reconfiguration necessary. |
| + | |
| + | Once you verify your site and content are running as you designed, you can remove the wordpress contrib. Do not remove the mysql database or your site will not function. |
| | | |
| === Bugs === | | === Bugs === |