-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Add redirect to about.readthedocs.com
for logged out users
#10570
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
Conversation
This is the last step in our migration to a new marketing page, showing it to logged out users on readthedocs.org. Currently logged in users will hit a homepage at the root, but this change makes that page redirect to the dashboard for community users.
|
||
# Redirect to ``about.`` in production | ||
if not settings.DEBUG: | ||
query_string = "?ref=dotorg-homepage" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing we don't use this view on the commercial application, as we are already adding this to the requests on commercial. But if we do, this query string could be conditional based on the application instance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea, we're overriding it. Could probably stop now though, if we wanted 🤔
@stsewd I expanded the logic removal here, so could use another review 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can remove the override from .com once we are settled on this redirect on .org 👍
Not going to merge this until we're 100% sure we're ready with the marketing website. Might hold off a week or two, but good to have it ready 👍 |
Our latest deploy is now out, so going to merge this so it's ready for next week 🎉 |
This is the last step in our migration to a new marketing page,
showing it to logged out users on readthedocs.org.
Currently logged in users will hit a homepage at the root,
but this change makes that page redirect to the dashboard for community users.
Fixes #10571