Advertisement
MertcanGokgoz

wordpress config

Dec 30th, 2018
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.07 KB | None | 0 0
  1. <?php
  2.  
  3. /**
  4. * The base configurations of the WordPress.
  5. *
  6. * This file has the following configurations: MySQL settings, Table Prefix,
  7. * Secret Keys, WordPress Language, and ABSPATH. You can find more information
  8. * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
  9. * wp-config.php} Codex page. You can get the MySQL settings from your web host.
  10. *
  11. * This file is used by the wp-config.php creation script during the
  12. * installation. You don't have to use the web site, you can just copy this file
  13. * to "wp-config.php" and fill in the values.
  14. *
  15. * @package WordPress
  16. */
  17.  
  18. /* MySQL settings */
  19. define( 'DB_NAME',     'database_name_here' );
  20. define( 'DB_USER',     'username_here' );
  21. define( 'DB_PASSWORD', 'password_here' );
  22. define( 'DB_HOST',     'localhost' );
  23. define( 'DB_CHARSET',  'utf8' );
  24.  
  25.  
  26. /* MySQL database table prefix. */
  27. $table_prefix = 'wp_';
  28.  
  29.  
  30. /* Authentication Unique Keys and Salts. */
  31. /* https://api.wordpress.org/secret-key/1.1/salt/ */
  32. define( 'AUTH_KEY',         'put your unique phrase here' );
  33. define( 'SECURE_AUTH_KEY',  'put your unique phrase here' );
  34. define( 'LOGGED_IN_KEY',    'put your unique phrase here' );
  35. define( 'NONCE_KEY',        'put your unique phrase here' );
  36. define( 'AUTH_SALT',        'put your unique phrase here' );
  37. define( 'SECURE_AUTH_SALT', 'put your unique phrase here' );
  38. define( 'LOGGED_IN_SALT',   'put your unique phrase here' );
  39. define( 'NONCE_SALT',       'put your unique phrase here' );
  40. define( 'WP_CACHE_KEY_SALT', 'website url');
  41.  
  42. /* SSL */
  43. define( 'FORCE_SSL_LOGIN', true );
  44. define( 'FORCE_SSL_ADMIN', true );
  45.  
  46.  
  47. /* WordPress Localized Language. */
  48. define( 'WPLANG', 'tr_TR' );
  49.  
  50.  
  51. /* AutoSave Interval. */
  52. define( 'AUTOSAVE_INTERVAL', '30' );
  53. /* Disable Post Revisions. */
  54. define( 'WP_POST_REVISIONS', false );
  55. /* Media Trash. */
  56. define( 'MEDIA_TRASH', true );
  57. /* Trash Days. */
  58. define( 'EMPTY_TRASH_DAYS', '7' );
  59.  
  60.  
  61. /* WordPress debug mode for developers. */
  62. define( 'WP_DEBUG',         false );
  63. define( 'WP_DEBUG_LOG',     false );
  64. define( 'WP_DEBUG_DISPLAY', false );
  65. define( 'SCRIPT_DEBUG',     false );
  66. define( 'SAVEQUERIES',      false );
  67.  
  68.  
  69. /* WordPress Cache */
  70. define( 'WP_CACHE', true );
  71.  
  72.  
  73. /* Compression */
  74. define( 'COMPRESS_CSS',        true );
  75. define( 'COMPRESS_SCRIPTS',    true );
  76. define( 'CONCATENATE_SCRIPTS', true );
  77. define( 'ENFORCE_GZIP',        true );
  78.  
  79.  
  80. /* CRON */
  81. define( 'DISABLE_WP_CRON',      'true' );
  82. define( 'ALTERNATE_WP_CRON',    'true' );
  83.  
  84. /*File Methods*/
  85. define( 'FS_METHOD','direct');
  86. /*Directory Permission*/
  87. define( 'FS_CHMOD_DIR', (0755 & ~ umask()));
  88. /*File Permission*/
  89. define( 'FS_CHMOD_FILE', (0664 & ~ umask()));
  90.  
  91.  
  92. /* Updates */
  93. define( 'WP_AUTO_UPDATE_CORE', true );
  94. define( 'DISALLOW_FILE_MODS', true );
  95. define( 'DISALLOW_FILE_EDIT', true );
  96.  
  97.  
  98. /* Absolute path to the WordPress directory. */
  99. if ( !defined('ABSPATH') )
  100.     define('ABSPATH', dirname(__FILE__) . '/');
  101.  
  102. /* Sets up WordPress vars and included files. */
  103. require_once(ABSPATH . 'wp-settings.php');
  104.  
  105. /*Hide Wordpress Core Error Message*/
  106. ini_set('display_errors', 0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement