TVs. Consoles. Projectors and accessories. Technologies. Digital TV

Sitemaps. XML Sitemap: a complete guide to use What does it mean that the sitemap file is not available

A sitemap is a sitemap.html page (for visitors, helps to simplify navigation and find any page on a large site) or a sitemap.xml file (for search engines), containing a detailed list of all pages of the website.

A sitemap allows you to reduce the number of transitions when searching for the desired page on any, even the largest website. A properly configured sitemap can increase the indexing of website pages.

What features does a sitemap provide?

Search engines are capable of crawling all the addresses on a site on their own, but creating a site map will help them know how best to do this.

The sitemap allows you to:

  • find new pages on the resource and index them;
  • prioritize pages;
  • track recent changes on indexed pages;
  • remember the update frequency of indexed pages.

What types of sitemaps are there?

IN general case There are two options for a sitemap - a web page sitemap.html and a sitemap.xml file. Let's take a closer look at them.

What is Sitemap.html?

This is a static HTML page that lists links to all the main pages of the site. This sitemap format is aimed at site visitors and allows you to go to any page in 1 click.

Sitemap.html has a tree structure with expanded sections.


For sites with a very complex HTML structure, the sitemap may consist of pages with an additional level of nesting.
An example is the TripAdvisor sitemap.

What is sitemap.xml?

This is a file located in the root directory of the site, which is read by all existing search engines. Its role is to show search engines all the page addresses that need to be indexed; when they appeared or were updated; How often should you check pages for updates?

One sitemap.xml file can contain up to 50,000 links. At more There will be several links to such files. Additional benefits- the ability to specify the frequency of page updates and indexing priority. The correct encoding of the sitemap.xml file should be UTF-8, and its size is limited to 10 MB.
Here is an example of a site map in .xml format:



http://mysite.ru/
2017-09-18T18:54:13+04:00
always
1.0


http://mysite.ru/category/
2017-09-18T18:57:09+04:00
hourly
0.8


http://mysite.ru/page/
2017-09-18T18:59:37+04:00
daily
0.6

How to create a sitemap?

There are a number of methods to create a sitemap for your resource:

  • Statically by hand. This method is suitable for advanced users who have experience working with basic tags and whose website consists of a small number of pages.
  • Through the sitemap generator. If you don’t want to do the painstaking and tedious work of generating a sitemap manually, a sitemap creation program is at your service. There are paid and free options: and many others.
  • Plugin for CMS or engine tools. Another good way generate sitemap. Lots of advantages in the form flexible settings to the required parameters and maximum possible addresses, as well as serious time savings. In addition, when you make changes to a page or create new pages, the sitemap will be updated automatically, unlike a sitemap created in another way. Each system has its own plugin:
    • SEO plugins with the function of creating a sitemap have been developed for CMS WordPress;
    • there is Xmap for Joomla;
    • DLE - there is a built-in module.

Useful point!

If you exclude from the sitemap pages that do not provide commercial or informational benefit (for example, some pages that are not landing pages, some auxiliary, transit), then the search robot will spend less of its resources on crawling the site.

And since the resource is limited, it becomes more likely that the robot will bypass the pages we need. By creating a sitemap through a plugin, you can immediately exclude certain types of pages from there. You can add them later if needed. Relevant for large sites.

How often should the sitemap be updated?

There is no uniform standard for the number of updates. It all depends on the frequency of creating new resource pages, changing addresses or content and connections of existing pages.

It is worth remembering that the search robot perceives the data indicated in the site map as recommendations: if you set the frequency of updates, for example, once a year, the robot will come more often, and if once an hour, the robot will not index the page so often.

How to correctly specify a link to sitemap.xml in robots.txt

To begin with, an xml sitemap must be created and uploaded to the server, and then you can add an indication of the presence of the file.

To do this, add the following line to robots.txt:

Sitemap: (url-file-sitemap),
where (sitemap-file-url) is the full URL of your sitemap.

As a result, robots.txt will look like this:

User-Agent: *
Sitemap: http://mysite.com/sitemap.xml.

Common errors in the sitemap

The most common mistakes:

  • broken links;
  • redirects;
  • Incorrect publication or content update dates.

Errors will not have a critical impact on how search engines view your site. However, eliminating them will allow the search robot to direct the freed-up resources to crawl important pages.

How to check the sitemap is correct

To check the correctness of the sitemap, numerous online services have been developed that will do this for you automatically and point out all the errors made: file validity, pointing to a url from another domain, exceeding the file size, and conduct online indexing diagnostics. Such programs are free and work with all major search engines (Google, Yandex, Yahoo).

To check the correctness, you need to open the service page, download the xml file or enter the appropriate URL in the field and click on the check button. If the program detects errors, it will tell you which addresses are giving an incorrect response.

Test sitemap.xml in Yandex * - https://webmaster.yandex.ru/tools/sitemap/
Test using the Pixel Plus service - https://webmaster.yandex.ru/tools/sitemap/
English-language service - https://sitemapkoala.com/

* - for the test in Yandex, it is necessary.

Total

A site map is a convenient tool designed to simplify the transfer of the structure of the main pages to both the visitor and the search engine.

You can do without it. The search engine will reach most web pages sooner or later, but with a sitemap, crawling or indexing new pages will be more effective.

Which are needed for search robots. Some will say that it is not needed, because all sections are already displayed. However, the need for such a page exists if the site contains fifty pages or more. For search engines and users, it will serve as a guide to help them understand where this or that information is contained.

XML and HTML files

Since it is used not only for search robots, but also for users visiting the site, two maps are usually compiled: in XML and HTML formats.

To create a Sitemap for search robots, use an XML file. Thanks to it, robots add new ones to their search database. In the absence of a map on a multi-page site, a large number of pages may not be indexed for sometimes a very long time.

An HTML file is used to create a sitemap for users. The importance of this map lies in the fact that its convenience directly determines whether the user will find the information he is interested in or not. Therefore, such a map is created for those Internet projects in which all sections and their subsections do not fit in the main menu.

How to create a Sitemap XML

There are three ways to solve this problem:

    Buying a generator for a sitemap.

    Create a Sitemap using online services.

    Manually writing a file.

To significantly save time, it is proposed to purchase generators. Therefore, if twenty to thirty dollars to purchase a license is a small waste of money for a webmaster, then buying it, especially for a large Internet resource, still won’t hurt, since then you won’t need to create a site manually.

For a site containing several hundred pages, online services are recommended, where in order to create a Sitemap, you only need to indicate the address of the Internet resource and download the result.

The best option is to manually create a map. To do this, you need to know tags such as url, urlset, loc, lastmod, changefreg and priority. In this case, the first three tags are considered mandatory, but the last three can be dispensed with.

Creating a Sitemap in Joomla

To create a Sitemap on a website, Joomla and Wordpress have special add-ons, like most well-known administration systems, thanks to which a sitemap is created manually or automatically. For large Internet projects that constantly update materials, this addition is very convenient.

In Joomla it is called Xmap, in Wordpress it is called Google XML Sitemaps.

Automatic sitemap creation

Free online servers help you automatically create a Sitemap if your site has no more than five hundred pages. Here's how easy it is to generate a sitemap:

    Having visited one of these Internet resources, you need to find the “Generate Sitemap” item, click on the “Create” button and create a Sitemap file automatically.

    Find “Site URL” and enter there the address of the site for which the map is being created.

    The system may require you to enter verification code. You must also enter it and click “Start”.

    Upload the finished map to the website.

Manual way to create a map

This method is, on the one hand, the most difficult, taking up precious time, but on the other hand, it is the most the right way, used in cases where other options are not suitable. So, for example, if there are many pages that are not particularly necessary to be included in the site map, but they automatically end up there, of course, the manual method will save the map from the “overdose” of such pages. Another reason for choosing this method is poor site navigation.

To implement manual map creation you must:

    Collect pages to include in a map.

    In the excel file, insert all addresses in the third column.

    Insert both url and loc in the 1st and 2nd columns.

    In the 4th and 5th columns, insert the closing url and loc.

    Use the “link” function to connect five columns.

    Create a sitemap.xml.

    Add both urlset and /urlset tags to this file.

    Insert a connected column between them.

The resulting file must be checked. This can be done, for example, in Yandex, in the webmaster panel.

How to create a Sitemap for Yandex and Google

After the site is created, it is added to the site. For this purpose, the file with the site map should be called Sitemap.xml and added to the root directory. To find it quickly, Google and Yandex have special tools. They are called “Webmaster Tools” (in Google) and “Yandex Webmaster” (in Yandex).

Adding a Sitemap to Google

Adding a Sitemap to Yandex

Likewise, you must first log in to Yandex Webmaster. Then go to Indexing/Sitemap files, specify the file path there and click the “Add” button.

    Search robots today will only take those files that contain no more than fifty thousand URLs.

    If the card exceeds ten megabytes, it is better to split it into several files. Thanks to this, the server will not be overloaded.

    To create Sitemap xml correctly, if there are several files, you need to register them all in the index file, using the sitemapindex, sitemap, loc and lastmod tags.

    All pages must be written either with or without the “www” prefix.

    The required file encoding is UTF8.

    You also need to add an indication of the language namespace in the file.

How to create a sitemap for users

Since such a map is created for users, it should be as simple and clear as possible. Despite this, it is necessary to accurately convey all the information about the structure of the site being used.

HTML maps basically have a familiar custom structure of sections and subsections highlighted in specific ways, such as CSS styles and graphical elements.

To create a Sitemap for a large Internet project, as in the case of an XML map, splitting is also recommended here. In this case, it is carried out in the form separate tabs, eliminating the bulkiness of the card.

The JavaScript language, which can be used in this map, will allow you to increase the functionality of the page, since it is created not for search engine robots, but for users.

Order for a sitemap file

It is advisable that the created file containing the Sitemap always be clean and tidy, especially if the site has a large number of pages. Since search engine robots scan sitemaps very quickly, there may simply not be enough time to view the entire file of a large Internet resource.

Therefore, if you get used to adding pages to the site map not at the bottom, but at the top, then, on the one hand, there is no doubt that the search robot will have time to view the addresses of new pages, and on the other hand, this way it will be much easier to control all pages.

A sitemap is an html page of a site or a special xml file, which contains links to all important pages site. To understand what a site map is, just imagine a book's table of contents and it will immediately become clear why do you need a site map. A site map helps a visitor, be it a person or a search robot, quickly find any page on the site, making a minimum number of transitions. On simple, small sites, all pages can be accessed in 1-2 clicks from home page, but what to do if the site is large and its structure is complex? Such a site will not only be inconvenient for visitors, but also not obvious to search engines.

What types of sitemaps are there?

Search engines index the site gradually, level by level, starting from the main page. If the site has many levels of nesting of pages, then it will take many months for all the pages of the site to be indexed. So it is necessary create a site map, on which there will be all links to all pages of the site at once, so that the robot does not waste time navigating through nesting levels, right? Yes and no. The answer depends on why the map is being made and what it will be like. Let's take a look what are the types of sitemaps?.

Sitemap HTML Sitemap

Sitemaps are divided into 2 main types or formats: sitemap html and a sitemap xml file. HTML sitemap is a site page, which lists the links. Usually these are links to the most important sections and pages of the site. HTML sitemap is more designed for people rather than robots and helps you quickly navigate the main sections of the site. For a sitemap in the form of an HTML page, there are serious restrictions on the number of links on one page. If there are too many links on a page, not all links may be indexed, or the site map page may even be excluded from searches for having an excessive number of links, even .

In order for the html sitemap to be correctly indexed and adequately perceived by visitors, you should not place more than 100 links on the page. This is more than enough to place on the page all the sections and subsections that do not fit into the main menu.

Usually, site map in HTML format has a tree structure, where expanded sections and subsections are indicated. Unnecessarily bulky HTML site maps are often designed with graphic elements, CSS styles and supplemented with Java script. However, the html sitemap does not have of great importance for search engines.

An HTML sitemap is not a full-fledged sitemap. What to do if the site has hundreds, thousands, tens of thousands of pages? To do this, you need to place links to all pages in the site map in xml format.

XML Sitemap

An XML sitemap is a file in xml format, like sitemap.xml, which is usually located at the root of the site. A sitemap in xml format has many advantages over an html sitemap. Sitemap xml is special format site maps, which is determined by all popular search engines, such as Google and Yandex. You can specify up to 50,000 links in xml sitemap. Moreover, in the sitemap xml you can specify the relative priority and frequency of page updates.

It is worth saying that the contents of the site map are only recommendations for the search robot. For example, if you set an annual update frequency for a website page, search robots will still visit more often. And if you set the page refresh rate to be hourly, this does not mean that robots will index the page every hour.

An xml sitemap has a specific syntax, let's look at the structure of an xml sitemap in more detail.

Example sitemap file sitemap.xml

The correct sitemap.xml must be UTF8 encoded. The contents of the sitemap.xml file look like this:

http://mysite.ru/ 2014-09-18T18:54:13+04:00 always 1.0 http://mysite.ru/category/ 2014-09-18T18:57:09+04:00 hourly 0.8 http://mysite.ru/page/ 2014-09-18T18:59:37+04:00 daily 0.6

Where the following required tags are used:

  • — parent tag, it contains all URLs;
  • — тег, в котором указываются сведения о конкретном url-адресе;
  • https://cammeteo.ru/en/ — в данном теге указывается непосредственно url.
  • — этот тег заключает в себе дату последнего изменения страницы;
  • — тег используется, чтобы указать насколько часто изменяется страница: always, hourly, daily, weekly, monthly, yearly, never;
  • — указывает приоритет определенной страницы, относительно других страниц сайта от 0,1 – низкий приоритет, до 1 – высокий приоритет.

Так же, в файле карты сайта в формате xml должно содержаться указание на пространство имен языка XML:

Xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"

Если файл карты сайта включает более 50 тысяч ссылок или размер sitemap.xml превышает 10 мб, рекомендуется разделить карту сайта на несколько файлов. В таком случае, в карте сайта необходимо указать несколько ссылок на разные файлы карт.

http://mysite.ru/sitemaps/sitemap01.xml!} 2014-09-18T18:54:13+04:00 http://mysite.ru/sitemaps/sitemap02.xml 2014-09-18T18:54:13+04:00

Здесь используются уже знакомые нам теги https://cammeteo.ru/en/ и , а так же обязательные теги:

  • — родительский тег, в который заключаются адреса всех карт сайта;
  • — тег, в котором заключается параметры для каждой карты сайта.

Пример файла карты сайта sitemap.txt

Еще одним способом оформления карты сайт в виде файла может быть карта сайта в формате txt:

1. http://mysite.ru/ 2. http://mysite.ru/page/ 3. http://mysite.ru/page1/

Все просто. В файле sitemap.txt построчно перечисляются все необходимые ссылки. Карта сайта в формате txt — это «вариант для ленивых». Здесь работает аналогичное sitemap xml ограничение в 50.000 ссылок. Однако, TXT карта сайта лишена возможностей указания даты последнего изменения и приоритета страницы.

Как создать карту сайта

Создание карты сайта важный процесс, в котором необходимо четко указать, какие страницы сайта нужно индексировать и как лучше их индексировать. В зависимости от того о каком типе карты сайта идет речь, используются различные способы создания карты сайта . Как создать html карту сайта обсуждать отдельно смысла нет. Рассмотрим как сделать карту карта в формате xml файла. Существует несколько основных способов создания карты сайта, но все их объединяет то, где находится карта сайта и как файл sitemap определяется поисковыми системами.

Как уже было написано выше — файл карты сайта размещается в корне сайта . Поисковые системы способны самостоятельно обнаружить файл карты сайта. Но существует несколько способов указания прямой ссылки на файл(ы) карты сайта(ов) для более скорого обнаружения поисковыми системами. Самый простой способ указать место расположения файла карты сайта — это непосредственное указание ссылки или нескольких ссылок на файлы карт сайта в инструментах для вебмастеров от Yandex и Google. Там же можно проверить карту сайта , провести анализ карты сайта на корректность , соответствие того, какие страницы из карты сайта найдены поисковой системой и сколько из них находится в индексации.

Второй способ указать поисковым системам на расположение файла карты сайта — это .

Sitemap: http://mysite.ru/sitemap.xml

В robots.txt можно указать несколько файлов sitemap, после чего, он автоматически будут добавлены в инструменты для вебмастеров. Как найти карту сайта мы рассмотрели, теперь перейдем к тому, как создать карту сайта.

Основные способы создания карты сайта

  1. Генерация карты сайта силами системы управления сайта, если CMS имеет подобную встроенную возможность.
  2. Скачать карту сайта со стороннего онлайн сервиса. Существует множество online генераторов карт сайта с различным возможностями и ограничениями. Напрмер xml-sitemaps.com обладает возможностью настройки параметров карты сайта, но имеет ограничение по количеству ссылок в файле sitemap.xml в 500 штук.
  3. Скачать программу-генератор карты сайта . Подобные программы генераторы обычно платные, но при их помощи можно можно регулярно генерить sitemap xml для одного или нескольких сайтов. Вот пара примеров подобных программ-генераторов: SiteMap XML Dynamic SiteMap Generator, WonderWebWare SiteMap Generatior.
  4. Автоматическое создание sitemap карты сайта в Joomla (Джумла), WordPress (Вордпресс), Bitrix (Битрикс).
  5. Создание карты сайта вручную .

Карта сайта — один из важнейших инструментов . Не важно, как будет создана карта сайта. Важно — какие ссылки будут перечислены в карте сайта и как часто она будет обновляться. Иногда, в карту сайта выгружается все подряд и даже те ссылки, которые запрещены в robots.txt или . А обновление карты сайта происходит раз в месяц или реже. Подобное отношение к карте сайта может не просто сделать ее бесполезной, но того хуже — запутать поискового робота, что негативно отразится на индексации и позициях сайта в поиске.

Создайте карту сайта для своего ресурса. Но будте внимательны и хорошо подумайте, что выгружать в sitemap, а что нет.

Вы просто кретин, если в свое время не уделили сайтмапу нужное внимание. Достаточно один раз разобраться в вопросе и в будущем избежать большого количества ошибок, что давайте сейчас и сделаем.

Ваш покорный слуга в годы младые также был таким кретином, когда только начал продвигать сайты в одной конторе. Попался мне в то время один сайтец на продвижение, который, следует сказать, был просто гавном. И у этого гавна были проблемы с индексацией. Естественно, будь сайт достаточно качественным, его бы оба поисковика индексировали несмотря ни на какие проблемы, но владельцы жались на нормальных дизайнера, верстальщика и программиста, а в этом случае сеошнику остается только, так сказать, открывать бутылку при помощи ножниц. Я перепробовал на нем все — и настройку last-modified, и ускорение индексации модным в то время фастботом, и покупку ссылок. И только потом оказалось, что дело было в том, что там не обновлялся автоматически сайтмап! Когда я его обновил — все страницы влетели в индекс.

Что такое sitemap и зачем он нужен

Что такое sitemap? Это файл с информацией о страницах сайта, которые нужно индексировать. Обычно sitemap создают для Яндекса и Гугла, чтобы оповестить поисковых роботов о страницах, которые нужно внести в индекс. Ещё при помощи сайтмапа осуществляется проверка того, как часто происходят обновления, и индексация каких веб-документов является наиболее важной. В целом очень хорошо о нем рассказали на Вебмастерской Яндекса:

[yt=INGCBkR26eo] [yt=INGCBkR26eo]

Влияет ли наличие sitemap на продвижение

Если у вас отсутствует сайтмап, это не означает, что поисковики не станут индексировать ресурс. Поисковые роботы зачастую и без этого неплохо сканируют сайты и включают их в поиск. Но иногда могут возникать сбои, из-за которых порой удается отыскать не все веб-документы. Основными причинами являются:

  1. Разделы сайта, в которые можно попасть, только совершив длинную цепочку переходов;
  2. Динамические URL-адреса.

Так вот, создание sitemap.xml во многом помогает решить эту проблему. Этот файл влияет на SEO лишь постольку, поскольку облегчает/ускоряет индексацию страниц. Также возрастает шанс того, что веб-страницы проиндексируются до того, как ваши конкуренты смогут скопировать контент, опубликовав его у себя на сайте.

В каком еще формате бывает карта сайта и почему её делают в формате XML

Зачем нужна карта сайта, мы разобрались. Теперь давайте рассмотрим, в каких форматах её можно сделать:

  1. В формате html. Создается в виде обыкновенной страницы с адресами, ведущими на главные разделы ресурса. Такой тип карты помогает быстро сориентироваться, и рассчитан в большей степени на людей, чем на поисковых роботов. В HTML sitemap можно поместить ограниченное число ссылок (не более 100), ведь если их окажется больше, то не все они попадут в индекс. Или же поисковые роботы могут и вовсе исключить такую страницу из поиска за чрезмерное число URLов, пусть даже и внутренних.
  2. Создание xml-файла sitemap. Здесь нет слишком критичных ограничений по количеству ссылок, а поисковики лучше его индексируют, ведь файл sitemap xml-формата содержит полную информацию в понятном для робота виде. Особенно он важен для проектов, где имеются сотни и тысячи документов одинаковой важности, и размещение всех ссылок на них необходимо. В сайтмап такого типа есть возможность разместить до 50 тысяч URLов и помимо этого можно выставить частоту обновлений и приблизительный приоритет (priority), чего не скажешь о карте в формате HTML. Именно по этим причинам сайтмап почти всегда создают в xml.

Вот еще инфа об этом файле:

[yt=ti3NKPknHDA] [yt=ti3NKPknHDA]

Как сделать правильный sitemap

Рассмотрим, как сделать правильную xml-карту. Здесь должны быть соблюдены следующие требования:

  1. Размер файла должен быть не больше 10 мб;
  2. Карта должна содержать не больше 50000 ссылок. В тех случаях, когда ссылок больше, можно создать несколько карт и включить их в главную xml-карту;
  3. Адрес сайтмапа следует прописать в robots.txt;
  4. Также загрузите sitemap в яндекс и гугл (как добавить файл – описано ниже);
  5. Поисковые системы должны иметь доступ к карте. Необходимо использовать специальные теги, которые дают поисковикам понять, что это именно карта, а не что-то другое;
  6. У sitemap должна быть кодировка UTF-8.

Приведу простой пример карты:

http://site.ru/!} 2016-11-20T19:45:08+03:00 always 0,9 http://site.ru/category/ 2016-11-20T19:46:38+03:00 monthly 0,6 http://site.ru/page/ 2016-11-20T19:48:41+03:00 yearly 0.4

< url >

< loc >http : //site.ru/

< lastmod >2016 - 11 - 20T19: 45: 08 + 03: 00< / lastmod >

< changefreq >always< / changefreq >

< priority > 0 , 9 < / priority >

< / url >

< url >

< loc >http : //site.ru/category/

< lastmod >2016 - 11 - 20T19: 46: 38 + 03: 00< / lastmod >

< changefreq >monthly< / changefreq >

< priority > 0 , 6 < / priority >

< / url >

< url >

< loc >http : //site.ru/page/

< lastmod >2016 - 11 - 20T19: 48: 41 + 03: 00< / lastmod >

< changefreq >yearly< / changefreq >

< priority > 0.4 < / priority >

< / url >

The url and loc tags are required. The first contains all the information about a specific URL. The second contains the address itself.

The lastmod, changefreq, priority tags are not mandatory, but it is still recommended to use them.

Lastmod in the sitemap is responsible for the date last update.

Changefreq indicates the frequency of page changes. The values ​​can be as follows:

  1. Hourly – updates hourly;
  2. Always – always updated;
  3. Weekly – updated once a week;
  4. Daily – updates occur daily;
  5. Monthly – updates occur once a month;
  6. Yearly – once a year;
  7. Never – not updated (it is better not to use this value).

Priority tells search engines how important a page is compared to others. The priority can be set from 0.1 (low) to 1 (high).

This was just an example map, you do not need to specify these exact values. In general, it is recommended to set priority as follows: maximum for the main page (1), average for categories (0.6), and minimum for posts (0.4).

Now let's look at an example where there are more than 50 thousand links. In this case, the file includes other maps:

http://site.ru/sitemaps/sitemap01.xml 2016-11-20T21:37:28+03:00 http://site.ru/sitemaps/sitemap02.xml 2016-11-20T21:37:29+03:00

< sitemap >

< loc >http: //site.ru/sitemaps/sitemap01.xml

< lastmod >2016 - 11 - 20T21: 37: 28 + 03: 00< / lastmod >

< / sitemap >

< sitemap >

< loc >http: //site.ru/sitemaps/sitemap02.xml

< lastmod >2016 - 11 - 20T21: 37: 29 + 03: 00< / lastmod >

< / sitemap >

How to create a sitemap

There are several ways to create an xml map, let's look at them:

  1. Download the map using online generator from another resource;
  2. Generate using special program. But it is worth considering that programs of this kind are mostly paid. An example of such a generator: Wonder WebWare SiteMap Generator. Screaming Frog also has this feature;
  3. Create a sitemap manually;
  4. Automatically create a map using a CMS (for example, such a function is available on WordPress).

Here is an option on how to make a sitemap without the help of plugins:

[yt=Tnfy601BUZc] [yt=Tnfy601BUZc]

Plugins for creating sitemaps on WordPress

You can create a sitemap in WordPress using a special plugin called Google XML Sitemaps. Everything is simple here: download the plugin, install it, then start creating the file. To do this, open Console-Settings and select XML-sitemap. Next we set the settings. We leave the priority as default.

What is a site map

The content of any web resource will sooner or later be indexed by search engines. How can we make this process happen faster?

One of the most effective ways– use of the so-called site map ( Sitemap).

Sitemap ( Sitemap) - This xml- a file with information for search engines about the pages of a web resource that are subject to indexing. Sitemap helps search engines determine the location of web resource objects, the time of their last update, update frequency, and priority.

Protocol format Sitemap consists of XML-tags.

The file must use the encoding UTF-8.

Attributes XML-tags Sitemap

– required attribute. Encapsulates this file and specifies the current protocol standard;

– обязательный атрибут. Родительский тег для каждой записи URL . Остальные теги являются дочерними для этого тега;

https://cammeteo.ru/en/ – обязательный атрибут. URL страницы; должен начинаться с префикса (например, http:// ) и заканчиваться косой чертой, если ваш веб-сервер требует этого. Длина этого значения не должна превышать 2048 символов;

– необязательный атрибут. Дата последнего изменения файла; должна быть в формате W3C Datetime . Этот формат позволяет при необходимости опустить сегмент времени и использовать формат ГГГГ-ММ-ДД;

– необязательный атрибут. Вероятная частота изменения этой страницы. Это значение предоставляет общую информацию для поисковых систем и может не соответствовать частоте сканирования этой страницы. Допустимые значения: always , hourly , daily , weekly , monthly , yearly , never ;

– необязательный атрибут. Приоритетность URL относительно других URL на вашем сайте. Допустимый диапазон значений – от 0,0 до 1,0. Это значение не влияет на процедуру сравнения ваших страниц со страницами на других сайтах – оно только позволяет указать поисковым системам, какие страницы, по вашему мнению, более важны для сканеров (приоритет, который вы назначили странице, не влияет на положение ваших URL на страницах результатов той или иной поисковой системы). Приоритет страницы по умолчанию – 0,5.

Пример XML -файла Sitemap

(необязательные теги выделены ):

http://сайт/

2010-04-19

daily

0.8


http://сайт/aldan.htm
2009-10-03
monthly

0.5

http://сайт/aldan-weather.htm

2010-04-15

weekly

0.5

If your site contains many web pages, you can omit optional attributes (this will significantly reduce file sizes Sitemap):

http://сайт/

http://сайт/aldan.htm

http://сайт/aldan-weather.htm

Using Index Files Sitemap

File Sitemap must contain no more than 50,000 URL, and its size should not exceed 10 MB.

If necessary file Sitemap can be compressed using an archiver gzip to reduce the requirements for bandwidth channel.

If you need to transfer more than 50,000 URL, you should create several files Sitemap. You will need to list each of these files in the index file. Sitemap. In the index file Sitemap a maximum of 50,000 files can be listed Sitemap. The size of this file should not exceed 10 MB.

How to create a sitemap

To create a sitemap, you can use so-called generators Sitemap, or you can do everything yourself:

– open Notebook;

– following the rules of protocol Sitemap, fill out the file Sitemap ;

– enter the file name in the appropriate text field (for example, sitemap.xml);

– in the drop-down list File type select All files (*.*);

– in the drop-down list Encoding select UTF-8, press Save;

– upload Sitemap to the root directory of your site.

Notifications for search engine scanners about the presence and location of a file Sitemap

After the file Sitemap created and hosted on a web server, its location must be reported to search engines that support this protocol. This can be done in the following ways:

Uploading a Sitemap Using the Search Engine Web Interface

To send a file Sitemap directly to search engine, which provides the ability to obtain information about processing status and errors, please refer to help system search engine.

For example, transfer



Related publications