setting up drupal with xml sitemap for google

We all want our website to be search engine friendly so that people could find our website easily. In fact, most of the website traffic is brought by search engine like google. To optimize our website for search engine is also called search engine optimization or SEO, there 's a lot of method for this kind of optimization , and xml sitemap is one of the most important one of doing it.

Being the most popular Content Management System, Drupal comes with this capability of submiting xml sitemap to search engine , It 's implemented through the xml sitemap module, all we have to do is to download the module and extract it under the module directory 'sites/all/modules' as any other modules.

How to configure the xml sitemap module?

Firstly you should enable the module in the 'Site building->Modules' configuration section:

Generally, enabling the 'XML sitemap node' and its prerequisite is enough for us.

Then goto site configuration section to configure the xml sitemap module:

We should setup the frequency of how often our website content will be changed(add,modify or delete), for personal website, daily change shoud be ennough.

The more important setting is under the 'search engines' tab from where we could configure our sitemap submission to different search engines like google , yahoo etc.

Before we could submit our  sitemap to search engine , most search engine will require that  you 're  the legal owner of the website through creating a file with paticular name.

Just imput the file name in the 'verification settings' as required by the search engine(e.g. google). Then we 're done with setting up the xml sitemap!

 

 

Submit the sitemap

Finally we could submit our sitemap to search engine under the "tools" tab

And the configured search engine will start to crawl our website and index our website, but do'nt expect It will happen immediately unless your website has been famous for a while cause search engine always index well know website content first!