Change config from --mysql to --wpfc

Hi!
I had a backup of my old site that had to be imported before installing WordPress (using BackupBuddy). Therefore I setup EasyEngine using the following command:

ee site create example.com --mysql

Meaning I used the backup to install WordPress manually, without the help from EasyEngine.

Anyway, now I would like to optimize the config files for WordPress and at the same time get the best possible caching solution.

Is there a command I could run that would let me change the config to this:

ee site create example.com --wpfc

I’m also wondering if this setup is the best caching solution, or if I should go with another option?

Thanks for all your help and for a fantastic service!

// Jens.

To be clear: I don’t want to reinstall WordPress, i just want the server configuration to be optimally optimized for WordPress and with a good caching solution.

Thanks!

An update on where I am so far, since you haven’t answered yet.

Using the following command:

ee site edit mysite.com

I have replaced the following lines:

include common/php.conf;  
include common/locations.conf;

…with these:

include common/wpfc.conf;  
include common/wpcommon.conf;  
include common/locations.conf;

I have also configured w3 total cache the way you advice here on the site.

This seems to work fine. Anything else I could do to make the server setup and caching solution even better?

Thanks!

// Jens.

@jensfilipsson

Is there a command I could run that would let me change the config to this:

Right now this feature is not implemented you can see here.

Its good if you give us output of following command so we can give you proper guide to change from --mysql tp --wpfc

ee site show example.com

These are the changes I have done so far:

# MYSQL NGINX CONFIGURATION  

server {  

	server_name delbart.se www.delbart.se;  

	access_log   /var/log/nginx/delbart.se.access.log rt_cache;  
	error_log    /var/log/nginx/delbart.se.error.log;  

	root /var/www/delbart.se/htdocs;  
	index index.php index.htm index.html;  

	include common/wpfc.conf;  
	include common/wpcommon.conf;  
	include common/locations.conf;  
}

Hi jensfilipsson,

Its Good to know that changes you have done are correct, with minor change remaining.
please change MYSQL NGINX CONFIGURATION to WPSINGLE FAST CGI NGINX CONFIGURATION.

Hello @jensfilipsson

It’s been a long time, and we haven’t heard from you. It looks like your query is resolved.

I am closing this support ticket for now. Feel free to create a new support ticket if you have any queries further. :slight_smile: