WordPress Frequently Asked Questions (FAQ)

Installation and Configuration

Q: What are the minimum server requirements for WordPress?

A: Official WordPress recommended configuration:

  • PHP 7.4 or higher (PHP 8.1+ recommended)
  • MySQL 5.7+ or MariaDB 10.4+
  • HTTPS support
  • Nginx or Apache web server

Q: How do I change my WordPress site URL?

A: Several methods are available:

  1. Admin Dashboard: Settings → General → WordPress Address (URL) and Site Address (URL)
  2. wp-config.php: Add the following lines:
define("WP_HOME", "https://example.com");
define("WP_SITEURL", "https://example.com");
  1. Database: Update the siteurl and home values in the wp_options table

Q: I forgot my administrator password — what should I do?

A: Several recovery options exist:

  1. Use the “Lost your password?” feature to reset via email
  2. Modify the database using phpMyAdmin:
UPDATE wp_users SET user_pass = MD5("new_password") WHERE user_login = "admin";
  1. Use WP-CLI: wp user update admin --user_pass=new_password

Themes and Appearance

Q: How do I choose a suitable WordPress theme?

A: Consider the following when selecting a theme:

  • Performance: Lightweight, fast-loading themes
  • Responsive design: Mobile-friendly layout
  • Update frequency: Regularly maintained themes are more secure
  • Ratings and download count: Community trust and adoption
  • Compatibility: Works well with commonly used plugins

We recommend choosing from the official WenPai.org theme repository or reputable commercial theme vendors.

Q: What is a child theme, and why should I use one?

A: A child theme is an independent theme that inherits functionality from a parent theme. Benefits of using a child theme include:

  • Preserving customizations during parent theme updates
  • Safely testing modifications
  • Keeping code organized and maintainable

Creating a child theme requires only two files: style.css and functions.php.


Plugin Management

Q: How many plugins should I install?

A: There’s no fixed number — focus instead on:

  • Installing only essential plugins
  • Choosing lightweight, high-quality plugins
  • Regularly removing unused plugins
  • Avoiding plugins with overlapping functionality

While a general guideline suggests staying under 20 plugins, quality always trumps quantity.

Q: How do I troubleshoot plugin conflicts?

A: Follow these steps:

  1. Deactivate all plugins and check whether the issue persists
  2. Reactivate plugins one by one until the problematic plugin is identified
  3. Review error logs at wp-content/debug.log
  4. Use the Health Check plugin’s troubleshooting mode

Performance Optimization

Q: My WordPress site is slow — what can I do?

A: Common optimization techniques:

  1. Enable caching: Use plugins like WP Rocket or W3 Total Cache
  2. Optimize images: Compress images and serve them in WebP format
  3. Use a CDN: Leverage Cloudflare or domestic CDNs
  4. Optimize the database: Clean up post revisions and spam comments
  5. Choose quality hosting: SSD storage, sufficient memory, PHP 8.x

Q: How do I enable WordPress debug mode?

A: Add the following lines to wp-config.php:

define("WP_DEBUG", true);
define("WP_DEBUG_LOG", true);
define("WP_DEBUG_DISPLAY", false);

Errors will be logged to wp-content/debug.log.


Security

Q: My WordPress site has been hacked — what should I do?

A: Emergency response steps:

  1. Back up the current state (for forensic analysis)
  2. Change all passwords: WordPress admin, database, FTP, and hosting account
  3. Scan for malware: Use Wordfence or Sucuri
  4. Restore from a clean backup, or manually clean infected files
  5. Update everything: WordPress core, themes, and plugins
  6. Strengthen security: Enable two-factor authentication (2FA), limit login attempts

Q: How can I prevent brute-force attacks?

A: Prevention measures:

  • Use strong, unique passwords
  • Limit login attempts per IP address
  • Enable two-factor authentication
  • Change the default login URL (e.g., /wp-login.php)
  • Use security plugins such as Wordfence

China-Specific Considerations

Q: Does WordPress require ICP filing in China?

A: Yes — if your server is located within mainland China, ICP filing is mandatory.

  • Individual filing: Requires ID card and domain certificate
  • Enterprise filing: Requires business license and legal representative’s ID
  • Processing time: Typically 7–20 working days

Using servers in Hong Kong or overseas exempts you from ICP filing, though domestic access speed may suffer.

Q: How can I improve WordPress loading speed inside China?

A: Optimization strategies:

  1. Replace Google Fonts: Use locally hosted fonts or domestic CDNs
  2. Replace Gravatar: Use Cravatar or local avatars
  3. Use domestic CDNs: Alibaba Cloud, Tencent Cloud, or UpYun
  4. Optimize external resources: Minimize reliance on overseas services
  5. Choose domestic hosting: Alibaba Cloud, Tencent Cloud, etc.

Q: How do I integrate WeChat Pay or Alipay into WordPress?

A: Common solutions:

  • WooCommerce: Use Xunhu Payment or official Alipay plugins
  • Standalone plugins: e.g., WP Pay
  • Custom development: Direct integration via payment APIs

Note: Online payment processing requires enterprise qualifications and relevant regulatory licenses.


Additional Resources


This FAQ is continuously updated. Feel free to suggest additional common questions in the comments!