सीधे कंटेंट पर जाएं
Tools

wp-config.php Generator

Build a correct wp-config.php without copy-pasting from a 2014 blog post

आपके browser में चलता है. कुछ भी upload नहीं होता.

Database
Debugging
Hardening
Limits
wp-config.php

Salts are generated in your browser with crypto.getRandomValues(). They are never sent anywhere — but for the record, WordPress's own api.wordpress.org salt endpoint is equally fine; it returns fresh random values over TLS.

wp-config.php Generator के बारे में

Generate a wp-config.php with the constants you actually need — debug logging, memory limits, file-edit lockdown, upload limits, table prefix, and fresh salts. Everything is generated in your browser; nothing is sent anywhere.

FAQ

सवाल

क्या browser में wp-config.php salts generate करना safe है?

हाँ. Salts, crypto.getRandomValues() से बनते हैं, जो browser का cryptographically secure random number generator है, और ये कभी आपकी machine से बाहर नहीं जाते. वैसे बता दें, WordPress का अपना api.wordpress.org salt endpoint भी उतना ही safe है — यह TLS पर ताज़ा random values लौटाता है. यह एक सुविधा है, कोई security fix नहीं.

यह मेरा database password क्यों नहीं माँगता?

क्योंकि आपको किसी web page में production database password नहीं टाइप करना चाहिए, चाहे वह खुद को कितना ही भरोसेमंद बताए. Generate की गई file में एक placeholder होता है — उसे locally, अपने editor में भरें.

क्या मैं किसी मौजूदा site पर table prefix बदल सकता हूँ?

सिर्फ़ wp-config.php edit करके नहीं. किसी live site पर $table_prefix बदलने के लिए हर table का नाम बदलना पड़ता है और साथ ही options और usermeta tables में दो rows को rewrite करना पड़ता है. इसे fresh install पर बदलें, या छोड़ दें.