День: 14.04.2020

Конспект по защите WordPress

https://translate.google.com/translate?hl=&sl=en&tl=ru&u=https%3A%2F%2Fwordpress.org%2Fsupport%2Farticle%2Fediting-wp-config-php%2F Editing wp-config.php // https://codex.wordpress.org/Редактирование_wp-config.php define(‘WP_MEMORY_LIMIT’, ‘256M’); define( ‘WP_MAX_MEMORY_LIMIT’, ‘512M’ ); define(‘WP_SITEURL’, ‘http://’.$_SERVER[‘HTTP_HOST’]); define(‘WP_HOME’, ‘http://’.$_SERVER[‘HTTP_HOST’]); //define(‘WP_SITEURL’, ‘http://’.$_SERVER[‘SERVER_NAME’]); //define(‘WP_HOME’, ‘http://’.$_SERVER[‘SERVER_NAME’]); define(‘WP_CONTENT_DIR’, $_SERVER[‘DOCUMENT_ROOT’].’/blog/wp-content’ ); define(‘WP_CONTENT_URL’, ‘http://example/blog/wp-content’); define(‘WP_PLUGIN_DIR’, $_SERVER[‘DOCUMENT_ROOT’].’/blog/wp-content/plugins’ ); define(‘WP_PLUGIN_URL’, ‘http://example/blog/wp-content/plugins’); define(‘UPLOADS’, […]