How to make site map (SEO measures)
It is effective also in the person where site map (sitemap.html) visited the homepage and effective in the search robot though is effective. Moreover, to the root directory on the homepage especially Is it sitemap.txt When the text file named sitemap.xml is put, it is effective in the search robot.
Nobody saw too much first though I had passed years how many since the homepage was made. The inspection of the homepage has been increasing gradually now. I think that the access is a lot of one compared with an average page. The percentage of those who can come by the retrieval is 80 percent or more according to the access analysis. Being displayed in the high rank by the search engine is very important in the access improvement. The site map is important for the access improvement.
This page is a way that I recommend, and no one forced on others. It is needless to say to may freely make the homepage by you.
Site map (sitemap.txt) for the search robot is made
Sitemap.txt to enumerate by the line and is writing of the address of the file that it wants the robot in the homepage to read (address that starts from http).
http://hogehoge.jp/ http://hogehoge.jp/link.php http://hogehoge.jp/policy.php * * *
Site map (sitemap.xml) for the search robot is made
Sitemap.xml is a file including the following update, the update frequency, and information on the importance on the page etc. besides the address on the page.
<url> <loc>http://hogehoge.jp/</loc> <priority>0.5</priority> <changefreq>weekly</changefreq> <lastmod>2008-06-12</lastmod> </url>
It is possible to do by omitting it easily about the following three items in this because it is not indispensable and so not important.
<priority>0.5</priority> <changefreq>weekly</changefreq> <lastmod>2008-06-12</lastmod>
It becomes the following when making it only to a at least necessary item of sitemap.xml in a word.
<?xml version="1.0" encoding="UTF-8" ?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url><loc>http://hogehoge.jp/</loc></url> <url><loc>http://hogehoge.jp/link.php</loc></url> <url><loc>http://hogehoge.jp/policy.php</loc></url> * * * </urlset>
When it is this method, the correction and the addition in the editor can be very eased. If all items are written in one line as follows, and the position is arranged with TAB key, it is possible to do easily so as not to omit it as stated above because the correction and the addition in the editor are each lines. Finally, I am doing as follows excluding with update.
<?xml version="1.0" encoding="UTF-8" ?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url><loc>http://hogehoge.jp/</loc> <priority>1.0</priority> <changefreq>weekly</changefreq></url> <url><loc>http://hogehoge.jp/link.php</loc> <priority>0.5</priority> <changefreq>weekly</changefreq></url> <url><loc>http://hogehoge.jp/policy.php</loc> <priority>0.1</priority> <changefreq>weekly</changefreq></url> * * * </urlset>
Method of making site map for mobility
To tell the search robot that it is a page for mobility, the site map for mobility is made as follows. I think that the difference is understood if it compares it to the site map for PC. The file name It is assumed sitemap_m.xml, and puts it on the domain route.
<?xml version="1.0" encoding="UTF-8" ?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0"> <url> <loc>http://hogehoge.jp/m/</loc> <mobile:mobile/> </url> </urlset>
About the character-code of the site map for the search robot
The character-code of the site map for the search robot is supposed to be described with UTF-8. The site map comes to describe it with UTF-8 as for the Webmaster tool of Google.
I made the character-code UTF-8N every time when correcting it at first in the editor, read, and was preserving it. This is very troublesome. However, Japanese is not used for the site map for the search robot at all. upon reflectionThen, a completed file becomes the same thing even if the character-code is what.
It never becomes an error with the Webmaster tool of Google though I am making in editor (Terapad) as the character-code of site map (sitemap.xml) doesn't worry at all now.
Auto discovery function of site map
The necessity doesn't exist if the auto discovery function of the site map is used though the site map is transmitted with the Webmaster tool to register in the search engine when the site map is made. The search robot automatically finds the site map. It describes it in that making the file named robots.txt in the domain route as follows.
If the line of this site map is increased, it is OK when two or more site maps exist.
User-agent: * Sitemap: http://www.hogehoge.jp/sitemap.xml Sitemap: http://www.hogehoge.jp/sitemap_m.xml
Site map (sitemap.php) for those who inspect it on the homepage is made.
I think that you should make site map (sitemap.html,sitemap.php) for those who inspect it so that the person who visited the homepage may see what page you are in this site in the list.
There is no problem if it is easy to see because this is a usual HTML file, devises plainly, and the page is made. I am making the one that the menu displayed on each page was enumerated site map (sitemap.php) for man.
In a word, include merely does all menus to the site map because the menu is done in include (Take it) and displayed with PHP by it. Even if the page is added, the site map need not be updated.