Redirect Non-www to www URLs hindi me

हेल्लो दोस्तों आज हम non-www को www पर redirect केसे करेगे इस बारे में जानने वाले है आपकी website को search करने के बाद Url में www नही आरह है. जेसे की एक example देता हु में search करता हु googlehindime.com तो https://googlehindime.com कर के ओपन हो रही है. तो इसे रैंकिंग में भी दिकत आती है. इसे एक प्रकार से techinical SEO भी कहते है

तो जभी में google पर मेरी website को सर्च करेंगे तो https://www.googlehindime.com करके ओपन होना चाइये. मतलब की कोई भी केसे ही किउ न search करे तो www के साथ ओपन होनी चाइये अगर आपकी साईट के url में www नही आता है. तो उसे केसे लाये इसलिए इस लेख आखिर तक पढिये how to redirect non www to www urls hindi me

 

जरुर पढिये

 

WordPress Website ko maintenance mode se kaise nikale

Editing .htaccess File

how-to-redirect-non-www-to-www-urls-hindi-me

how-to-redirect-non-www-to-www-URLs-Hindi-me

इस problem को solve करने के लिए आपको hosting में जाना होगा

 

follow steps

 

1. file section में file manager ओपन करना है फिर public htlm मैं जाना है.

 

2. public html में htaccess फाइल को राईट क्लिक करके open करना है.

 

3. निचे दिये गये code को htaccess file में निचे insert करदेना है

 

RewriteEngine On

 

RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]

 

RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]

 

4. उपर दिये code में जहा yourdomain लिखा है. वाह पे आपका domain name डालना है.

 

5. for example

 

RewriteEngine On

 

RewriteCond %{HTTP_HOST} ^googlehindime.com [NC]

 

RewriteRule ^(.*)$ http://www.googlehindime.com/$1 [L,R=301]

 

6. जेसे मेने इस code में मेरा domain name डाला है. वेइसे ही आप अपना domain name डालना है और इस code को htaccess file में निचे past कर देना है. और save करना है.

 

congratulation आपका domain non www से www पर redirect होगया है

Conclusion

आज के tutorial आपने सीखा है how to redirect non www to www urls hindi me अब से, जब कोई http://yourdomain.com पर पहुंचता है, तो उसे http://www.yourdomain.com पर भेज दिया जाएगा अगर आपको हमारी पोस्ट पसंद आई होगी तो इसे अपने दोस्तों और social media पे जरुर शेयर करे

Disclaimer

इस contant का source hostinger है. इस आर्टिकल को लिखने का मतलब ये है. की कुछ लोगो को इंग्लिश समज में नही आती है. इसलिए हमरा यही प्रयास ये की जिस किसी को english भाषा नही आती उनको इस आर्टिकल से मदत हो जाये इसलिए इस आर्टिकल को लिखा गया है. और ये tutorial सब hosting पर लागु होता

Leave a Comment

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