example wp-config.php template for optimized settings?
- This topic is empty.
-
AuthorPosts
-
Helen
GuestHello,
Can I see the example of
wp-config.php
template that you recommend using for WordPress security and performance, thank you.Margaret
GuestAre you using SlickStack?
If you’re using it then wp-config.php will be automatically installed and optimized for your unique website and database settings, etc.
Michelle
GuestThis is our boilerplate:
https://mirrors.slickstack.io/modules/wordpress/wp-config.txt
Logan
Guestsorry what are the @ @ @ symbols for?
in your wp-config.php
Donald
Guestsorry what are the @ @ @ symbols for?
All the
@
symbols are part of placeholders so that SlickStack can search/replace certain strings during the installation process.Like for example:
@DB_NAME
will be replaced with the database name e.g.production
Obviously if you’re not using SlickStack than you don’t need these placeholders and should fill out the
wp-config.php
settings as you require.Jacob
Guestsome of the wp-config.php values in SlickStack are set in your ss-config so review that file if you want to adjust certain settings.
Melissa
GuestDavid
GuestHi,
what if I want to edit some options in wp-config.php for SlickStack?
can I change file contents
Marilyn
GuestYou cannot edit the
wp-config.php
in SlickStack because your changes will be overwritten during next update or install. Instead, you should add custom PHP constants to a new file called/var/www/html/wp-content/custom-functions.php
and that file will be loaded if detected by SlickStack. See here:https://github.com/littlebizzy/slickstack/blob/master/modules/wordpress/wp-config.txt
Katherine
Guest -
AuthorPosts