Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About、Archive、Tag默认的http code是301 #54

Open
CorrectRoadH opened this issue Apr 14, 2024 · 0 comments
Open

About、Archive、Tag默认的http code是301 #54

CorrectRoadH opened this issue Apr 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@CorrectRoadH
Copy link
Contributor

curl -I https://correctroadh.github.io/archive/tag/%E6%80%9D%E8%80%83
HTTP/2 301
server: GitHub.com
content-type: text/html
permissions-policy: interest-cohort=()
location: https://correctroadh.github.io/archive/tag/思考/
access-control-allow-origin: *
strict-transport-security: max-age=31556952
expires: Sun, 14 Apr 2024 09:44:33 GMT
cache-control: max-age=600
x-proxy-cache: MISS
x-github-request-id: 8CE6:15F0FA:16B96BA:17A907C:661BA31A
accept-ranges: bytes
age: 0
date: Sun, 14 Apr 2024 09:34:33 GMT
via: 1.1 varnish
x-served-by: cache-nrt-rjtf7700024-NRT
x-cache: MISS
x-cache-hits: 0
x-timer: S1713087273.324086,VS0,VE230
vary: Accept-Encoding
x-fastly-request-id: 94b438e19fe2823a999bf9be47f9e3ccc051c05c
content-length: 162
curl -I https://correctroadh.github.io/about
HTTP/2 301
server: GitHub.com
content-type: text/html
permissions-policy: interest-cohort=()
location: https://correctroadh.github.io/about/
access-control-allow-origin: *
strict-transport-security: max-age=31556952
expires: Sun, 14 Apr 2024 09:45:35 GMT
cache-control: max-age=600
x-proxy-cache: MISS
x-github-request-id: 8BCA:8571A:128EF8:13D0DC:661BA367
accept-ranges: bytes
age: 0
date: Sun, 14 Apr 2024 09:35:35 GMT
via: 1.1 varnish
x-served-by: cache-nrt-rjtf7700071-NRT
x-cache: MISS
x-cache-hits: 0
x-timer: S1713087336.521143,VS0,VE162
vary: Accept-Encoding
x-fastly-request-id: 5a7d0a09c2ecc20a71746f1e2dd491c124bb67cf
content-length: 162

如果看到是301。我认为这个是不符合预期的。会导致SEO工具报错,影响SEO。

@saicaca saicaca added the bug Something isn't working label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants