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

Make existing redirects from www.mozilla.com to www.mozilla.org 301s #60

Open
pmac opened this issue Jul 2, 2020 · 5 comments
Open

Comments

@pmac
Copy link
Contributor

pmac commented Jul 2, 2020

@rraue has brought to our attention that Google (and possibly others) are still indexing URLs at www.mozilla.com even though they are all redirects. The theory is that the redirects that are indexed are 302 (temporary) instead of 301 (permanent) responses. We'd like to convert all 302 redirects from www.mozilla.com (and possibly also mozilla.com apex domain) to 301s.

@rraue please add any supporting info you think is relevant.

@rraue
Copy link

rraue commented Jul 3, 2020

Did you already change anything? I crawled all urls Google still has in its index and pinged all of them for status and now all urls are 301, that was not the case yesterday.

Here is the list of urls I see still being indexed: https://docs.google.com/spreadsheets/d/1CBz4czunUE1P-PTvCbcZ5n-YF4aqNCPVqacmv-gCgYA/edit?usp=sharing

@pmac
Copy link
Contributor Author

pmac commented Jul 7, 2020

We can see if @sidler-mozilla can get us the current config for the redirector to see if maybe the 302s are only in certain cases with certain request headers. I haven't tested all of the URLs in your doc, but I can if you'd like another test.

@sidler-mozilla
Copy link
Contributor

If this is still an issue, please help me identify the source of the issue with a PR please. prod-refractr.yml has all of the redirects. If status is not specified, it defaults to 301. /cc @pmac @rraue

@sidler-mozilla
Copy link
Contributor

https://github.com/mozilla-it/refractr/blob/main/prod-refractr.yml#L326-L366 could this be the source of those 302s?

@caugner
Copy link
Contributor

caugner commented Jun 25, 2024

@pmac Meanwhile, https://www.mozilla.com/ seems to redirect with a HTTP 301 to https://www.mozilla.org/firefox, so I guess this can be closed?

% curl -I https://www.mozilla.com/
HTTP/2 301 
date: Tue, 25 Jun 2024 09:00:29 GMT
content-type: text/html
content-length: 162
location: https://www.mozilla.org/firefox
strict-transport-security: max-age=60; includeSubDomains
x-frame-options: SAMEORIGIN
content-security-policy: frame-ancestors 'none'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants