close

May 2024 only! Join our Discord free of charge.

Slick­Stack
Lightning-fast WordPress on Nginx

example wp-config.php template for optimized settings?

  • This topic is empty.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #3917
    Helen
    Guest

    Hello,

    Can I see the example of wp-config.php template that you recommend using for WordPress security and performance, thank you.

    #3919
    Margaret
    Guest

    Are 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.

    #3920
    Michelle
    Guest
    #3990
    Logan
    Guest

    sorry what are the @ @ @ symbols for?

    in your wp-config.php

    #3998
    Donald
    Guest

    sorry 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.

    #5120
    Jacob
    Guest

    some 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.

    #5121
    Melissa
    Guest
    #5206
    David
    Guest

    Hi,

    what if I want to edit some options in wp-config.php for SlickStack?

    can I change file contents

    #5210
    Marilyn
    Guest

    You 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

    #8093
    Katherine
    Guest
    #13223
    Gregory
    Guest
Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.

Thanks to our generous sponsors for their support!