seo-crawler-normalisation-serpico
Server normalisation test website for the Serpico Tech SEO Tool crawler.
Instructions
- Run docker
- Navigate to local address (both www. and non-www. must be available - Hosts example below
- Confirm page is showing
- Run crawler over page
Configuration
Hosts (local testing only)
To allow both www. and non-www. local testing, we need to accommodate this behaviour through using the hosts.
Example below:
127.0.0.1 testing.croud
127.0.0.1 www.testing.croud
Testing
We need to test the behaviour from both sides, meaning:
- Subdomain
-
- Test whether www. is forced (so non-www. redirects to www. version)
-
- Test whether removal of www. is forced (so www. redirects to non-www. version)
- Trailing slash
-
- Test whether trailing slash is removed (so / redirects to non-/ version, exception of homepage)
-
- Test whether trailing slash is added (so non-/ version redirects to version with /, exception of homepage)
- Protocol
-
- Test whether HTTP redirects to HTTPS
-
- Test whether HTTPS redirects to HTTP
- Uppercase
-
- Test whether uppercased characters redirect to lowercased
Steps
After this first round of testing, and when signed off, we can test the behaviour the other way round. Ensuring that both scenarios are covered.