Stack of codes.
Please comment below your opinion. We will try to improve and bring more accurate contents for you.

Wednesday, 20 February 2019

Use rel="nofollow" for specific links

"Nofollow" provides a way for webmasters to tell search engines "Don't follow links on this page" or "Don't follow this specific link."
Originally, the nofollow attribute appeared in the page-level meta tag, and instructed search engines not to follow (i.e., crawl) any outgoing links on the page. For example:
 <meta name="robots" content="nofollow" />
Before nofollow was used on individual links, preventing robots from following individual links on a page required a great deal of effort (for example, redirecting the link to a URL blocked in robots.txt). That's why the nofollow attribute value of the rel attribute was created. This gives webmasters more granular control: instead of telling search engines and bots not to follow any links on the page, it lets you easily instruct robots not to crawl a specific link. For example:
 <a href="signin.php" rel="nofollow">sign in</a>

How does Google handle nofollowed links?

In general, we don't follow them. This means that Google does not transfer PageRank or anchor text across these links. Essentially, using nofollow causes us to drop the target links from our overall graph of the web. However, the target pages may still appear in our index if other sites link to them without using nofollow, or if the URLs are submitted to Google in a Sitemap. Also, it's important to note that other search engines may handle nofollow in slightly different ways.

What are Google's policies and some specific examples of nofollow usage?

Here are some cases in which you might want to consider using nofollow:
  • Untrusted content: If you can't or don't want to vouch for the content of pages you link to from your site — for example, untrusted user comments or guestbook entries — you should nofollow those links. This can discourage spammers from targeting your site, and will help keep your site from inadvertently passing PageRank to bad neighborhoods on the web. In particular, comment spammers may decide not to target a specific content management system or blog service if they can see that untrusted links in that service are nofollowed. If you want to recognize and reward trustworthy contributors, you could decide to automatically or manually remove the nofollow attribute on links posted by members or users who have consistently made high-quality contributions over time.
  • Paid links: A site's ranking in Google search results is partly based on analysis of those sites that link to it. In order to prevent paid links from influencing search results and negatively impacting users, we urge webmasters use nofollow on such links. Search engine guidelines require machine-readable disclosure of paid links in the same way that consumers online and offline appreciate disclosure of paid relationships (for example, a full-page newspaper ad may be headed by the word "Advertisement"). More information on Google's stance on paid links.
  • Crawl prioritization: Search engine robots can't sign in or register as a member on your forum, so there's no reason to invite Googlebot to follow "register here" or "sign in" links. Using nofollow on these links enables Googlebot to crawl other pages you'd prefer to see in Google's index. However, a solid information architecture — intuitive navigation, user- and search-engine-friendly URLs, and so on — is likely to be a far more productive use of resources than focusing on crawl prioritization via nofollowed links.

source: Google

Thursday, 25 October 2018

Add Responsive Facebook Like Box Widget In Blogger

Add Responsive Facebook Like Box Widget In Blogger

There are tons of social sharing site available all over the inter net but Facebook is the most important among them, The like box they provide helps a blogger to reach their readers immediately in free of cost it also helps to provide better support to your user if you are running a client based niche blog. The like box widgets which are available on the internet are based on iframe which doesn't have responsive featyre also loads very slowly making your blog slower than snail, the widget which we are going to share is based on pure script and doesn't requires any iframe which makes it unique and fast loading., This version of the facebook like box is very much customizable and easy to edit. Lets move further and see How to Add Responsive Facebook Like Box Widget In Blogger.

Adding The Widget:

The First thing you need to do is to login into your Blogger account and
 go to >> Layout >> Click add a gadget any where into your 
layout >> Add HTML/JAVASCRIPT widget and paste the below code in the blank space.

<center><div id="fb-root"></div>

<script>(function(d, s, id) {

  var js, fjs = d.getElementsByTagName(s)[0];

  if (d.getElementById(id)) return;

  js = d.createElement(s); = id;

  js.src = "//";

  fjs.parentNode.insertBefore(js, fjs);

}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-page" data-href="" data-width="350" data-height="230" data-hide-cover="false" data-show-facepile="true" data-show-posts="false"><div class="fb-xfbml-parse-ignore"></div></div></center>


Change the text  USERNAME with your Facebook username.

How to Set up a custom domain for a Blogger?

Set up a custom domain

When you buy a domain, you can personalize your blog’s website address.

Step 1: Buy a domain

See if you can buy a Google Domain or buy a domain from a non-Google provider. To buy a Google domain:
  1. Sign in to Blogger.
  2. Select the blog to update.
  3. On the left, click Settings and then Basic.
  4. Under "Publishing," next to "Blog Address," click Buy a domain.
  5. At the top, search for a domain.
  6. Next to the domain you want, click Buy.
  7. To finish buying your domain, follow the on-screen steps.
Note: If you’re an administrator, learn more about managing domains registered through Blogger.

Step 2: Set up your domain with your blog

Step 3 (optional): Add www. to your domain

To change your domain (example: to, set up a naked redirect.​
  1. Go to your domain provider’s website.
  2. Open your DNS settings.
  3. Enter your domain name in the format
  4. Add four A-records which point to Google IPs.
  5. Sign in to Blogger.
  6. Select the blog you want to update.
  7. On the left, click Settings and then Basic.
  8. Under "Publishing," under "Blog Address," check Redirect [ to].

Tuesday, 2 October 2018

How to Use Sassy Social Share

How to use Sassy Social Share Shortcode?


You can use [Sassy_Social_Share] Shortcode in the content of required 
page/post where you want to display Social Sharing interface.


You can use following attributes in the Shortcode

Use style attribute to style the rendered Social Sharing interface

[Sassy_Social_Share style="background-color:#000;"]

Use type attribute to specify the type (“standard” or “floating”) of Social Sharing interface. Defaults (if not specified) to standard

[Sassy_Social_Share type="floating"]

Title (Works with “standard” type interface only):
Use Title attribute to specify title above Social Sharing interface.

[Sassy_Social_Share title="Sharing is Caring"]

Use count attribute to enable the share counts on Social Sharing interface.
1 is to tell plugin to enable count. It is not the number of shares.

[Sassy_Social_Share count="1"]

Set total_shares attribute value to ON to enable total shares. Defaults (if not specified) to OFF

[Sassy_Social_Share total_shares="ON"]

Align (Works with “floating” type interface only):
Use align attribute to specify alignment (left or right) of Social Sharing interface. Defaults (if not specified) to left

[Sassy_Social_Share type="floating"]
(Will align to left, as align is not specified)

[Sassy_Social_Share type="floating" align="right"]
(Will align to right)

Left (Works with “floating” type interface only)::
Use left attribute to specify the left offset (distance form the left side of the screen) of Social Sharing interface. Defaults (if not specified) to 0

[Sassy_Social_Share type="floating" left="500"]

Right (Works with “floating” type interface only, “align” attribute must be set to “right”)::
Use right attribute to specify the right offset (distance form the right side of the screen) of Social Sharing interface. Defaults (if not specified) to 0

[Sassy_Social_Share type="floating" align="right" right="500"]

Top (Works with “floating” type interface only)::
Use top attribute to specify the top offset (distance form the top of the screen) of Social Sharing interface. Defaults (if not specified) to 100

[Sassy_Social_Share type="floating" top="200"]

Use Url attribute to specify the url to be shared. Defaults (if not specified) to the webpage where shortcode is placed

[Sassy_Social_Share type="floating" url=""]

# You can use shortcode in PHP file as following
<?php echo do_shortcode(‘SHORTCODE’) ?>
Replace SHORTCODE in above code with the required shortcode like
[Sassy_Social_Share style=”background-color:#000;”],
so the final code looks like following
<?php echo do_shortcode('[Sassy_Social_Share style="background-color:#000;"]') ?>



You can navigate to the Appearance > Widgets section in the left sidebar and enable Sassy Social Share – Standard Widget and Sassy Social Share – Floating Widget widgets in the required area


Popular Posts

Stack Of Codes, stackofcodes, Stack your codes here, Open your coding for all, Php coding, Codeigniter, blogger, Stack of codes Developers, Php Framework,, best coding site, Stack the codes, place the code in stack, Stack of codes is the largest, most trusted online community for developers to learn and share their programming knowledge and build their carrers.


PHP CodeIgniter SQL Facebook HTML Connect mysqli Constructor Destructor Stack Of Codes Update SQL codeignitre delete files from folder Aadhaar Agent Align center image Alternative Control Structure Back Slash Browser Browser version CSS Calculate Date Difference in php Cannot modify header information Check image exists CodeIgniter get_where CodeIgniter-HMVC-3.1.6 Codeigniter 3.1.7 Connect and select database Constants Constructor and Destructor Convert stdClass object to array in PHP Copy Image from URL Date Calculator]php Date Difference Disable Window Update Documents exists Enable Window Update File exists Gas Linking with Aadhaar Get TinyMCE to use full image url instead of relative one Get all files from folder How to delete a file in php Image Corrupted Image Exists in php Ip address Jquery Checkbox check all Make slug in Javascript or Jquery Multiple Submit Buttons in a form Mysqli connect Only variable references should be returned by reference Open and Close html ul tag and close the ul on evry third block Phar Php Version For Codeigniter 3.0 Platform Read All files in Directory Reduce the image file size using PHP Rename Table Robots.txt Generator Robots.txt Generator - SEO Tools - SEObook Scraping Data Scraping Data From Website Scrollbar Design Select Checkbox Server Requirements For Codeigniter 3.1.6 Simple Carousel demo Slug Sub string in Php Substring TinyMCE URL Conversion Example TinyMCE settings to get image path correct UAC Warning in windows pro Unique Check Unique Check in Codeigniter Virtual hosts WSDL cache Win 8.1 with UAC Warning XAMPP to send mail from localhost Xampp apache - XAMPP installation best frameworks best javascript frameworks check if contains http:// in php clean url clear cache codeigniter $this->db->like is case sensitive data containing apostrophes deselect Checkbox all duplicate field entry escape_str every third block ul tag will close facebook Share facebook server foreach etc front Slash get_where in codeigniter hash_hmac headers already sent how to make robot.txt file for my website? htaccess http:// or https:// iS mobile if-else iv size for all mobile / tablet display javascript json_decode in array php looking for a job make url with hyphen media queries. mysql_real_escape_string mysqli real escapr string server down slug in Javascript some function of xamp is possible disabled sql - How to split a single column values to multiple column values tinymce image path showing as ../../ unlink File url contains http:// or https:// while window update