SEO

How to Create a sitemap.xml and Submit It to Google

What Is a sitemap.xml and What Does It Do?

A sitemap.xml is an XML-format file that lists the addresses of all the important pages on your website. It is the most organized way to tell Google and other search engines: "Here are the pages on my site, please crawl all of them." Especially on new sites, large multi-page sites, or sites with weak internal linking, a sitemap significantly speeds up how quickly Google discovers your pages.

A sitemap can contain not only page addresses but also the last-modified date and relative importance of each page. This information helps Google use its crawl budget more intelligently.

Three Ways to Create a sitemap.xml

1. With a WordPress Plugin (The Easiest)

If you use WordPress, you don't need to write any code to create a sitemap. When you install one of the Yoast SEO or Rank Math plugins, it automatically generates an up-to-date sitemap. With Yoast your sitemap is usually published at yoursite.com/sitemap_index.xml, and with Rank Math at yoursite.com/sitemap_index.xml. The plugin updates the sitemap automatically as you add new content, so you only need to set it up once.

2. With Online Tools (For Static Sites)

If you have a hand-coded static site that doesn't use WordPress, you can create your sitemap by entering your site address into free online tools such as xml-sitemaps.com. The tool crawls your site and produces a downloadable sitemap.xml file.

3. By Writing It Manually (For Small Sites)

If you have a small site with just a few pages, you can also write the sitemap by hand. The basic structure looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://www.siteniz.com/</loc>
    <lastmod>2026-05-31</lastmod>
  </url>
  <url>
    <loc>https://www.siteniz.com/hakkimizda</loc>
  </url>
</urlset>

You add each page as a <url> block and save the file under the name sitemap.xml.

Uploading the sitemap.xml File to the Server

If you use a plugin, the file is published automatically, so you can skip this step. If you created it manually or with a tool, upload the file to your site's root directory (public_html) using an FTP program (for example FileZilla) or your hosting file manager. After uploading, go to https://www.siteniz.com/sitemap.xml in your browser to confirm that the file opens.

Submitting the sitemap.xml File to Google

  • Log in to Google Search Console and select the relevant property.
  • Click the Sitemaps tab in the left menu.
  • In the "Add a new sitemap" field, enter the path to your file. Don't enter the full address, only the file name: for example sitemap.xml or, for Yoast, sitemap_index.xml.
  • Press the Submit button.

Within a few minutes to a few hours the status will show as "Success" and the number of discovered URLs will be listed. This means Google has read your sitemap.

Adding the Sitemap to robots.txt

It's good practice to also add your sitemap's address to your robots.txt file. That way, every search engine that supports your sitemap finds it automatically. Add the following line to the end of your robots.txt file:

Sitemap: https://www.siteniz.com/sitemap.xml

Types of Sitemaps

Beyond a single sitemap, there are different types depending on your needs, and knowing them makes your work easier on large sites. The XML sitemap is for search engines and is the most common type. A sitemap index file gathers multiple sitemaps under a single umbrella; Yoast and Rank Math use this structure. An image sitemap helps your images be found more easily in Google Images. A video sitemap carries extra information for your video content. A news sitemap is only required for news sites that have been accepted into Google News. For most business sites, a standard XML sitemap with image support is more than enough.

Managing Sitemaps on Large Sites

If your site has thousands of pages, there are technical limits you need to keep in mind. A single sitemap file can contain at most 50,000 URLs or 50 MB. If you exceed this limit, you need to split your content into logical parts (for example separate sitemaps for posts, pages, and products) and gather them in an index file. The good news is that SEO plugins handle this splitting automatically.

Another important point on large sites is that the sitemap should only contain quality, live pages (those returning a 200 status code) that you actually want indexed. Keeping deleted, redirected, or noindex pages in your sitemap lowers your site's quality in Google's eyes and leads to "Submitted URL issues" warnings. Keeping your sitemap clean ensures your crawl budget is spent on valuable pages.

Follow-Up After Submitting Your Sitemap

The work isn't done once you submit your sitemap; you need to check the Sitemaps report in Search Console regularly. Monitor the "discovered URLs" count from there and make sure it is consistent with your site's actual number of pages. If the status shows "Failed" or a "Submitted URL issues" warning appears, open the report and review the faulty addresses one by one; most of the time the problem stems from a 404, a redirect, or a noindex tag. As long as you keep your sitemap clean and up to date, Google will recrawl your pages regularly.

Frequently Asked Questions (FAQ)

Where should I upload the sitemap.xml file?

Upload the sitemap file to your site's root directory (public_html). You can do the upload with an FTP program or your hosting file manager. After uploading, you should be able to reach the file at https://www.siteniz.com/sitemap.xml.

When submitting the sitemap to Google, should I write the full address?

No. In the Sitemaps tab of Search Console it's enough to enter only the file name; for example sitemap.xml or, for Yoast, sitemap_index.xml. The property address is already added automatically.

How long does it take to be processed after submitting a sitemap?

Usually the status shows as Success within a few minutes to a few hours, and the number of discovered URLs is listed. The actual indexing of the pages, however, can take longer.

Conclusion

A sitemap is a simple but powerful tool that lets Google discover your pages completely and quickly. Whether you create it with a WordPress plugin, an online tool, or by hand, what matters is keeping your sitemap clean, submitting it to Search Console, and declaring it in robots.txt. Once you complete these steps, the appearance of your content in search results speeds up noticeably.

Related Posts

SEO

sitemap.xml erstellen und bei Google einreichen

Was ist eine sitemap.xml und wozu dient sie?

Eine sitemap.xml ist eine Datei im XML-Format, die die Adressen aller wichtigen Seiten Ihrer Website auflistet. Sie ist die übersichtlichste Möglichkeit, Google und anderen Suchmaschinen mitzuteilen: „Hier sind die Seiten meiner Website, bitte crawlen Sie sie alle." Besonders bei neuen Websites, großen Websites mit vielen Seiten oder Websites mit schwacher interner Verlinkung beschleunigt eine Sitemap erheblich, wie schnell Google Ihre Seiten entdeckt.

Eine Sitemap kann nicht nur Seitenadressen enthalten, sondern auch das Datum der letzten Änderung und die relative Wichtigkeit jeder Seite. Diese Informationen helfen Google, sein Crawl-Budget intelligenter einzusetzen.

Drei Wege, eine sitemap.xml zu erstellen

1. Mit einem WordPress-Plugin (am einfachsten)

Wenn Sie WordPress verwenden, müssen Sie keinen Code schreiben, um eine Sitemap zu erstellen. Wenn Sie eines der Plugins Yoast SEO oder Rank Math installieren, erzeugt es automatisch eine aktuelle Sitemap. Mit Yoast wird Ihre Sitemap in der Regel unter ihresite.com/sitemap_index.xml veröffentlicht, mit Rank Math unter ihresite.com/sitemap_index.xml. Das Plugin aktualisiert die Sitemap automatisch, sobald Sie neue Inhalte hinzufügen, sodass Sie sie nur einmal einrichten müssen.

2. Mit Online-Tools (für statische Websites)

Wenn Sie eine handcodierte statische Website ohne WordPress haben, können Sie Ihre Sitemap erstellen, indem Sie Ihre Website-Adresse in kostenlose Online-Tools wie xml-sitemaps.com eingeben. Das Tool crawlt Ihre Website und erzeugt eine herunterladbare sitemap.xml-Datei.

3. Manuell schreiben (für kleine Websites)

Wenn Sie eine kleine Website mit nur wenigen Seiten haben, können Sie die Sitemap auch von Hand schreiben. Die Grundstruktur sieht so aus:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://www.siteniz.com/</loc>
    <lastmod>2026-05-31</lastmod>
  </url>
  <url>
    <loc>https://www.siteniz.com/hakkimizda</loc>
  </url>
</urlset>

Sie fügen jede Seite als <url>-Block hinzu und speichern die Datei unter dem Namen sitemap.xml.

Die sitemap.xml-Datei auf den Server hochladen

Wenn Sie ein Plugin verwenden, wird die Datei automatisch veröffentlicht, sodass Sie diesen Schritt überspringen können. Wenn Sie sie manuell oder mit einem Tool erstellt haben, laden Sie die Datei mit einem FTP-Programm (zum Beispiel FileZilla) oder dem Dateimanager Ihres Hostings in das Stammverzeichnis (public_html) Ihrer Website hoch. Rufen Sie nach dem Hochladen https://www.siteniz.com/sitemap.xml in Ihrem Browser auf, um zu bestätigen, dass sich die Datei öffnet.

Die sitemap.xml-Datei bei Google einreichen

  • Melden Sie sich bei der Google Search Console an und wählen Sie die entsprechende Property aus.
  • Klicken Sie im linken Menü auf den Reiter Sitemaps.
  • Geben Sie im Feld „Neue Sitemap hinzufügen" den Pfad zu Ihrer Datei ein. Geben Sie nicht die vollständige Adresse ein, sondern nur den Dateinamen: zum Beispiel sitemap.xml oder, bei Yoast, sitemap_index.xml.
  • Drücken Sie auf die Schaltfläche Senden.

Innerhalb von wenigen Minuten bis wenigen Stunden wird der Status als „Erfolgreich" angezeigt und die Anzahl der entdeckten URLs aufgelistet. Das bedeutet, dass Google Ihre Sitemap gelesen hat.

Die Sitemap in die robots.txt eintragen

Es ist eine gute Praxis, die Adresse Ihrer Sitemap auch in Ihre robots.txt-Datei einzutragen. So findet jede Suchmaschine, die Ihre Sitemap unterstützt, sie automatisch. Fügen Sie die folgende Zeile am Ende Ihrer robots.txt-Datei hinzu:

Sitemap: https://www.siteniz.com/sitemap.xml

Arten von Sitemaps

Neben einer einzelnen Sitemap gibt es je nach Bedarf verschiedene Arten, und sie zu kennen erleichtert Ihnen die Arbeit bei großen Websites. Die XML-Sitemap ist für Suchmaschinen gedacht und der häufigste Typ. Eine Sitemap-Indexdatei fasst mehrere Sitemaps unter einem einzigen Dach zusammen; Yoast und Rank Math verwenden diese Struktur. Eine Bild-Sitemap hilft dabei, dass Ihre Bilder in der Google Bildersuche leichter gefunden werden. Eine Video-Sitemap überträgt zusätzliche Informationen für Ihre Videoinhalte. Eine News-Sitemap ist nur für Nachrichten-Websites erforderlich, die in Google News aufgenommen wurden. Für die meisten Unternehmenswebsites ist eine standardmäßige XML-Sitemap mit Bildunterstützung mehr als ausreichend.

Sitemap-Verwaltung bei großen Websites

Wenn Ihre Website Tausende von Seiten hat, gibt es technische Grenzen, die Sie beachten müssen. Eine einzelne Sitemap-Datei kann höchstens 50.000 URLs oder 50 MB enthalten. Wenn Sie diese Grenze überschreiten, müssen Sie Ihre Inhalte in logische Teile aufteilen (zum Beispiel separate Sitemaps für Beiträge, Seiten und Produkte) und sie in einer Indexdatei zusammenfassen. Die gute Nachricht ist, dass SEO-Plugins diese Aufteilung automatisch übernehmen.

Ein weiterer wichtiger Punkt bei großen Websites ist, dass die Sitemap nur hochwertige, aktive Seiten (solche, die einen 200-Statuscode zurückgeben) enthalten sollte, die Sie tatsächlich indexieren lassen möchten. Gelöschte, weitergeleitete oder mit noindex versehene Seiten in Ihrer Sitemap zu belassen, mindert die Qualität Ihrer Website in den Augen von Google und führt zu Warnungen wegen „Problemen mit eingereichten URLs". Eine saubere Sitemap sorgt dafür, dass Ihr Crawl-Budget für wertvolle Seiten verwendet wird.

Nachverfolgung nach dem Einreichen Ihrer Sitemap

Mit dem Einreichen Ihrer Sitemap ist die Arbeit nicht erledigt; Sie müssen den Sitemaps-Bericht in der Search Console regelmäßig überprüfen. Beobachten Sie dort die Anzahl der „entdeckten URLs" und stellen Sie sicher, dass sie mit der tatsächlichen Seitenanzahl Ihrer Website übereinstimmt. Wenn der Status „Fehlgeschlagen" anzeigt oder eine Warnung wegen „Problemen mit eingereichten URLs" erscheint, öffnen Sie den Bericht und prüfen Sie die fehlerhaften Adressen einzeln; meistens rührt das Problem von einem 404, einer Weiterleitung oder einem noindex-Tag her. Solange Sie Ihre Sitemap sauber und aktuell halten, wird Google Ihre Seiten regelmäßig erneut crawlen.

Häufig gestellte Fragen (FAQ)

Wohin sollte ich die sitemap.xml-Datei hochladen?

Laden Sie die Sitemap-Datei in das Stammverzeichnis (public_html) Ihrer Website hoch. Sie können das Hochladen mit einem FTP-Programm oder dem Dateimanager Ihres Hostings durchführen. Nach dem Hochladen sollten Sie die Datei unter https://www.siteniz.com/sitemap.xml erreichen können.

Sollte ich beim Einreichen der Sitemap bei Google die vollständige Adresse angeben?

Nein. Im Reiter Sitemaps der Search Console genügt es, nur den Dateinamen einzugeben; zum Beispiel sitemap.xml oder, bei Yoast, sitemap_index.xml. Die Property-Adresse wird bereits automatisch hinzugefügt.

Wie lange dauert es nach dem Einreichen einer Sitemap, bis sie verarbeitet wird?

In der Regel wird der Status innerhalb von wenigen Minuten bis wenigen Stunden als Erfolgreich angezeigt und die Anzahl der entdeckten URLs aufgelistet. Die tatsächliche Indexierung der Seiten kann jedoch länger dauern.

Fazit

Eine Sitemap ist ein einfaches, aber wirkungsvolles Werkzeug, das Google ermöglicht, Ihre Seiten vollständig und schnell zu entdecken. Ob Sie sie mit einem WordPress-Plugin, einem Online-Tool oder von Hand erstellen – wichtig ist, dass Sie Ihre Sitemap sauber halten, sie in der Search Console einreichen und sie in der robots.txt deklarieren. Sobald Sie diese Schritte abgeschlossen haben, beschleunigt sich das Erscheinen Ihrer Inhalte in den Suchergebnissen spürbar.

Verwandte Beiträge

SEO

Comment créer un sitemap.xml et le soumettre à Google

Qu'est-ce qu'un sitemap.xml et à quoi sert-il ?

Un sitemap.xml est un fichier au format XML qui répertorie les adresses de toutes les pages importantes de votre site web. C'est la manière la plus organisée d'indiquer à Google et aux autres moteurs de recherche : « Voici les pages de mon site, veuillez toutes les explorer. » En particulier sur les nouveaux sites, les sites comportant de nombreuses pages ou ceux dont le maillage interne est faible, un sitemap accélère considérablement la vitesse à laquelle Google découvre vos pages.

Un sitemap peut contenir non seulement les adresses des pages, mais aussi la date de dernière modification et l'importance relative de chaque page. Ces informations aident Google à utiliser son budget d'exploration de manière plus intelligente.

Trois façons de créer un sitemap.xml

1. Avec une extension WordPress (la plus simple)

Si vous utilisez WordPress, vous n'avez besoin d'écrire aucun code pour créer un sitemap. Lorsque vous installez l'une des extensions Yoast SEO ou Rank Math, elle génère automatiquement un sitemap à jour. Avec Yoast, votre sitemap est généralement publié à l'adresse votresite.com/sitemap_index.xml, et avec Rank Math à l'adresse votresite.com/sitemap_index.xml. L'extension met à jour le sitemap automatiquement à mesure que vous ajoutez de nouveaux contenus, vous n'avez donc à le configurer qu'une seule fois.

2. Avec des outils en ligne (pour les sites statiques)

Si vous disposez d'un site statique codé à la main qui n'utilise pas WordPress, vous pouvez créer votre sitemap en saisissant l'adresse de votre site dans des outils en ligne gratuits comme xml-sitemaps.com. L'outil explore votre site et produit un fichier sitemap.xml téléchargeable.

3. En l'écrivant manuellement (pour les petits sites)

Si vous avez un petit site de seulement quelques pages, vous pouvez aussi écrire le sitemap à la main. La structure de base se présente ainsi :

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://www.siteniz.com/</loc>
    <lastmod>2026-05-31</lastmod>
  </url>
  <url>
    <loc>https://www.siteniz.com/hakkimizda</loc>
  </url>
</urlset>

Vous ajoutez chaque page sous forme de bloc <url> et vous enregistrez le fichier sous le nom sitemap.xml.

Téléverser le fichier sitemap.xml sur le serveur

Si vous utilisez une extension, le fichier est publié automatiquement, vous pouvez donc ignorer cette étape. Si vous l'avez créé manuellement ou avec un outil, téléversez le fichier dans le répertoire racine (public_html) de votre site à l'aide d'un programme FTP (par exemple FileZilla) ou du gestionnaire de fichiers de votre hébergement. Après le téléversement, rendez-vous à l'adresse https://www.siteniz.com/sitemap.xml dans votre navigateur pour confirmer que le fichier s'ouvre.

Soumettre le fichier sitemap.xml à Google

  • Connectez-vous à la Google Search Console et sélectionnez la propriété concernée.
  • Cliquez sur l'onglet Sitemaps dans le menu de gauche.
  • Dans le champ « Ajouter un sitemap », saisissez le chemin de votre fichier. N'indiquez pas l'adresse complète, seulement le nom du fichier : par exemple sitemap.xml ou, pour Yoast, sitemap_index.xml.
  • Appuyez sur le bouton Envoyer.

En quelques minutes à quelques heures, le statut s'affichera comme « Réussite » et le nombre d'URL découvertes sera indiqué. Cela signifie que Google a lu votre sitemap.

Ajouter le sitemap au fichier robots.txt

C'est une bonne pratique d'ajouter également l'adresse de votre sitemap à votre fichier robots.txt. Ainsi, chaque moteur de recherche prenant en charge votre sitemap le trouve automatiquement. Ajoutez la ligne suivante à la fin de votre fichier robots.txt :

Sitemap: https://www.siteniz.com/sitemap.xml

Types de sitemaps

Au-delà d'un sitemap unique, il existe différents types selon vos besoins, et les connaître facilite votre travail sur les grands sites. Le sitemap XML est destiné aux moteurs de recherche et constitue le type le plus courant. Un fichier d'index de sitemap regroupe plusieurs sitemaps sous une seule ombrelle ; Yoast et Rank Math utilisent cette structure. Un sitemap d'images aide vos images à être plus facilement trouvées dans Google Images. Un sitemap vidéo transporte des informations supplémentaires pour vos contenus vidéo. Un sitemap d'actualités n'est requis que pour les sites d'actualités qui ont été acceptés dans Google Actualités. Pour la plupart des sites d'entreprise, un sitemap XML standard avec prise en charge des images est largement suffisant.

Gérer les sitemaps sur les grands sites

Si votre site comporte des milliers de pages, il existe des limites techniques à garder à l'esprit. Un seul fichier sitemap peut contenir au maximum 50 000 URL ou 50 Mo. Si vous dépassez cette limite, vous devez répartir votre contenu en parties logiques (par exemple des sitemaps distincts pour les articles, les pages et les produits) et les regrouper dans un fichier d'index. La bonne nouvelle, c'est que les extensions SEO gèrent ce découpage automatiquement.

Un autre point important sur les grands sites est que le sitemap ne doit contenir que des pages de qualité, actives (celles qui renvoient un code de statut 200) que vous souhaitez réellement faire indexer. Conserver dans votre sitemap des pages supprimées, redirigées ou en noindex réduit la qualité de votre site aux yeux de Google et entraîne des avertissements « Problèmes liés aux URL envoyées ». Garder votre sitemap propre garantit que votre budget d'exploration est consacré aux pages de valeur.

Le suivi après la soumission de votre sitemap

Le travail n'est pas terminé une fois votre sitemap soumis ; vous devez consulter régulièrement le rapport Sitemaps dans la Search Console. Surveillez-y le nombre d'« URL découvertes » et assurez-vous qu'il est cohérent avec le nombre réel de pages de votre site. Si le statut affiche « Échec » ou si un avertissement « Problèmes liés aux URL envoyées » apparaît, ouvrez le rapport et examinez les adresses défectueuses une par une ; la plupart du temps, le problème provient d'un 404, d'une redirection ou d'une balise noindex. Tant que vous gardez votre sitemap propre et à jour, Google réexplorera régulièrement vos pages.

Foire aux questions (FAQ)

Où dois-je téléverser le fichier sitemap.xml ?

Téléversez le fichier sitemap dans le répertoire racine (public_html) de votre site. Vous pouvez effectuer le téléversement avec un programme FTP ou le gestionnaire de fichiers de votre hébergement. Après le téléversement, vous devriez pouvoir accéder au fichier à l'adresse https://www.siteniz.com/sitemap.xml.

Lors de la soumission du sitemap à Google, dois-je indiquer l'adresse complète ?

Non. Dans l'onglet Sitemaps de la Search Console, il suffit de saisir uniquement le nom du fichier ; par exemple sitemap.xml ou, pour Yoast, sitemap_index.xml. L'adresse de la propriété est déjà ajoutée automatiquement.

Combien de temps faut-il pour qu'un sitemap soit traité après sa soumission ?

Généralement, le statut s'affiche comme Réussite en quelques minutes à quelques heures, et le nombre d'URL découvertes est indiqué. L'indexation effective des pages, en revanche, peut prendre plus de temps.

Conclusion

Un sitemap est un outil simple mais puissant qui permet à Google de découvrir vos pages de manière complète et rapide. Que vous le créiez avec une extension WordPress, un outil en ligne ou à la main, l'important est de garder votre sitemap propre, de le soumettre à la Search Console et de le déclarer dans le robots.txt. Une fois ces étapes accomplies, l'apparition de votre contenu dans les résultats de recherche s'accélère sensiblement.

Articles connexes

SEO

Come creare un sitemap.xml e inviarlo a Google

Che cos'è un sitemap.xml e a cosa serve?

Un sitemap.xml è un file in formato XML che elenca gli indirizzi di tutte le pagine importanti del suo sito web. È il modo più ordinato per dire a Google e agli altri motori di ricerca: «Ecco le pagine del mio sito, vi prego di scansionarle tutte». In particolare sui siti nuovi, sui siti di grandi dimensioni con molte pagine o sui siti con un collegamento interno debole, una sitemap accelera notevolmente la velocità con cui Google scopre le sue pagine.

Una sitemap può contenere non solo gli indirizzi delle pagine, ma anche la data dell'ultima modifica e l'importanza relativa di ciascuna pagina. Queste informazioni aiutano Google a utilizzare il proprio budget di scansione in modo più intelligente.

Tre modi per creare un sitemap.xml

1. Con un plugin WordPress (il più semplice)

Se utilizza WordPress, non ha bisogno di scrivere alcun codice per creare una sitemap. Quando installa uno dei plugin Yoast SEO o Rank Math, questo genera automaticamente una sitemap aggiornata. Con Yoast la sua sitemap viene di solito pubblicata all'indirizzo suosito.com/sitemap_index.xml, e con Rank Math all'indirizzo suosito.com/sitemap_index.xml. Il plugin aggiorna la sitemap automaticamente man mano che aggiunge nuovi contenuti, quindi deve configurarla una sola volta.

2. Con strumenti online (per i siti statici)

Se ha un sito statico scritto a mano che non utilizza WordPress, può creare la sua sitemap inserendo l'indirizzo del suo sito in strumenti online gratuiti come xml-sitemaps.com. Lo strumento scansiona il suo sito e produce un file sitemap.xml scaricabile.

3. Scrivendola manualmente (per i siti piccoli)

Se ha un sito piccolo di poche pagine, può anche scrivere la sitemap a mano. La struttura di base si presenta così:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://www.siteniz.com/</loc>
    <lastmod>2026-05-31</lastmod>
  </url>
  <url>
    <loc>https://www.siteniz.com/hakkimizda</loc>
  </url>
</urlset>

Aggiunge ogni pagina come un blocco <url> e salva il file con il nome sitemap.xml.

Caricare il file sitemap.xml sul server

Se utilizza un plugin, il file viene pubblicato automaticamente, quindi può saltare questo passaggio. Se l'ha creato manualmente o con uno strumento, carichi il file nella directory principale (public_html) del suo sito utilizzando un programma FTP (per esempio FileZilla) oppure il file manager del suo hosting. Dopo il caricamento, vada all'indirizzo https://www.siteniz.com/sitemap.xml nel suo browser per confermare che il file si apra.

Inviare il file sitemap.xml a Google

  • Acceda alla Google Search Console e selezioni la proprietà pertinente.
  • Clicchi sulla scheda Sitemap nel menu di sinistra.
  • Nel campo «Aggiungi una nuova sitemap», inserisca il percorso del suo file. Non inserisca l'indirizzo completo, solo il nome del file: per esempio sitemap.xml oppure, per Yoast, sitemap_index.xml.
  • Prema il pulsante Invia.

Entro pochi minuti o poche ore lo stato verrà visualizzato come «Operazione riuscita» e verrà elencato il numero di URL rilevati. Ciò significa che Google ha letto la sua sitemap.

Aggiungere la sitemap al file robots.txt

È una buona pratica aggiungere l'indirizzo della sua sitemap anche al suo file robots.txt. In questo modo, ogni motore di ricerca che supporta la sua sitemap la trova automaticamente. Aggiunga la seguente riga alla fine del suo file robots.txt:

Sitemap: https://www.siteniz.com/sitemap.xml

Tipi di sitemap

Oltre a una singola sitemap, esistono diversi tipi a seconda delle esigenze, e conoscerli le facilita il lavoro sui siti di grandi dimensioni. La sitemap XML è destinata ai motori di ricerca ed è il tipo più comune. Un file di indice sitemap raccoglie più sitemap sotto un unico ombrello; Yoast e Rank Math utilizzano questa struttura. Una sitemap delle immagini aiuta le sue immagini a essere trovate più facilmente in Google Immagini. Una sitemap video trasporta informazioni aggiuntive per i suoi contenuti video. Una sitemap delle notizie è richiesta solo per i siti di notizie che sono stati accettati in Google News. Per la maggior parte dei siti aziendali, una sitemap XML standard con supporto per le immagini è più che sufficiente.

Gestione delle sitemap sui siti di grandi dimensioni

Se il suo sito ha migliaia di pagine, ci sono limiti tecnici da tenere a mente. Un singolo file sitemap può contenere al massimo 50.000 URL o 50 MB. Se supera questo limite, deve suddividere i suoi contenuti in parti logiche (per esempio sitemap separate per articoli, pagine e prodotti) e raccoglierle in un file di indice. La buona notizia è che i plugin SEO gestiscono questa suddivisione automaticamente.

Un altro punto importante sui siti di grandi dimensioni è che la sitemap dovrebbe contenere solo pagine di qualità, attive (quelle che restituiscono un codice di stato 200) che desidera effettivamente far indicizzare. Mantenere nella sua sitemap pagine eliminate, reindirizzate o in noindex riduce la qualità del suo sito agli occhi di Google e porta ad avvisi di «Problemi con gli URL inviati». Mantenere la sua sitemap pulita garantisce che il suo budget di scansione venga speso per le pagine di valore.

Il monitoraggio dopo l'invio della sua sitemap

Il lavoro non è finito una volta inviata la sua sitemap; deve controllare regolarmente il rapporto Sitemap nella Search Console. Monitori da lì il numero di «URL rilevati» e si assicuri che sia coerente con il numero reale di pagine del suo sito. Se lo stato mostra «Operazione non riuscita» o se appare un avviso «Problemi con gli URL inviati», apra il rapporto ed esamini gli indirizzi difettosi uno per uno; il più delle volte il problema deriva da un 404, un reindirizzamento o un tag noindex. Finché mantiene la sua sitemap pulita e aggiornata, Google riesaminerà regolarmente le sue pagine.

Domande frequenti (FAQ)

Dove devo caricare il file sitemap.xml?

Carichi il file sitemap nella directory principale (public_html) del suo sito. Può effettuare il caricamento con un programma FTP o con il file manager del suo hosting. Dopo il caricamento, dovrebbe essere in grado di raggiungere il file all'indirizzo https://www.siteniz.com/sitemap.xml.

Quando invio la sitemap a Google, devo scrivere l'indirizzo completo?

No. Nella scheda Sitemap della Search Console è sufficiente inserire solo il nome del file; per esempio sitemap.xml oppure, per Yoast, sitemap_index.xml. L'indirizzo della proprietà viene già aggiunto automaticamente.

Quanto tempo occorre perché venga elaborata dopo l'invio di una sitemap?

Di solito lo stato viene visualizzato come Operazione riuscita entro pochi minuti o poche ore, e viene elencato il numero di URL rilevati. L'indicizzazione effettiva delle pagine, invece, può richiedere più tempo.

Conclusione

Una sitemap è uno strumento semplice ma potente che consente a Google di scoprire le sue pagine in modo completo e rapido. Che la crei con un plugin WordPress, uno strumento online o a mano, ciò che conta è mantenere la sua sitemap pulita, inviarla alla Search Console e dichiararla nel robots.txt. Una volta completati questi passaggi, la comparsa dei suoi contenuti nei risultati di ricerca accelera in modo evidente.

Articoli correlati

SEO

Как создать sitemap.xml и отправить его в Google

Что такое sitemap.xml и для чего она нужна?

sitemap.xml — это файл в формате XML, в котором перечислены адреса всех важных страниц Вашего сайта. Это самый упорядоченный способ сообщить Google и другим поисковым системам: «Вот страницы моего сайта, пожалуйста, просканируйте их все». Особенно на новых сайтах, на крупных многостраничных сайтах или на сайтах со слабой внутренней перелинковкой карта сайта значительно ускоряет процесс обнаружения Ваших страниц в Google.

Карта сайта может содержать не только адреса страниц, но и дату последнего изменения и относительную важность каждой страницы. Эта информация помогает Google разумнее использовать свой бюджет сканирования.

Три способа создать sitemap.xml

1. С помощью плагина WordPress (самый простой)

Если Вы используете WordPress, для создания карты сайта Вам не нужно писать ни строчки кода. Когда Вы устанавливаете один из плагинов Yoast SEO или Rank Math, он автоматически генерирует актуальную карту сайта. С Yoast Ваша карта сайта обычно публикуется по адресу вашсайт.com/sitemap_index.xml, а с Rank Math — по адресу вашсайт.com/sitemap_index.xml. Плагин обновляет карту сайта автоматически по мере добавления нового контента, поэтому настроить её нужно лишь один раз.

2. С помощью онлайн-инструментов (для статических сайтов)

Если у Вас статический сайт, написанный вручную, без использования WordPress, Вы можете создать карту сайта, введя адрес Вашего сайта в бесплатные онлайн-инструменты, такие как xml-sitemaps.com. Инструмент просканирует Ваш сайт и сформирует скачиваемый файл sitemap.xml.

3. Написав вручную (для небольших сайтов)

Если у Вас небольшой сайт всего из нескольких страниц, карту сайта можно написать и от руки. Базовая структура выглядит так:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://www.siteniz.com/</loc>
    <lastmod>2026-05-31</lastmod>
  </url>
  <url>
    <loc>https://www.siteniz.com/hakkimizda</loc>
  </url>
</urlset>

Вы добавляете каждую страницу как блок <url> и сохраняете файл под именем sitemap.xml.

Загрузка файла sitemap.xml на сервер

Если Вы используете плагин, файл публикуется автоматически, поэтому этот шаг можно пропустить. Если Вы создали файл вручную или с помощью инструмента, загрузите его в корневую директорию (public_html) Вашего сайта с помощью FTP-программы (например, FileZilla) или файлового менеджера хостинга. После загрузки откройте в браузере адрес https://www.siteniz.com/sitemap.xml, чтобы убедиться, что файл открывается.

Отправка файла sitemap.xml в Google

  • Войдите в Google Search Console и выберите соответствующий ресурс.
  • В левом меню нажмите на вкладку «Файлы Sitemap».
  • В поле «Добавить новый файл Sitemap» введите путь к Вашему файлу. Не указывайте полный адрес, только имя файла: например, sitemap.xml или, для Yoast, sitemap_index.xml.
  • Нажмите кнопку «Отправить».

В течение нескольких минут или нескольких часов статус отобразится как «Успешно», и будет указано количество обнаруженных URL. Это означает, что Google прочитал Вашу карту сайта.

Добавление карты сайта в robots.txt

Хорошей практикой является также указание адреса Вашей карты сайта в файле robots.txt. Так каждая поисковая система, поддерживающая Вашу карту сайта, найдёт её автоматически. Добавьте следующую строку в конец Вашего файла robots.txt:

Sitemap: https://www.siteniz.com/sitemap.xml

Типы карт сайта

Помимо единой карты сайта существуют разные типы в зависимости от Ваших потребностей, и знание их облегчает работу с крупными сайтами. XML-карта сайта предназначена для поисковых систем и является наиболее распространённым типом. Файл индекса карт сайта объединяет несколько карт под одним зонтом; эту структуру используют Yoast и Rank Math. Карта изображений помогает Вашим изображениям легче находиться в Google Картинках. Видеокарта несёт дополнительную информацию о Ваших видеоматериалах. Новостная карта сайта требуется только для новостных сайтов, принятых в Google Новости. Для большинства корпоративных сайтов стандартной XML-карты с поддержкой изображений более чем достаточно.

Управление картами сайта на крупных сайтах

Если на Вашем сайте тысячи страниц, существуют технические ограничения, которые следует учитывать. Один файл карты сайта может содержать не более 50 000 URL или 50 МБ. Если Вы превышаете этот лимит, необходимо разделить Ваш контент на логические части (например, отдельные карты для записей, страниц и товаров) и собрать их в индексный файл. Хорошая новость в том, что SEO-плагины выполняют это разделение автоматически.

Ещё один важный момент на крупных сайтах: карта сайта должна содержать только качественные, действующие страницы (возвращающие код состояния 200), которые Вы действительно хотите видеть в индексе. Сохранение в карте удалённых, перенаправленных или noindex-страниц снижает качество Вашего сайта в глазах Google и приводит к предупреждениям «Проблемы с отправленными URL». Поддержание карты в чистоте гарантирует, что Ваш бюджет сканирования тратится на ценные страницы.

Контроль после отправки Вашей карты сайта

Работа не заканчивается после отправки карты сайта; необходимо регулярно проверять отчёт «Файлы Sitemap» в Search Console. Отслеживайте оттуда количество «обнаруженных URL» и убедитесь, что оно согласуется с фактическим числом страниц Вашего сайта. Если статус отображается как «Не удалось» или появляется предупреждение «Проблемы с отправленными URL», откройте отчёт и просмотрите ошибочные адреса по одному; чаще всего проблема связана с ошибкой 404, перенаправлением или тегом noindex. Пока Вы поддерживаете карту сайта в чистоте и актуальном состоянии, Google будет регулярно повторно сканировать Ваши страницы.

Часто задаваемые вопросы (FAQ)

Куда мне загружать файл sitemap.xml?

Загрузите файл карты сайта в корневую директорию (public_html) Вашего сайта. Загрузку можно выполнить с помощью FTP-программы или файлового менеджера хостинга. После загрузки Вы должны иметь возможность открыть файл по адресу https://www.siteniz.com/sitemap.xml.

Нужно ли при отправке карты сайта в Google указывать полный адрес?

Нет. На вкладке «Файлы Sitemap» в Search Console достаточно ввести только имя файла; например, sitemap.xml или, для Yoast, sitemap_index.xml. Адрес ресурса уже добавляется автоматически.

Сколько времени проходит до обработки после отправки карты сайта?

Обычно статус отображается как «Успешно» в течение нескольких минут или нескольких часов, и указывается количество обнаруженных URL. Фактическое же индексирование страниц может занять больше времени.

Заключение

Карта сайта — это простой, но мощный инструмент, позволяющий Google обнаруживать Ваши страницы полно и быстро. Создаёте ли Вы её с помощью плагина WordPress, онлайн-инструмента или вручную — главное, чтобы Ваша карта оставалась чистой, была отправлена в Search Console и указана в robots.txt. После выполнения этих шагов появление Вашего контента в результатах поиска заметно ускоряется.

Похожие статьи

SEO

sitemap.xml Nasıl Oluşturulur ve Google'a Nasıl Yüklenir?

sitemap.xml Nedir ve Ne İşe Yarar?

sitemap.xml (site haritası), web sitenizdeki tüm önemli sayfaların adreslerini listeleyen, XML formatında bir dosyadır. Google ve diğer arama motorlarına "İşte sitemdeki sayfalar, lütfen hepsini tara" demenin en düzenli yoludur. Özellikle yeni sitelerde, çok sayfalı sitelerde veya iç bağlantısı zayıf sitelerde, site haritası Google'ın sayfalarınızı keşfetme hızını ciddi biçimde artırır.

Site haritası yalnızca sayfa adreslerini değil, her sayfanın en son güncellenme tarihini ve göreceli önemini de içerebilir. Bu bilgiler, Google'ın tarama bütçesini daha akıllıca kullanmasına yardımcı olur.

sitemap.xml Oluşturmanın Üç Yolu

1. WordPress Eklentisiyle (En Kolay)

WordPress kullanıyorsanız site haritası oluşturmak için kod yazmanıza gerek yoktur. Yoast SEO veya Rank Math eklentilerinden birini kurduğunuzda, eklenti otomatik olarak güncel bir site haritası üretir. Yoast'ta site haritanız genellikle siteniz.com/sitemap_index.xml, Rank Math'te ise siteniz.com/sitemap_index.xml adresinde yayınlanır. Eklenti, yeni içerik ekledikçe haritayı otomatik günceller; bu yüzden bir kez kurmanız yeterlidir.

2. Online Araçlarla (Statik Siteler İçin)

WordPress kullanmayan, elle kodlanmış statik bir siteniz varsa xml-sitemaps.com gibi ücretsiz çevrimiçi araçlara site adresinizi girerek site haritanızı oluşturabilirsiniz. Araç sitenizi tarar ve indirilebilir bir sitemap.xml dosyası üretir.

3. Elle Yazarak (Küçük Siteler İçin)

Birkaç sayfalık küçük bir siteniz varsa site haritasını elle de yazabilirsiniz. Temel yapı şöyledir:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://www.siteniz.com/</loc>
    <lastmod>2026-05-31</lastmod>
  </url>
  <url>
    <loc>https://www.siteniz.com/hakkimizda</loc>
  </url>
</urlset>

Her sayfayı bir <url> bloğu olarak ekler, dosyayı sitemap.xml adıyla kaydedersiniz.

sitemap.xml Dosyasını Sunucuya Yükleme

Eklenti kullanıyorsanız dosya otomatik yayınlandığı için bu adımı atlayabilirsiniz. Elle veya araçla oluşturduysanız, dosyayı FTP programı (örneğin FileZilla) ya da hosting dosya yöneticisi ile sitenizin kök dizinine (public_html) yükleyin. Yükleme sonrası tarayıcınızdan https://www.siteniz.com/sitemap.xml adresine giderek dosyanın açıldığını doğrulayın.

sitemap.xml Dosyasını Google'a Gönderme

  • Google Search Console'a giriş yapın ve ilgili mülkü seçin.
  • Sol menüden Site Haritaları (Sitemaps) sekmesine tıklayın.
  • "Yeni site haritası ekle" alanına dosyanızın yolunu yazın. Tam adresi değil, yalnızca dosya adını girin: örneğin sitemap.xml veya Yoast için sitemap_index.xml.
  • Gönder düğmesine basın.

Birkaç dakika ile birkaç saat içinde durum "Başarılı" olarak görünür ve keşfedilen URL sayısı listelenir. Bu, Google'ın site haritanızı okuduğu anlamına gelir.

robots.txt'ye Site Haritası Eklemek

Site haritanızın adresini robots.txt dosyanıza da eklemek iyi bir uygulamadır. Böylece site haritanızı destekleyen tüm arama motorları haritayı otomatik bulur. robots.txt dosyanızın sonuna şu satırı ekleyin:

Sitemap: https://www.siteniz.com/sitemap.xml

Site Haritası Türleri

Tek bir site haritası dışında, ihtiyaca göre farklı harita türleri vardır ve bunları bilmek büyük sitelerde işinizi kolaylaştırır. XML site haritası arama motorları içindir ve en yaygın türdür. Site haritası indeks dosyası, birden çok haritayı tek bir çatı altında toplar; Yoast ve Rank Math bu yapıyı kullanır. Görsel site haritası, görsellerinizin Google Görseller'de daha iyi bulunmasını sağlar. Video site haritası, video içerikleriniz için ek bilgiler taşır. Haber (news) site haritası ise yalnızca Google News'e kabul edilmiş haber siteleri için gereklidir. Çoğu işletme sitesi için standart XML haritası ve görsel desteği fazlasıyla yeterlidir.

Büyük Sitelerde Site Haritası Yönetimi

Sitenizde binlerce sayfa varsa dikkat etmeniz gereken teknik sınırlar vardır. Tek bir site haritası dosyası en fazla 50.000 URL veya 50 MB içerebilir. Bu sınırı aşıyorsanız, içeriğinizi mantıklı parçalara bölüp (örneğin yazılar, sayfalar, ürünler için ayrı haritalar) bunları bir indeks dosyasında toplamanız gerekir. İyi haber şu ki, SEO eklentileri bu bölmeyi otomatik yapar.

Büyük sitelerde bir diğer önemli nokta, site haritasının yalnızca dizine eklenmesini istediğiniz, kaliteli ve canlı (200 durum kodu veren) sayfaları içermesidir. Silinmiş, yönlendirilmiş veya noindex sayfaları haritada tutmak, Google'ın gözünde sitenizin kalitesini düşürür ve "Gönderilen URL sorunları" uyarılarına yol açar. Haritanızı temiz tutmak, tarama bütçenizin değerli sayfalara harcanmasını sağlar.

Site Haritası Gönderdikten Sonra Takip

Site haritanızı gönderdikten sonra iş bitmez; Search Console'daki Site Haritaları raporunu düzenli aralıklarla kontrol etmeniz gerekir. Buradan "keşfedilen URL" sayısını izleyin ve bu sayının sitenizin gerçek sayfa sayısıyla tutarlı olduğundan emin olun. Eğer durum "Başarısız" görünüyorsa veya "Gönderilen URL sorunları" uyarısı çıkıyorsa, raporu açıp hatalı adresleri tek tek inceleyin; çoğu zaman sorun bir 404, yönlendirme ya da noindex etiketinden kaynaklanır. Haritanızı temiz ve güncel tuttuğunuz sürece Google sayfalarınızı düzenli olarak yeniden tarayacaktır.

Sıkça Sorulan Sorular (SSS)

sitemap.xml dosyasını nereye yüklemeliyim?

Site haritası dosyasını sitenizin kök dizinine (public_html) yükleyin. Yüklemeyi FTP programıyla veya hosting dosya yöneticisiyle yapabilirsiniz. Yükleme sonrası dosyaya https://www.siteniz.com/sitemap.xml adresinden ulaşabilmelisiniz.

Google'a site haritası gönderirken tam adresi mi yazmalıyım?

Hayır. Search Console'un Site Haritaları sekmesinde yalnızca dosya adını girmeniz yeterlidir; örneğin sitemap.xml ya da Yoast için sitemap_index.xml. Mülk adresi zaten otomatik eklenir.

Site haritası gönderdikten sonra ne kadar sürede işlenir?

Genellikle birkaç dakika ile birkaç saat içinde durum Başarılı olarak görünür ve keşfedilen URL sayısı listelenir. Sayfaların fiilen dizine eklenmesi ise daha uzun sürebilir.

Sonuç

Site haritası, Google'ın sayfalarınızı eksiksiz ve hızlı keşfetmesini sağlayan basit ama güçlü bir araçtır. İster WordPress eklentisiyle, ister online bir araçla, ister elle oluşturun; önemli olan haritanızı temiz tutmak, Search Console'a göndermek ve robots.txt'te belirtmektir. Bu adımları tamamladığınızda, içeriğinizin arama sonuçlarına yansıması belirgin biçimde hızlanır.

İlgili Yazılar