How should you build and test a new website? Set up a test environment first, then validate functionality and content
A new website can be built in a separate test environment. After checking its content and functionality, verify its appearance across devices, search settings, and analytics data collection. Fix any issues and retest before making it public. For a redesign of an existing website, a copy of the site and database can serve as the testing foundation; a brand-new website can be built on a separate subdomain. The guidance below focuses on test environments and pre-launch checks. Specific checks will still depend on the site’s functionality—a single SEO audit is not enough to establish that a website is ready.
Isolate the test environment first and decide when to make the site public
Semrush’s migration guide recommends first copying the website files and database when redesigning a site, then adjusting the settings so the copy connects to the test database and URL. This prevents changes from affecting the live site. If the live site uses a CDN, configure it in the test environment as well to check compatibility. This approach applies to migrating an existing website; it does not mean a brand-new website must start with a copy.
Before the site is ready to go public, you can add password protection and a temporary noindex directive. These serve different purposes: a password restricts access, while noindex asks search engines not to index pages and should not be treated as a confidentiality measure. Google’s guidance on launching an ecommerce website also notes that keeping a site fully closed to the public can maintain confidentiality while allowing testers to check it, but the trade-off is that it may take longer to appear in search results and the Shopping tab after launch.
Test the publishing workflow alongside the content
For a redesign, simply moving the old content over is not advisable. Semrush recommends first taking stock of underperforming, duplicate, and outdated content, deciding what to improve, merge, or delete, and prioritizing pages that already generate more traffic and conversions.
- Complete page titles, descriptions, and headings, check internal links, and remove placeholder text.
- Have the people responsible for content test publishing content and links, rather than relying solely on developers to check how pages look.
- Check image dimensions, field names, publication dates and time zones, and whether caching interferes with content display.
The last two points draw on the ConocoPhillips redesign case study presented by Nielsen Norman Group in 2021: local content managers tested the site early, identified these issues, and resolved them before launch. These are lessons from a case study, not official acceptance criteria that apply to every website.
Check across devices, not just whether the homepage works
Check functionality and appearance on both desktop and mobile devices, covering the major browsers. In a 2018 article on checking interactive content, Screaming Frog noted that a piece of content appeared to work properly on desktop and mobile but still showed gaps at the edges on an ultrawide screen. Where feasible, include widescreen and high-resolution environments in testing. If content can be embedded, test the embed code separately; a working original page is not a substitute for an embed test.
Retest after fixes, then review launch settings
A technical SEO audit should address serious errors first, then review warnings and notices. Run it again after making fixes. Before launch, also check that canonical tags point to the intended versions and confirm that analytics tools actually receive data for the events you intend to track—not merely that the code has been installed.
Finally, check each page that is ready to go public and intended for indexing to ensure that temporary development restrictions and noindex directives have been removed. Also review compliance matters such as the privacy policy. These checks serve different purposes: search settings cannot replace functional testing, and working data collection does not mean the publishing workflow is free of problems.
Building and testing a new website: perspectives from across the web
How can you check whether search engines can access a test site before launch?
You can temporarily allow Googlebot to access the test site, verify the site in Search Console, and inspect its pages and indexing status. Investigate any missing pages or indexing errors unrelated to noindex; password protection can be restored after the checks. This approach applies when search access needs to be verified before launch. During the temporary access period, also consider any confidentiality requirements for the test content.
How should structured data be validated when a website uses it?
If you plan to add structured data to a website, the author recommends validating the markup before adding it. Use the Rich Results Test to check rich results and types supported by Google; if the markup includes types Google does not support, the Schema.org validator can be particularly useful as an additional check. This recommendation is for websites that use structured data, not a requirement for every new website to add markup.
Can tracking tags be tested before launch?
Yes. If you manage tags with Google Tag Manager, you can use its testing and debugging features to confirm that tags work properly before publishing; version control can also help with troubleshooting. The tool can be used with Google Analytics, but whether to adopt it depends on the site's tracking needs. Using a tag management tool does not remove the need to validate data collection.
If a redesign involves changing hosts, what DNS preparations can be made?
If the migration involves changing hosts, you can temporarily lower the DNS TTL beforehand so other computers recheck records sooner, helping the new IP address propagate. During migration, update DNS to point to the new server, then restore the TTL to its normal value afterward. The source cautions that keeping the TTL low over the long term creates unnecessary work for internet systems.
Can visitors to the live website try a new workflow first?
If you want to test a new website workflow before deploying it permanently, Semrush suggests using a 302 redirect to temporarily send traffic from a live page to a test page to collect feedback or data. Once ready to deploy, use a permanent redirect or replace the page content. This approach is for sites with existing live pages that need to test a new workflow; redirecting visitors is not a prerequisite for every new website launch.
References
- 如何在 Google 平台上推出電子商務Website | Google 搜尋中心 | Documentation | Google for Developersdevelopers.google.com — Source used in the article above.
- Google tag managerwww.warriorforum.com — Discusses: Can tracking tags be tested before launch?
- The Complete Website Migration Checklist [SEO-Friendly]www.semrush.com · 2019-03-25T13:30:00Z — Discusses: How can you check whether search engines can access a test site before launch?; If a redesign involves changing hosts, what DNS preparations can be made?
- ConocoPhillips’s Improved Intranet Content-Management Processwww.nngroup.com · 2021-09-12T16:00:00+0000 — Source used in the article above.
- Interactive Content Launch Checklist – 12 Things to Do Before You Send It to the Clientwww.screamingfrog.co.uk · 2018-05-14T14:01:58+00:00 — Source used in the article above.
- Website Migration SEO Checklist (88 Steps + Free Template)backlinko.com · 2024-04-01T17:23:50-05:00 — Source used in the article above.
- Generate JSON-LD Schema at Scale With JavaScript Snippetswww.screamingfrog.co.uk · 2025-02-13T10:58:16+00:00 — Discusses: How should structured data be validated when a website uses it?
- 12 Best Website Optimization Tools in 2025 (Free + Paid)www.semrush.com · 2023-09-13T13:31:00Z — Discusses: Can tracking tags be tested before launch?
- What’s a 302 Redirect? And When Should You (Actually) Use It?www.semrush.com · 2023-07-17T09:16:00Z — Discusses: Can visitors to the live website try a new workflow first?
- What Is a Subdomain? A Beginner’s Guidewww.semrush.com · 2022-12-21T11:16:00Z — Source used in the article above.


Join the discussion 0 comments
What are you working through? Share a question or experience and let’s find the next step.
No comments yet. Start the conversation.