Where should this URL go?
Pick a form of a URL and see the answer a clean setup should give: 301, 200 or 404, and the canonical address.
Interactive · toy
The rules from the checklist.
- http should end on https in one hop (301).
- www should not answer 200 next to the main host. Send it to the main host with a 301.
- /index.php goes to / with a 301.
- Every page has one canonical URL, the one in the sitemap.
- Unknown URLs should return 404, not a redirect to another page.