I’ve checked my first website made with Divhunt with my SEO tools. They suggest that it’s better to use a 301 (permanent) redirect for www-redirects instead of a 302 (temporary).
I would also not offer the user the option ‘both’ because that could lead to double content, which might downgrade the site in search engines.
interesting blog-post with this topic: 301 vs. 302 Redirects: Which Should You Use?
the results of my seo-check:
→ * You use a 302 redirect. This means, that the actually content is temporary not reachable and will come back soon. To use a 302 redirection for generally moved pages is a bad idea. Search engine bot might not follow it or handle it as temporary. For SEO this is also a bad idea, because no link juice will be transferred to the linked page.
302 Found
Status: | 302 Found |
---|---|
Code: | 302 |
Alt-Svc: | h3=“:443”; ma=2592000 |
Content-Type: | text/html; charset=UTF-8 |
Date: | Sun, 14 Jan 2024 18:48:27 GMT |
Location: | https://mein-hochzeitsalbum.ch/ |
Server: | nginx |
X-City: | Ashburn |
X-Pool: | 1 |
X-Region: | US |
200 OK
Status: | 200 OK |
---|---|
Code: | 200 |
Alt-Svc: | h3=“:443”; ma=2592000 |
Content-Type: | text/html; charset=UTF-8 |
Date: | Sun, 14 Jan 2024 18:48:27 GMT |
Server: | nginx |
X-City: | Ashburn |
X-Pool: | 1 |
X-Region: | US |