A common use-case is that you want to redirect your non-www to the www variant, or in reverse. The non-www is also sometimes called naked record or "apex". This is a perfect use-case for redirect.pizza, and one of our most popular setups. Learn more about why and when to redirect apex to www.
Let's go on the pizza train:
- Create a redirect.pizza account.
- Add your source. This should be the domain without www. For instance, enter example.com as your source.
- Set the destination to the variant with www. Example: www.example.com
- Press "Create redirect". This creates a 301 (permanent) redirect by default, which tells search engines to transfer all ranking signals to the www version.
- The required DNS change pops up. Go to your domain registrar to make this DNS change for the A record. This record may already exist as '@'. Press 'edit' to change it to the required DNS setting for redirect.pizza. For more info, see What are these DNS changes?
- The DNS change is made! It may take up to 24 hours before the DNS is fully propagated. redirect.pizza will automatically provision an SSL certificate for your domain, so the redirect works over both HTTP and HTTPS.
Make sure to enable path forwarding in your redirect settings. Without it, example.com/contact would redirect to www.example.com instead of www.example.com/contact.
For a deeper look at why this redirect matters for SEO and how DNS-level redirects compare to server-side solutions, read our guide on redirecting non-www to www. Redirect not working? Check our troubleshooting tips.
