PHPJavascript

Web Development Guide – My Personal Library of Tutorials and Scripts

Sitemap generator

April25

XML sitemap generator GSiteCrawler – Click here to download it.

One of the basic rules in search engine optimization is to build sitemaps, they are a must have thing even google propagates that. Click here to find out the importance of sitemaps

For my dynamic websites I develop two sitemap. One XML sitemap for search engines and the second PHP or HTML for users.

XML Sitemap

Now sitemap is a webpage where all the links of your website are put together. So you can imagine how dynamic website sitemaps can get complicated with easily 100+ links. To make life easy I use a sitemap generator which will generate a sitemap in just a few clicks.

GSiteCrawler – Click here to download it.

Sitemap generator browse a website and generate a page with all possible links of that particular website in XML format. And hence search engines can easily access all your links. Eg. you have 100 products on your portal website:

  • www.mydomain.com?productid=10&category=001
  • www.mydomain.com?productid=11&category=029
  • www.mydomain.com?productid=12&category=014
  • ………………….
  • ……………….

with 100 links than the xml generator will automatically produce all the links in a page you just have to name the file sitemap.xml and place it in your root directory.

PHP or HTML Sitemap

This part is very simple. Such sitemaps are basically created for you web users to help them understand the structure of your website, and if a search engine comes across that page then good for you.

Ok here goes…..

  • Open a new webpage list all the main categories and sub categories of your website with links.
  • Save this page as sitemap.php or anything you like.
  • On all webpages link this page (probably on the footer).

Eg a very popular matrimonial website www.shaaditimes.com.

posted under SEO

Email will not be published

Website example

Your Comment:

 

2,885 spam comments
blocked by
Akismet