Comparing A Test Website To A Live Website

Adam Gordon
Adam Gordon

On 11th October 2016 • 4 min read

You can crawl your staging or test environment and compare it to your live website to see how they are different.

This can help you test a version of your website or part of your website before you release it to the live environment and check new site wide additions such as canonical tags, social tags or page pagination implementation etc.

Please note:
Differences in data between the test and live sites are likely to have an impact on the results of any comparison crawls. Your test site may not contain all elements from your live site, or may have different meta data which affects how pages are reported, such as a site-wide ‘noindex’ tag.

Here’s how to get started:


Test Website Settings

1. Set up a new project and run a crawl of your live site (don’t enter your test site details yet).
2. Once the crawl completes return to the Advanced Settings in step 4 of the project setup, and enter your test site details. The ‘Use the test site with this crawl’ setting will be pre-checked. If your test site is protected by a basic auth username and password, you can add these to Test Site Basic Authentication settings.
3. Run the crawl again to start crawling your test site, which will be compared to the previous crawl of the live site.


Robots Overwrite

Test site environments sometimes have a robots restriction in place to stop undesired traffic or crawling activity.

The most common type of restriction is to block the entire test site using the Robots Disallow directive in the robots.txt file, which stops crawlers from crawling the site.

DeepCrawl has a Robots Overwrite feature that allows you to input a different Robots rules to override these restrictions, and ensure that the URLs are not reported as Disallowed.

To set this up, head to Robots Overwrite in Advanced Settings and enter the robots.txt content you would like to use for the crawl. This could be a copy of the robots.txt from your live site, or an ‘Allow all’. e.g.
User-agent: *
Allow: /


Test site blocked from public access?

Your staging environment may be blocked from public access which can prevent it from being crawled by DeepCrawl. You may be able to allow access via a static IP address.

In the Spider Settings, select the ‘Static IP’ option and provide details of the IP address given to your IT team, to see if they can unblock this address and enable your test crawl.

In order to allow the Static IP through your firewall, you’ll only need access via port 80 for http, and 443 for https in order to crawl.


Test sites without public DNS records

Sometimes test site environment domains are only configured with DNS records within the company network and they will not work externally.

You can add custom DNS settings into the Custom DNS Entries field in the Advanced Settings.

For further reading on using DeepCrawl to compare a test website to a live website, check out Glenn Gabe’s Search Engine Land article: 5 Ways To Crawl A Staging Server Before Important Site Changes Go Live (To Save SEO)


Adam Gordon
Adam Gordon

Former Product Manager at Deepcrawl (2015-2019).

Choose a better way to grow

With tools that will help you realize your website’s true potential, and support to help you get there, growing your enterprise business online has never been so simple.

Book a Demo