Puvox – Blog
  • HOMEPAGE
  • Mobile & Android
  • Browser
  • Plugin
  • Technology
  • Trade programming
  • Website
  • Windows & Software
  • WordPress

Puvox – Blog

Recent Posts

  • Install SSL/HTTPS on WAMP-server (2019)
  • Ticks (amount) or UpTicks/DownTicks indicator ( ThinkOrSwim )
  • [Solution] Can’t download file from UpWork (“This file is dangerous…” in Chrome)
  • (Solution) Highest/Lowest functions with series-integer in PineScript
  • [Solution] “The type or namespace name ‘TextPosition’ could not be found”

Recent Comments

  • Alex on (Solution) Highest/Lowest functions with series-integer in PineScript
  • Matt on D3SpotterV3B4 + DerivativeOscillator + SMI (With fixes and updates)
  • J on (SOLUTION) Synergy shows Warning/Error “unrecognised client name”
  • tom on D3SpotterV3B4 + DerivativeOscillator + SMI (With fixes and updates)
  • [TradeStation/EasyLanguage] Optimize indicators and strategies – avoid calling series functions – Blog on EasyLanguage- Make one-time calculations (&functions) performance-optimised

Archives

  • January 2019
  • September 2018
  • August 2018
  • June 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • May 2017
  • April 2017
  • March 2017
  • January 2017
  • December 2016
  • December 2013
  • January 2013

Categories

  • Browser
  • Coding
  • Health
  • Mobile & Android
  • Plugin
  • Technology
  • Trade programming
  • Uncategorized
  • Video
  • Website
  • Windows & Software
  • WordPress

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

default wp-config for Multisite

  • Coding
  • WordPress
Remember short-link to MUST-HAVE WP plugins: protectpages.com/wordpress 

correction of codes

Default content of WP-CONFIG

If you need example of wp-config.php, then you should better to view wp-confg-sample.php file (in your WordPress root directory) , then create a copy of it and just name it wp-config . You can also see the sample here ,  or download WordPress from here  and get wp-config.php file from that package.

P.S. REMEMBER, DONT LEAVE YOUR SITE without wp-config.php even 1 minute!

for Multi-Sites

If you used Multi-site WordPress installation, and for some reasons (i.e. accidentally or i dont know) and you had to re-create wp-config file, then you might need to add such lines (EXAMPLE):


define('WP_ALLOW_MULTISITE', true );

define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);                      //<--------- set it false if using subfolders method
define('DOMAIN_CURRENT_SITE',  'XXXXXXXXXXXXXXXX');      //<--------- your domain name, like:  example.com
define('PATH_CURRENT_SITE',    '/YYYYYYYYYYYY/');        //<--------- if installed in root folder, then use only / , if installed in subfolder, replace YYYYYYY with folder-name
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);

Note: Dont migrate your wordpress website with “your knowledge”, because you will probably mess-up the site without correction of the database. You should read this when you are about to migrate wordpress website correctly! (the article is critically important in case you have Multi-Site. If not, then it’s still important).

 

For very old-version WP (<3.0) users:  If you are from a previous century and use old version of WordPress, then the best way is to view wp-config-sample.php file from your installation, because that sample file is the exact type that your installation needs. Because if you have i.e. WP 3.0 version, than after that, some things could have changed, and you might not fit the new files from recent package. If you want to get more details, read codex here. Also, dont forget to change the default values of db_name,dp_user,db_pass,db_host and etc… You should set your info there. If you don’t know, enter your hosting panel (i.e. cPanel, DirectAdmin or whatever your hosting provider uses) and see that info in “MySQL” databases tab. If there are no Databases created yet, then create one. If it exists already, but you don’t know a password, then you can create/modify current one, and enter that information into wordpress file.

December 20, 2016

Post navigation

Add BOOKMARK button (link) in BROWSER → ← Radio-signals,waves, WiFi, Mobile,Bluetooth for Health – Safety or danger?

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Browser
  • Coding
  • Health
  • Mobile & Android
  • Plugin
  • Technology
  • Trade programming
  • Uncategorized
  • Video
  • Website
  • Windows & Software
  • WordPress
Copyright © 2019 | Puvox Software