Friday, January 6, 2017

Social Media Share Buttons in your web page - Facebook, Twitter, Google Plus

Social Media Share Buttons in your web page

I would like to teach you how to use social media's share buttons in your web pages. 



In above picture, you can see the share buttons to share your web pages, in the bottom of web pagehttp://www.freeadsimple.com This buttons in web pages used to share the buttons in social medias.

Google Plus Share Button :


                To use google share button, Sign in your gmail account first. Then go to https://developers.google.com/+/web/share/ . There are, codes to use google share button in your web pages.

                        Simple Google plus share button:
          

                             Use the below code to put simple share button on your web page.

  <script src="https://apis.google.com/js/platform.js" async defer></script>
<g:plus action="share"></g:plus>
                     

Facebook Share button :

                 To put facebook share button on your web page, open your facebook account. https://developers.facebook.com/docs/plugins/share-button/#configurator there are instructions to put facebook share buttons. To use simply facebook buttons in your website 

example code like this in head area you should put open graph which is mentioned below in red color. and change the contents according to your website. i.e. OG:URL content should be your page to share.

<html>
<head>
<title>Your Website Title</title>
    <!-- You can use Open Graph tags to customize link previews.
    Learn more: https://developers.facebook.com/docs/sharing/webmasters -->
<meta property="og:url"           content="http://www.your-domain.com/your-page.html" />
<meta property="og:type"          content="website" />
<meta property="og:title"         content="Your Website Title" />
<meta property="og:description"   content="Your description" />
<meta property="og:image"         content="http://www.your-domain.com/path/image.jpg" />
</head>
<body>

<!-- Load Facebook SDK for JavaScript -->
<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); js.id = id;
 js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1";
 fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<!-- Your share button code -->
<div class="fb-share-button" 
data-href="http://www.your-domain.com/your-page.html" 
data-layout="button_count">
</div>

</body>

</html>

Change data-href value should be your website page you should want to share.


Twitter Share button:


          To share your web page in twitter sign in your twitter account. Go to share buttons link https://about.twitter.com/cs/resources/buttons and choose a type of button in preview and get code you can click code area and copy with Ctrl+c button and paste it into your website.





To Simply put twitter code the example is given below :

<a href="https://twitter.com/share" class="twitter-share-button" data-url="your web page to share" data-via="your twitter account name" data-size="large" data-dnt="true">Tweet</a> 

<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>

in the above code the red color text should be changed according to your page to share.


I believe that our web pages will be useful to you. Please continue reading and give support to our pages.

Thank you!

Thursday, January 5, 2017

SEO - Search Engine Optimization Part 3


Content

              The content of a page is very important for search engines. If your web page is content rich, the search engine will give best rank for that page. 

Avoid using frames in your web page

                 To list your web page search engine may have the problem to crawl your frames in web page. Better avoid frames using in your web page.

Keywords

                Keep your important keywords in title, headings and descriptions. So that search engine easily find out your web page by keyword when user searching. The keyword will be important if it is in title, headings and descriptions.

Social Media

                Connect your web page with your social media. Social media playing important role in Search engine optimization. You can use opengraph for your social media title, description and image. Example for open Graph of facebook


<meta property="og:title" content="Free Ads | Insurance | Loan | Credit | Hosting">
<meta property="og:type" content="business.business">
<meta property="og:url" content="http://www.freeadsimple.com/">
<meta property="og:image" content="http://www.freeadsimple.com/Advertise-Here-Free-simple.jpg">


Connect your web pages by sharing buttons with social medias like facebook, twitter, google+ etc.,

If the social media presence is high, your web page will get good ranking.

Devices compatibility

                 Design your web page with mobile, desktop, laptop compatibility. 

Language Declaration
             
                 Use language declaration attribute to declare language of your web page.
                Ex : <html lang="en"> 

Speed
                
                Many users like speed of web page. If your web page taking time to open, user will avoid your website immediately. So Keep your web page size smaller. If bouncing rate increased for your web page, Google may reduce to list your web page.

Below 250 kb is better. But make sure, not more than 1 MB strictly. 









               

Wednesday, January 4, 2017

SEO - Search Engine Optimization - Part 2

Search Engine Optimization - Part 2






Hi, I am going to continue this page to give you some more instructions about search engine optimization.

Heading Tags :

                             Less than 30 heading tags and every heading tags should have contain less than 120 characters are best practice to make search engine optimized website. <h1> tag should be only one in a web page. <h2> ,<h3> all should maximum within 30 numbers.

Sitemap

               Your website should have a sitemap file like sitemap.xml that will have all web pages links which you want to scroll by browser (Crawler). If you submit sitemap file to browser the browser can easily access your files for crawling and can display your webpages easily.

A sitemap file's format should like below:

<?xml version="1.0" encoding="UTF-8"?>

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

   <url>

      <loc>http://www.mapofmine.com/</loc>

      <lastmod>2017-04-01</lastmod>

      <changefreq>monthly</changefreq>

      <priority>0.8</priority>

   </url>

</urlset> 



Between <url></url> tags should parent tag all other tags should be inside as child tags. <loc></loc> tag contains path or link of the web pages. <lastmod> </lastmod> tags mentioned last modification timing of page. <priority></priority> tag mention the priority of page it can be 0.9 to 0.1. If it should be higher priority page the priority should be 0.9. So that browser can give higher priority to that file (like index.php should have higher priority).<changefreq></changefreq> should mention frequently changing time of your web page. It may be daily, weekly, monthly.<priority></priority> tags given the priority of a web page. Priority should be within 0.9 to 0.1. High priority files priority should be mentioned as 0.9 and lower priority should be mentioned as 0.1. Priority 0.5 is better to last priority.

(See the above example to create the sitemap file.)

You can create manually or by the help of some websites. If you submit your home page to https://www.xml-sitemaps.com/ to this website it will create automatically for all your pages link with your home page and give a ready sitemap file. You can upload it and can submit to search engines.

Robot.txt

               Robot.txt files are used to identify your pages which has restricted to access by search engine crawlers. If you mention a file in robot.txt file the search engine will not crawl that file.

 Format of the robot.txt file should be like:

User-Agent: *
Disallow: 
Disallow: /notaccess.php
Disallow: /secretfile.php

In the above files notaccess.php and secretfile.php in main folder will not be crawled by browser.

Thank you for Reading our blog! Keep reading our blog.


Please check our free websites and blogs. 

I am using php script for my website to post free ads - Please click the link and check it out 
http://www.freeadsimple.com

To Learn Basic HTML Please Read the article from http://webdevelopmentstepbystep.blogspot.com




Tuesday, January 3, 2017

SEO Search engine Optimization - For your website

SEO - Search Engine Optimization Tips

Hi! Have a Great Day for Search engine optimized website I am going to give some tips for you. Before that if you want to see that how to develop the website. Please see our blogs http://webdevelopmentstepbystep.blogspot.com/ Please make your website according to search engine compatible. So that, Search engine will easily scroll your website and display your web page when user searching in good position.

1) Domain Name:
                             Select your domain name with a meaningful. You can see difference between my two website name in google when you type "mapofmine.com" and "freeadsimple.com". 

"mapofmine.com" search shows a suggestion like below




But, when you search "freeadsimple.com" it will not show any suggestions.




So, Better you can select your site name with meaningful to search engine can understand.


2) Title :

               Search engine take keyword from your title. And most of the search engine will take from title only 60 Characters. So your web page title should be less than 60 characters and with keywords which is related to your website. If you put more than 60 characters in title search engine avoid except 60 characters.

3) Description:
                 
              Your web page description should be greater than 80 characters and less than 150 characters. (80 to 150 characters). If more than 150 characters in description, there is chance to avoid your website by search engines.

4) <h1> - Heading tag:

               Your H1 tag in your web page is used for heading. Search engine will select keyword from your heading tag. So put your Heading with keyword related to your website and it should be only one in a page. If you put more than one H1 tag search engine will surely put your website as spam website. and also all heading tags should have only 120 characters in maximum.


Thank you for reading! The lesson about SEO will continue more. Keep reading our blogs continuously.

Please check our free websites and blogs. 

I am using php script for my website to post free ads - Please click the link and check it out 
http://www.freeadsimple.com

To Learn Basic HTML Please Read the article from http://webdevelopmentstepbystep.blogspot.com