example wp-config.php template for optimized settings?
- This topic is empty.
-
AuthorPosts
-
January 26, 2023 at 10:21 am #3917HelenGuest
Hello,
Can I see the example of
wp-config.php
template that you recommend using for WordPress security and performance, thank you.January 26, 2023 at 10:30 am #3919MargaretGuestAre 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.
January 26, 2023 at 10:32 am #3920MichelleGuestThis is our boilerplate:
https://mirrors.slickstack.io/modules/wordpress/wp-config.txt
January 28, 2023 at 6:05 am #3990LoganGuestsorry what are the @ @ @ symbols for?
in your wp-config.php
January 28, 2023 at 8:11 am #3998DonaldGuestsorry 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.April 24, 2023 at 4:07 pm #5120JacobGuestsome 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.
April 24, 2023 at 4:07 pm #5121MelissaGuestMay 4, 2023 at 6:55 pm #5206DavidGuestHi,
what if I want to edit some options in wp-config.php for SlickStack?
can I change file contents
May 5, 2023 at 8:44 am #5210MarilynGuestYou 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
September 14, 2023 at 11:57 pm #8093KatherineGuestMarch 12, 2024 at 5:19 am #13223GregoryGuestsaw your approach mentioned in here
-
AuthorPosts
- You must be logged in to reply to this topic.