वर्डप्रेस: 404 पेज संपादित करें - यह कैसे काम करता है
यदि आप वर्डप्रेस में पृष्ठ 404 को संपादित करते हैं, तो आगंतुकों को कम से कम एक अच्छा संदेश के साथ मुआवजा दिया जाएगा यदि एक पेज नहीं मिला है। यहां हम दिखाते हैं कि आप पृष्ठ को कहां संपादित कर सकते हैं।
वर्डप्रेस: 404 पेज को कैसे संपादित करें
निश्चित रूप से सबसे अच्छा समाधान यह होगा कि पृष्ठ "404 - पृष्ठ नहीं मिला" बिल्कुल नहीं दिखाई देता है, अर्थात, आपके पृष्ठ पर सभी संदर्भ सही हैं। फिर भी, एक गलती रेंग सकती है और फिर कम से कम एक आकर्षक पृष्ठ को इंगित करना चाहिए।
- आपके व्यवस्थापक क्षेत्र में आपको बाईं ओर मेनू में आइटम "डिज़ाइन" मिलेगा। बिंदु पर क्लिक करें, उप-बिंदु "संपादक" दिखाई देना चाहिए।
- यदि आप "संपादक" पर क्लिक करते हैं, तो फ़ाइलों की एक सूची दिखाई देती है, जिसमें फ़ाइल "404.php" और बीच में एक कोड विंडो शामिल है। यहां आप 404 फाइल को एडिट कर सकते हैं।
- यदि फ़ाइल सूची में नहीं दिखाई देती है, तो एफ़टीपी प्रोग्राम के साथ सर्वर तक पहुंचें। वहां आपको "wp-content / themes / default" के तहत 404.php मिलेगा।
- PHP फ़ाइल में, h2 टैग के बीच "" की खोज करें। आप इस हिस्से को अपने कोड से बदल सकते हैं - जब तक आप PHP से परिचित हैं।
वैकल्पिक: एक 404 प्लगइन
यदि आपको PHP के बारे में कोई जानकारी नहीं है, तो आपको फ़ाइल को संपादित करने से दूर रहना चाहिए। इसके बजाय, एक प्लगइन का उपयोग करें।
- 404 त्रुटि पृष्ठ को विशेष प्लगइन्स जैसे "चालीस चार - 404 प्लगइन के लिए वर्डप्रेस" के साथ आसानी से तैयार किया जा सकता है।
युक्ति: 404 पृष्ठ पर एक पृष्ठभूमि छवि कैसे एम्बेड करें
अगले व्यावहारिक टिप में, हम आपको बताएंगे कि कैसे वर्डप्रेस में अपना खुद का संपर्क फ़ॉर्म बनाएं।