DeepCrawl allows users to crawl XML Sitemap URLs and any URLs found in a Sitemap file.
To add XML Sitemaps to an existing crawl project follow these instructions.
Update an existing crawl project
Navigate to an existing crawl project in DeepCrawl and then click on the cog icon in the top right, then click on the Edit button.
This will take you to the first step in the project’s settings. Navigate to step 2 either by clicking save and continue or clicking the 2 icons.
In the Sources settings select the Sitemaps option. By default, DeepCrawl discovers and crawls XML Sitemaps using the /robots.txt file.
How to add XML Sitemaps to DeepCrawl
When adding Sitemaps to a crawl project, there are a number of options which helps DeepCrawl discover Sitemap URLs:
- XML Sitemaps referenced in the /robots.txt file (this is done by default).
- Manually copy and paste XML Sitemap URLs into DeepCrawl.
- Manually upload .xml or .txt files into DeepCrawl.
Discover XML Sitemaps found in /robots.txt file
By default, DeepCrawl will discover any XML Sitemap URL in a /robots.txt file when selecting the Sitemaps data source.
This means that any Sitemap URLs found in the /robots.txt will be automatically pulled into the list of Sitemaps DeepCrawl will crawl.
For example the following /robots.txt file:
DeepCrawl would discover the Sitemap Index and crawl all the XML Sitemaps contains within that file. Any Sitemaps not included within that Sitemap Index would not be discovered and crawled by DeepCrawl in this example.
If you do not want DeepCrawl to discover XML Sitemaps in the robots.txt file in future crawls then unselect it in the Sources settings.
Remember to deselect the Sitemaps found in the /robots.txt, as they are not automatically deselected when deselecting the robots.txt option.
Add XML Sitemap URLs Manually
If XML Sitemaps cannot be found in the /robots.txt, then they can be added into DeepCrawl manually.
To add Sitemaps manually to DeepCrawl:
When the new Sitemaps are added manually, they will be added to the list of XML Sitemaps which DeepCrawl will discover and crawl.
Once a list has been generated, DeepCrawl also gives you the option to select or deselect the files from being crawled in the project.
This is useful if you don’t want to crawl every single Sitemap uploaded.
- Create a list of all your XML Sitemaps.
- Copy all the XML Sitemap URLs and paste them into the into the input box.
- Click Add Sitemaps.
DeepCrawl gives the option to manually upload .xml and .txt files, which can be used as XML Sitemaps.
This option is very useful if web development and technical SEO teams who wish to test Sitemaps before they go live.
To upload a .xml or .txt file:
Once a file is uploaded DeepCrawl will display the Sitemap file names and file extensions in a list.
DeepCrawl allows you to edit this list of uploaded files, from the Source settings you can:
- Create a list of URLs you want to include in the .xml or .txt Sitemap.
- Create an XML Sitemap file or .txt file and include the URLs you want crawled by search engines (follow the Sitemap best practices guidelines).
- Upload the Sitemap file to DeepCrawl (no more than 100MB per file upload and DeepCrawl accepts gzipped compressed files).
- Download the file to make sure the contents are correct.
- Delete the file in case the wrong file was uploaded.
- Deselect the file from being crawled in the project.
Run or schedule an existing crawl project
Once the XML Sitemap data has been added to the crawl project click save and continue.
The next time the crawl project is run DeepCrawl will use the XML Sitemap URL data, and SItemap reports will be populated.
Sitemaps can be added to existing projects and can be uploaded in multiple different ways. When adding XML Sitemaps to a project:
- Navigate to the advanced settings in a project.
- Select Sitemaps in the Sources settings in a project, as well as other data sources.
- Choose which option to add an XML Sitemap (manual, file upload or through robots.txt).
- Save the Sources settings and configure the crawl limits and advance settings.