WordPress 🌺 Several environments in wp-config.php

Share on email
Share on twitter
Share on linkedin
Share on facebook
Share on twitter
Share on linkedin
Share on facebook
Share on whatsapp
Share on email

Let's look at a method for configuring multiple environments in the file wp-config.php for a WordPress site. In this example, we manage a local site (here with the settings for Local By Flywheel), a pre-production site and the production site.

]d4`zgxI_S|' );
define( 'SECURE_AUTH_KEY', 'c/Ri:;,L]Xpa @$-H!x!_#zMA-4VsSw5WtI[5}bV1_p$[>6fgx]]C9X7|[email protected]' );
define( 'LOGGED_IN_KEY', '{r2j=yb+0l}a1nb`J9-cfCg`8Eh#jZ:te8df%Uv-]-lLDt?36.`+kxH0_+|BMwCG' );
define( 'NONCE_KEY', ' ;1IegwX>&rK|L|d`jkX%c`#{~cS%*NH&=Y&ViLw),f8)G*n?$5K~IIZiccwZpJ-' );
define( 'AUTH_SALT', ',TJLb(Qh]X8Zq}_,Yoz)*,D#Axr#O/BogMH9|Bn$W~kQfonX>[email protected]([email protected] ' );
define( 'SECURE_AUTH_SALT', '4GX9VT%.//; A+qkb)c}+QFTc(qi&N[-~)P=Q FmO#()peL2/pXYF=yv[e>**FZg' );
define( 'LOGGED_IN_SALT', 'aY7z>F>A3*a`s?7jzCyGo&FY~#=]VVD+LoNff^wAxgo~8dEi!FWT kV6FLFUCLO|' );
define( 'NONCE_SALT', '>jj/d~7++?CmCuU7Ad6ev{12(vC!IY%lgGxf8vWBz,e6
Julien MA Jacob
WordPress Developer
Julien MA JACOB - WordPress Developer
Passionate about the web and programming with always many projects in mind
  Discussion of the article
Subscribe to the newsletter
Notify to
guest
0 Comments
Inline Feedbacks
View all comments