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




No comments:

Post a Comment