Giúp đỡ
Lik
Contact

Removing No Country Redirect (NCR) for blogspot.com Shopping Template

BlogrCart Mukabuku Blogger shopping template comes pre-installed with the No Country Redirect (NCR) for blogspot.com domain. Which means throughout your blog store site, your url's will be using the .com extensions & not the country specific extensions (where available).

This is deliberately pre-installed in order for your blogshop store to use consistent urls structure since that your users will be sharing your product posts coming from different countries.

If your store is focused for country specific users, you can remove the directive from BlogrCart Mukabuku Elite template codes easily. To do so, go to Template > Backup/Restore (if required) > at the very top of the theme codes you will see functions like so:-

<script>
//<![CDATA[
cookieChoices = {};
// country domain specific helper
var blog = document.location.hostname.split(".");
if (blog[blog.length - 1] != "com") {
  var ncr = "http://" + blog[0] + ".blogspot.com/ncr";
   window.location.replace(ncr + document.location.pathname);  
 };
 //]]>
 </script>.

Remove the codes & click Save Template to save your changes.

We also included the default pop-up cookie notifier by Google at below codes.

cookieChoices = {};

To allow the pop-up cookies to display, remove the codes above.
etsy.com Blogger premade template theme foret ecommerce shopping theme
$ 25.90

Sale

Important note:

  • This changes does not take effect for custom domain names.
  • This theme was designed to optimized & provide a consistent url structure using the canonical url tags provided by Blogger. It may require changes for your post page url's if you require the country specific domain url to be activated.
Removing No Country Redirect (NCR) for blogspot.com Shopping Template

Không có nhận xét nào:

Đăng nhận xét

Order Info

Delivery Info