Need help re-connecting local WP-config file to local database

Once I wrote a tutorial on what to do when you delete the wp-config.php file, the article was in Bengali (bn_BD): ওয়ার্ডপ্রেসের wp-config.php মুছে ফেললে করণীয় (Web Archive) You can use Google Translate to get the gist of the article. Summary Copy the wp-config-sample.php, paste and rename the file into wp-config.php Find out the database … Read more

WordPress installed on a Sub-directory

Looks link you’re missing the forward slash / which is probably causing it to not locate the right files /.index.php <?php define(‘WP_USE_THEMES’, true); require( dirname( __FILE__ ) . ‘/web/wp-blog-header.php’ ); /web/index.php <?php define(‘WP_USE_THEMES’, true); require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ ); /.htaccess (the same as /web/.htaccess) # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /web/ … Read more

How turn on error reporting without reset?

In WordPress error reporting is primarily controlled by WP_DEBUG and other related constants in wp-config.php file. Typically they are completely independent of theme and plugins, although some (well coded) extensions adjust their behavior accordingly with debug settings.

tech