High Performance Wordpress and Server - Part I - Server Setup
I have successfully managed to get around a 1 second load time on my Wordpress site, While getting 250 concurrent users over a 1 minute test period. (Source: https://webpagetest.org/result/210128_Di26_15d11aa18013d1df9ebc867e1aa9c2f3/) This was done with a combination of items, stemming from the server install up to Wordpress theme development. Here is how…Choosing NGINX for growth with Wordpress
Do it Because They Do WordPress.com is the cloud version of WordPress that is hosted and supported by Automattic.WordPress.com serves more than 33 million sites attracting over 339 million people and 3.4 billion pages each month. Since April 2008, WordPress.com has experienced about 4.4 times growth in page views. WordPress.com VIP hosts many popular…Setup SVN With Attached Drives on CentOS
These are the step that I took to create a SVN server using CentOS 7, while attaching drives as repositories instead of creating a monstrous system drive and importing everything there. If you follow to a "T", you too can have the play-ground I have =) I will lay out…Moving a ModX Revolution Site to Another Server
Since I am currently running into this issue right now as I type this, I though I would share my experiences with moving a ModX Revolution site from one server to another. It is not an easy task, but can be accomplished rather easily. The first thing you will need…Cookie Notice
This site utilizes cookies to improve your browsing experience, analyze the type of traffic we receive, and serve up proper content for you. If you wish to continue browsing, you must agree to allow us to set these cookies. If not, please visit another website.
Moving a ModX Revolution Site to Another Server
Since I am currently running into this issue right now as I type this, I though I would share my experiences with moving a ModX Revolution site from one server to another. It is not an easy task, but can be accomplished rather easily.
The first thing you will need to do is to verify that your new server has PHP and MySQL installed, along with the PDO drivers.
Next step is to search through your current database and change any physical paths it may contain to point to your new directory structure on the new server. Once you have this done you are ready to do a mysqldump, if you have access to phpMyAdmin, take the easy route and simply do an export. Make sure to checkoff the dump/create tables.
MySQL Dump Command: mysqldump -u username -p your_revo_db > /path/to/backups/my_revo_db.sql
Once this is done, make sure you log into your current site’s manager, and clear all your site’s caches and sessions. If in doubt, simply get into your directory structure and remove everything in the /core/cache folder
Now, package up all your files, and transfer them to the new server. Make sure you remember the path to these new files, because you will need to update the following files in order for the site to come up again for you.
- /core/config/config.inc.php
- Change the path to the following variables, to the value of your new server path
- $modx_core_path
- $modx_processors_path
- $modx_connectors_path
- $modx_manager_path
- $modx_base_path
- $modx_wp-content_path
- Change $http_host = ‘yoursite.com’;
- Change the path to the following variables, to the value of your new server path
- /config.core.php
- Change: define(‘MODX_CORE_PATH’, ‘/path/to/modx_doc_root/core/’);
- /connectors/config.core.php
- Change: define(‘MODX_CORE_PATH’, ‘/path/to/modx_doc_root/core/’);
- /manager/config.core.php
- Change: define(‘MODX_CORE_PATH’, ‘/path/to/modx_doc_root/core/’);
Ok, now that you’ve got the files squared away, go ahead and import your database, either through the phpMyAdmin Import interface or through a command like: mysql -u username -p target_db < my_revo_db.sql
Once your database has successfully been imported, you may need to make one last change… There is a value in the XXX_workspaces table, you may need to change the `path` value in here. If it looks like {core_path}, just leave it alone.
Please make sure you have all your new permissions set properly on your new server, and you should be good to go!
Have fun, and happy coding!
~Kevin