Wordpress通过数据库sql创建管理员

找不到管理员密码的时候,直接创建一个新超管INSERT INTO wp_users (user_login, user_pass, user_nicename, user_email, user_status, display_name) VALUES ('newadmin', MD5('Admin@123456'), 'newadmin'

- 阅读全文 -

ChatGPT的wp站服务器优化建议

1、安装Redis2、修改Mysql配置 (2C2G参考)innodb_buffer_pool_size = 512M #固定缓存max_connections = 100 #最大并发连接数上限query_cache_size = 0 #关闭老旧的查询缓存table_open_cache = 1024 #缓存已打开的表,减少频繁打开文件的开销tmp_table_size =

- 阅读全文 -

Glozin主题经验记录

※ 官方英文教程 https://wpglozin.com/docs/#/※ Contact顶部的联系方式在page contact 里直接edit,拉到最底下,不在elementor里,不成功的话直接sql因为有2条记录。UPDATE wp_postmeta SET meta_value = 'Please fill out the form below and our team will re

- 阅读全文 -