How do I remove Date and .html from a blogger page URL?

How do I remove Date and .html from a blogger page URL?|- Web Tech info Bangla- একটি প্রযুক্তি ওয়েবসাইট | প্রযুক্তির সব খবর

কিভাবে ব্লগার পোস্ট ইউআরএল (URL) থেকে  Date এবং .html মুছে ফেলবেন?

How do I remove Date and html from a blogger page URL?

✍ এ রকম আরও সুন্দর সুন্দর প্রয়োজনীয় আর্টিকেল পেতে আমাদের পেজটি  follow  দিয়ে রাখুন সেই সাথে বুকমার্ক করে রাখতে পারেন ।


আপনি কি ব্লগারে পার্মালিঙ্ক পরিবর্তন করার জন্য অনুসন্ধান করছেন?


কিভাবে ব্লগার পোস্ট URL থেকে তারিখ  অপসারণ এবং Wordpress মত  ব্লগার permalink ফরম্যাট করা? কিভাবে ব্লগার URL থেকে .html  অপসারণ করবেন? কিভাবে m=1 ফর্ম ব্লগার ইউআরএল সরাতে হয়ইত্যাদি তাহলে এই পোস্টটি আপনার জন্য।  

এই ব্লগ পোস্টে, আমি ব্লগার পোস্ট URL থেকে তারিখ  সরানোর জন্য একটি 1 ধাপ নির্দেশিকা শেয়ার করতে যাচ্ছি। 

এই পদ্ধতি ব্লগার URL থেকে .html মুছে ফেলবে।  
  
ওয়ার্ডপ্রেস পোস্ট URL ব্লগার পোস্ট URL থেকে আরো  পেশাদার দেখায় ।

  এই কারণেই আমরা আপনাদের সকলকে  পরামর্শ দিচ্ছি, ব্লগার 


পোস্ট URL থেকে তারিখ সরান।    তাই আজ, আমরা শিখব কিভাবে  খুব সহজে ব্লগার পোস্ট  


ধাপ 1.  ব্লগারে লগ ইন করুন এবং থিম বিভাগে ক্লিক করুন।

 

ধাপ 2. থিম বিভাগে ক্লিক করার পরে, 3 টি বিন্দুতে ক্লিক

করুন এবং তারপরে "এইচটিএমএল সম্পাদনা করুন"

ক্লিক করুন।


ধাপ 3. "Cntrl + F" টিপুন এবং </Head> ট্যাগ অনুসন্ধান

করুন এবং নীচের কোডটি </Head> ট্যাগের ঠিক উপরে

পেস্ট করুন।

 

Step 1. log in to Blogger and click on Theme section.

 

Step 2. After clicking on the Theme section, click on the 3 dots and then click "Edit HTML".

 

Step 3. Press "Cntrl + F" and search for </Head> tag and paste the below code just above the </Head> tag.

 

<script type='text/javascript'>
//<![CDATA[
// BloggerJS v0.3.1
// Copyright (c) 2017-2018 Kenny Cruz
// Licensed under the MIT License
var urlTotal,nextPageToken,postsDatePrefix=!1,accessOnly=!1,useApiV3=!1,apiKey="",blogId="",postsOrPages=["pages","posts"],jsonIndex=1,secondRequest=!0,feedPriority=0,amp="&"[0];function urlVal(){var e=window.location.pathname,t=e.length;return".html"===e.substring(t-5)?0:t>1?1:2}function urlMod(){var e=window.location.pathname;"p"===e.substring(1,2)?(e=(e=e.substring(e.indexOf("/",1)+1)).substr(0,e.indexOf(".html")),history.replaceState(null,null,"../"+e)):(e=(e=postsDatePrefix?e.substring(1):e.substring(e.indexOf("/",7)+1)).substr(0,e.indexOf(".html")),history.replaceState(null,null,"../../"+e))}function urlSearch(e,t){var n=e+".html";t.forEach(function(e){-1!==e.search(n)&&(window.location=e)})}function urlManager(){var e=urlVal();0===e?accessOnly||urlMod():1===e?getJSON(postsOrPages[feedPriority],1):2===e&&(accessOnly||history.replaceState(null,null,"/"))}function getJSON(e,t){var n=document.createElement("script");if(useApiV3){var o="https://www.googleapis.com/blogger/v3/blogs/"+blogId+"/"+e+"?key="+apiKey+"#maxResults=500#fields=nextPageToken%2Citems(url)#callback=bloggerJSON";nextPageToken&&(o+="#pageToken="+nextPageToken),nextPageToken=void 0}else o=window.location.protocol+"//"+window.location.hostname+"/feeds/"+e+"/default?start-index="+t+"#max-results=150#orderby=published#alt=json-in-script#callback=bloggerJSON";o=o.replace(/#/g,amp),n.type="text/javascript",n.src=o,document.getElementsByTagName("head")[0].appendChild(n)}function bloggerJSON(e){var t=[];if(useApiV3||void 0===urlTotal&&(urlTotal=parseInt(e.feed.openSearch$totalResults.$t)),useApiV3){try{e.items.forEach(function(e,n){t.push(e.url)})}catch(e){}nextPageToken=e.nextPageToken}else try{e.feed.entry.forEach(function(n,o){var r=e.feed.entry[o];r.link.forEach(function(e,n){"alternate"===r.link[n].rel&&t.push(r.link[n].href)})})}catch(e){}urlSearch(window.location.pathname,t),urlTotal>150?(jsonIndex+=150,urlTotal-=150,getJSON(postsOrPages[feedPriority],jsonIndex)):nextPageToken?getJSON(postsOrPages[feedPriority]):secondRequest&&(nextPageToken=void 0,urlTotal=void 0,jsonIndex=1,secondRequest=!1,0===feedPriority?(feedPriority=1,getJSON("posts",1)):1===feedPriority&&(feedPriority=0,getJSON("pages",1)))}function bloggerJS(e){e&&(feedPriority=e),urlManager()}bloggerJS();
//]]>
</script>


How to remove m=1 form blogger URL?

 

The parameter m=1 in the address indicates that the user is accessing your blog from a mobile phone. 

Some bloggers find this parameter annoying and want to remove m=1 from their Blogspot Blog.

So follow the below steps to remove m=1 from Blogger URL

 

Step 1.  Log in to Blogger and click on the
 Theme section.

Step 2.  After clicking on the Theme section,
 click on the 3 dots and then click "Edit
 HTML".

Step 3.  Press "Cntrl + F" and search for
 </Body> tag and paste the below code just
 above the </Body> tag.

  

<script>/*<![CDATA[*/ var uri = window.location.toString(); if (uri.indexOf("%3D","%3D") > 0) { var clean_uri = uri.substring(0, uri.indexOf("%3D")); window.history.replaceState({}, document.title, clean_uri);} var uri = window.location.toString(); if (uri.indexOf("%3D%3D","%3D%3D") > 0) { var clean_uri = uri.substring(0, uri.indexOf("%3D%3D")); window.history.replaceState({}, document.title, clean_uri);} var uri = window.location.toString(); if (uri.indexOf("&m=1","&m=1") > 0) { var clean_uri = uri.substring(0, uri.indexOf("&m=1")); window.history.replaceState({}, document.title, clean_uri); } var uri = window.location.toString(); if (uri.indexOf("?m=1","?m=1") > 0) { var clean_uri = uri.substring(0, uri.indexOf("?m=1"));window.history.replaceState({}, document.title, clean_uri);}; var protocol=window.location.protocol.replace(/\:/g,''); if(protocol=='http'){ var url=window.location.href.replace('http','https'); window.location.replace(url);} /*]]>*/</script>


উপসংহার :

আমি আশা করি এই পোস্টের সাহায্যে আপনি সফলভাবে m=2,তারিখ এবং HTML

এক্সটেনশন ফর্ম ব্লগার পোস্ট URL মুছে ফেলেছেন। যদি আপনি এই টিউটোরিয়ালটি 

আপনাকে সাহায্য করে থাকেন, তাহলে এই পোস্টটি শেয়ার করার বিষয়ে বিবেচনা করুন

 এবং কোডটি ইনস্টল করার সময় আপনি যদি কোনো সমস্যা খুঁজেপান তাহলে নীচে 

একটি মন্তব্য করুন, আমি অবশ্যই আপনাকে সাহায্য করার চেষ্টা করবো ইনশাআল্লাহ 


 FAQ

  







Post a Comment

0 Comments