BloggingHindi - Blogging Aur Internet Ki Sabhi Jankari

  • About Us
  • Contact Us
  • Blogging
  • WordPress
  • SEO

WordPress Header Se Unnecessary Tags Kaise Remove Kare [Better Speed & Security Ke Liye]

Last Updated on January 5, 2021 by Md Arshad Noor 3 Comments

Content Summary

  • WordPress ब्लॉग की Header में कौन कौन से unnecessary tags होते हैं?
  • WordPress ब्लॉग की Header से Unnecessary Tags को Remove कैसे करें?
        • 1. Remove EditURI/RSD (Really Simple Discovery) link:
        • 2. Remove wlwmanifest (Windows Live Writer) link:
        • 3. Remove meta name generator:
        • 4. Remove ShortLink
        • 5. Remove Feed Links:
        • 6. Remove Comment Feed:
        • 7. Remove api.w.org relation link:
        • 8. All Functions.php Codes:

WordPress हमारे site के header में बहुत सारे tags/element को add कर देता है. जिससे हमारा site बहुत slow loading होता है. आज में आपको इसी के बारे में बताने वाला हूँ कि wordpress site से unnecessary tags/elements को remove कैसे करें? जिससे आप अपने site को fast loading बना सकते हो।

remove tags elements from  wordpress tags

ब्लॉग बनाने के लिए WordPress सबसे best CMS है. इसमे सबसे ज्यादा PHP + MySQL का use किया गया है. इसके अलावा इसमें javascript और CSS का भी use किया गया है. WordPress में बहुत सारे useful features दिए गए हैं, जिससे कोई भी easily इसमे ब्लॉग को manage कर सकता है.

WordPress भी बहुत fast load होने वाली CMS है. लेकिन में यह नही कह सकता हूँ कि ये सबसे ज्यादा fast है. चूँकि आप जाने होने की php, javascript, css जैसे coding बहुत slow होती है और इसमें अधिकतर इन्ही का use हुआ है. लेकिन wordpress को loading speed के लिए बहुत हद तक optimize किया गया है. बहुत सारे wordpress developer इसमे काम भी कर रहे हैं।

अगर आपके पास wordpress ब्लॉग है तो कभी आपने source code check करते time देखा होगा कि header area में बहुत सारे useless code होते हैं. हो सकता है, ये code developers के लिए फायदेमंद हो लेकिन हम लोगों के लिए useless है. ये tags/elements हमारे लिए कोई important role play नही करते है. अगर आप अपने ब्लॉग की source code check करना नही जानते हो तो Browser में अपने ब्लॉग को open करें और CTRL+U बटन को दबाएँ।

यदि हमारे में बहुत सारे unnecessary tags/elements load होने से site की loading speed पर बहुत बुरा प्रभाव पड़ता है. Blogspot ब्लॉग की header में इस तरह के कोई tags नही होते हैं. इसलिए यदि आप अपने site को fast loading बनाना चाहते हो तो इन सभी tags को remove करना होगा।

  • Adsense Hosted Aur Non-Hosted Account Kya Hai?
  • Adsense Payment Receive Nahi Hone Ke 10 Reasons
  • Blog Google Indexing Ko Improve Kaise Kare [Simple Tips]
  • WordPress Ke Liye 30 Useful Code Snippets [Full Customize & Control]
  • JioRockers 2019: Latest Telugu, Tamil, Malayalam, Kannada, Hindi Movies Download

In this post, हम बात करने वाले हैं कि WordPress ब्लॉग की header से unnecessary tags को remove कैसे करें? जिससे आप अपने ब्लॉग को ज्यादा fast बना सकते हो. इसके लिए आपको अपने Theme की functions.php में कुछ codes add करने होंगे।

WordPress ब्लॉग की Header में कौन कौन से unnecessary tags होते हैं?

जिस तरह मेने आपको ऊपर बताया कि wordpress ब्लॉग के header में बहुत सारे unnecessary tags generate हो जाते हैं. यह हमारे site की security को weak कर देता है. इसके साथ साथ site की loading speed पर भी impact पड़ता है. अब आप सोच रहे होंगे कि ये कौन कौन tags हो सकते है? जिससे आप भी अपने site की source code में देख सकते हो. में आपको नीचे इन tags की list दिखा रहा हूँ।

<link rel="profile" href="http://gmpg.org/xfn/11"> <link rel="pingback" href="#"> <link rel="alternate" type="application/rss+xml" title="Comments Feed" href="#" /> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="wlwmanifest.xml" /> <link rel='prev' title='#' href='#' /> <link rel='next' title='#' href='#' /> <meta name="generator" content="WordPress 4.1.1" /> <link rel='shortlink' href='#' />
<link rel='index' title='#' />
<link rel='start' title='#' />

WordPress ब्लॉग की Header से Unnecessary Tags को Remove कैसे करें?

ऊपर हमने बताया कि हमारे site के head में कौन कौन से फालतू tags होते हैं. और हमने इसके नुकसान भी बताया. अब हम आपको इसको remove करने के बारे में बताने वाले हैं. हम आपको tag और उसे remove करने की code नीचे बता रहे हैं।

  • Blogging Apke Life Ko Kaise Change Kar Sakti Hai
  • 30 Amazing YouTube Facts and Statics (2018)

1. Remove EditURI/RSD (Really Simple Discovery) link:

आपके ब्लॉग की head में कुछ इस तरह के code show होंगे.

<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://www.blogginghindi.com/xmlrpc.php?rsd">

इसे remove करने के लिए नीचे दिए code को अपने theme की functions.php में add कीजिए.

remove_action('wp_head', 'rsd_link');

2. Remove wlwmanifest (Windows Live Writer) link:

आपके ब्लॉग की source में कुसीझ इस तरह के code show होंगे।

<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://www.blogginghindi.com/wp-includes/wlwmanifest.xml">

अगर आप windows live writer use नही करते हो तो यह आपके लिए बेकार है. So, इसको remove करने के लिए नीचे दिए code को अपने ब्लॉग की functions.php में add कीजिए।

remove_action('wp_head', 'wlwmanifest_link');

3. Remove meta name generator:

आपके ब्लॉग head में कुछ इस तरह के code होंगे।

<meta name="generator" content="WordPress 4.9.4">

इस code के show होने से हमें बहुत नुकसान है. मतलब इससे hacker हमारे wordpress version कर बारे में पता कर लेता है और हमारे site को hack करना ज्यादा easy हो जाता है. इसको remove करना बहुत important है. इसके लिए आप नीचे दिए code को functions.php में add कर दीजिए।

remove_action('wp_head', 'wp_generator');

4. Remove ShortLink

आपके ब्लॉग की head में कुछ इस तरह के URL होंगे।

<link rel='shortlink' href='#' />

यह short link होता है. अगर आप short link use नही करते हो. मतलब shortlink को social media में share नही करते हो तोये आपके लिए कोई काम का नही है. इसको हटाने के लिए functions.php में इस code को ऐड कर सकते हो।

remove_action('wp_head', 'wp_shortlink_wp_head');

5. Remove Feed Links:

आपके ब्लॉग की head मे इस तरह के feed link show होते होंगे।

<link rel="alternate" type="application/rss+xml" title="BloggingHindi » Feed" href="https://www.blogginghindi.com/feed/"/>

अगर आप इसे remove करना चाहते हो तो इस code को अपने ब्लॉग theme की functions.php में add कीजिए.

remove_action( 'wp_head', 'feed_links', 2 );

6. Remove Comment Feed:

यह code भी आपके ब्लॉग की header में add होगा।

<link rel="alternate" type="application/rss+xml" title="BloggingHindi » Comments Feed" href="https://www.blogginghindi.com/comments/feed/"/>

वैसे ये ज्यादा important नही होता है. इसे remove करने के लिए इस code का use कीजिए।

remove_action('wp_head', 'feed_links_extra', 3 );
  • Blog Ke Liye Perfect Niche Select Karne Ke Liye 6 Steps
  • India Me Bitcoin Kaise Kharide [Buy Bitcoin]

7. Remove api.w.org relation link:

यह आपके ब्लॉग की header में कुछ इस तरह का होता है ―

<link rel="https://api.w.org/" href="https://www.blogginghindi.com/wp-json/">

इसे remove करने के लिए ब्लॉग theme की functions.php में ये code add करें।

remove_action('wp_head', 'rest_output_link_wp_head', 10);
remove_action('wp_head', 'wp_oembed_add_discovery_links', 10);
remove_action('template_redirect', 'rest_output_link_header', 11, 0);

8. All Functions.php Codes:

ऊपर बताये गए सभी tags को remove करना चाहते हो तो इसके लिए आप नीचे दिए code को copy करके एक ही बार मे सभी tags/elements को ब्लॉग की header से remove कर दीजिए।

/* Remove Extra Header Tags by BloggingHindi **/
remove_action('wp_head', 'rsd_link'); remove_action('wp_head', 'wlwmanifest_link'); remove_action('wp_head', 'wp_generator');
remove_action('wp_head', 'wp_shortlink_wp_head'); remove_action( 'wp_head', 'feed_links', 2 ); 
remove_action('wp_head', 'feed_links_extra', 3 );
remove_action('wp_head', 'rest_output_link_wp_head', 10);
remove_action('wp_head', 'wp_oembed_add_discovery_links', 10);
remove_action('template_redirect', 'rest_output_link_header', 11, 0);
  • WP Disable Plugin Ka Use Karke WordPress Site Loading Speed Fast Kaise Banaye
  • Blog Ke Liye Lightweight Theme Design Karne Ki 5 Jaruri Tips
  • Apko Blog Me Genesis Theme Kyu Use Karna Chahiye? [10 Reasons]
  • Kisi Bhi Blogger Ko Link Exchange Kyu Nahi Karna Chahiye? [5 Reasons]

Finally,
इन सभी elements को हटाना जरूरी है. इससे security weak होने के साथ साथ loading speed भी काफी धीमी हो जाती है. यदि आप अपने ब्लॉग को faster बनाना चाहते हो तो इन छोटे छोटे steps को आपको भूलना नही चाहिए. पहले में अपने ब्लॉग से इन्हें remove करने के लिए plugin करता था. लेकिन अभी में इन्ही codes का इस्तेमाल करता हूँ.


यदि आपको यह post पसंद आया हो तो इसे social media पर share कीजिए. अगर आपको इस post से सम्बंधित कोई सवाल पूछना है तो comment कीजिए।

You May Also Like

  • WordPress Login Page Ko Customize Kaise Kare Without Plugin

    WordPress Login Page Ko Customize Kaise Kare Without Plugin

  • WordPress Comments Se Auto URL Linking Ko Disable Kaise Kare

    WordPress Comments Se Auto URL Linking Ko Disable Kaise Kare

  • WordPress Blog Manage Karne Ke Liye 40+ ShortCut Keys – For Fast Bloggers

    WordPress Blog Manage Karne Ke Liye 40+ ShortCut Keys – For Fast Bloggers

  • [Manually] Blog Ki CSS Ko Compress Karke Loading Speed Fast Kare

    [Manually] Blog Ki CSS Ko Compress Karke Loading Speed Fast Kare

About Md Arshad Noor

हेलो दोस्तों, मेरा नाम मोहम्मद अरशद नूर है. में इस ब्लॉग में रेगुलर नई नई आर्टिकल्स लिखता हूँ. यहाँ पर हम ज्यादातर Blogging, Make Money, SEO, WordPress आदि से सम्बंधित Article मिलेगी. आपको हमारी लेख पसंद आती है तो इसे सोशल मीडिया में शेयर करें। अगर आपको कोई सहायता चाहिए तो कमेंट कीजिए।

COMMENTs ( 3 )

  1. Diago Devilla says

    I was searching for this type of article found here thnkxxx…

    Reply
  2. M. Shameem says

    sir wp theme data ko source code se kaise remove kare? with coding

    Reply
    • Md Arshad Noor says

      Coding ki knowledge hai to kar sakte ho!

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Please do not spam! otherwise your comment will be removed.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Useful Articles

Ethical Hacker कैसे बने? Ethical Hacking Course की पूरी जानकारी

Super Computer क्या है? इसके फायदे और इसका उपयोग कहाँ होता है?

Khush Nahi Rahne Wale Logo Ki 5 Buri Aadte

Revenue Hits kya hai aur isme Account kaise banaye

Blogspot Blog me Country Specific Redirect Disable kaise Kare

Spam Mail Sender Se Unsubscribe Karke Spam Mail Se Kaise Bache

Google Me Search Karne Ke Top 10 Tips & Trick – [Get Right Results Fast]

Google Search Results Me Blog Ke Sabhi Posts Me Star Rating Kaise Dikhaye

Blog Homepage Me Only Post Title Kaise Dikhaye

Blogging me fail hone ka 10 sabse Bada Karan

Social Media se More Traffic Pane ke Liye 10 Important Tips

Quora Se Blog Ki Traffic Kaise Badhaye? 5 Tips

Blog Post me Keyboard key kaise lagaye

About Us

mdarshadnoorहेल्लो दोस्तों, मेरा नाम मोहम्मद अरशद नूर है. में अररिया, बिहार का रहने वाला हूँ. मुझे नयी चीजें सीखना-सिखाना बहुत पसंद है. में पिछले 5 सालों से ब्लॉगिंग के फील्ड में हूँ. इस ब्लॉग में आपको ब्लॉगिंग और इन्टरनेट से सम्बन्धित जानकारी मिलेगी.

SUBSCRIBE OUR NEWSLATTER

हमारे ब्लॉग के रेगुलर विजिटर हो तो अभी Subscribe कर लीजिए ताकि आप हमारे नए पोस्ट को सबसे पहले पढ़ पाएँ!

Posts for WP Users:

Blog Post Copy Hone Par Copyright Post Me Automatic Apne Blog Ki Link Add Kare

WordPress Site Slow Hone Ki 10 Biggest Karan (Reasons)

WordPress Me Login Username Kaise Change Kare [3 Methods]

WordPress Database Se Orphan/Unused Tables Ko Delete Kaise Kare

WordPress Comment Form Se Website URL Field Aur Existing Comment URL Kaise Remove Kare

More Posts from this Category

Recommended For You

Blog Me Google Fonts Ka Use Kaise Kare [Complete Guide]

Commenting Blog ke liye Kyo jaruri hota hai

Kisi Bhi Blogger Ko Link Exchange Kyu Nahi Karna Chahiye? [5 Reasons]

Blogging Karne Se Apko Kya Kya Mil Sakta Hai [Must Read]

10 Reasons Aap Online Business Me Success Kyo Nahi Hai

WordPress Me WP CONTENT Folder Ko Protect Kaise Kare [Without Plugin]

Boring Blog Content Ko Attractive Banane Ke Liye 8 Tips

8 Mistakes Jo Apke Blog ki Traffic Aur SEO ko Low Kar Dega

YouTube Channel Me Subscribers Ko Hide Kaise Kare

Copyright © 2020 - All rights reserved.AboutContactSitemapDisclaimer