Vercel page redirects, site can't be indexed
Answered
Rojoss posted this in #help-forum
RojossOP
Hi, I'm trying to index my site but Google is failing to index it due to redirects.
When I curl the site I see a permanent redirect on https://sub.domain.x and a temp redirect on https://www.sub.domain.x
How can I remove these redirects?
Here are the CURL results
When I curl the site I see a permanent redirect on https://sub.domain.x and a temp redirect on https://www.sub.domain.x
How can I remove these redirects?
Here are the CURL results
C:\Windows\System32>curl -I https://wiki.curvefever.pro -k
HTTP/1.1 308 Permanent Redirect
Accept-Ranges: bytes
Access-Control-Allow-Origin: *
Age: 44
Cache-Control: public, max-age=0, must-revalidate
Content-Disposition: inline
Content-Length: 9071
Content-Type: text/html; charset=utf-8
Date: Mon, 02 Sep 2024 09:39:18 GMT
Etag: "bcd93bff72335ffb1aa1028df58bfa92"
Server: Vercel
Strict-Transport-Security: max-age=63072000
Vary: RSC, Next-Router-State-Tree, Next-Router-Prefetch
X-Matched-Path: /
X-Vercel-Cache: HIT
X-Vercel-Id: fra1::52zvj-1725269957905-f4818537f2c3
C:\Windows\System32>curl -I https://www.wiki.curvefever.pro -k
HTTP/1.1 307 Temporary Redirect
Cache-Control: public, max-age=0, must-revalidate
Content-Type: text/plain
Date: Mon, 02 Sep 2024 09:39:50 GMT
Location: https://wiki.curvefever.pro
Server: Vercel
Strict-Transport-Security: max-age=63072000
X-Vercel-Id: fra1::hvlv2-1725269990025-af8fad79fdbf1 Reply
Answer