[Cookies Issue] If a world link has www. in the URL, the "Invite Me" button does not appear!
complete
owlboy
REVISED:
The actual issue appears to be that cookies not working across www.vrchat.com and vrchat.com. If I log in to each domain the button appears on each domain.
PREVIOUSLY:
If a world link has www. in the URL, the "Invite Me" button does not appear!
Make sure you are logged into VRChat.com before testing these:
Thanks to @mimi for bringing this to my attention.
Log In
Aev
complete
Fixed a long time ago via redirects.
g
gg67
tracked
Fusl
Backlinking to a general advice "feature request": https://vrchat.canny.io/website-bug-reports/p/security-consolidate-domain
Implementing the redirects would solve this issue here as well.
MrDummy_NL
Confirmed the problem. The link with www. before has indeed no "Invite me" button. You can remove it manually by yourself to link without www. before. Then the button will showed here.
The link my friends posted are all with www, it's copied from the website. It will not showed up.
I noticed now it's possible cookie issue, because cookie see vrchat.com and www.vrchat.com separated, not both.
Which means:
- login vrchat.com, then you need link without www before.
- login www.vrchat.com, then you need link with www. before.
It's just weird, because it's just same server and same login.
Small solution: add code to vrchat.com homepage and check if it has www. before, if not, then it will jump automatic to link with www. before. This way it solves the problem at short term and less confusing for most users.
OR you need pay attention and make sure you log in with www., so you need login at www.vrchat.com and not vrchat.com.
Let's try make it general with www. otherwise some friends will post it without www.
Only with check script at homepage (can added to server side very easy) to make sure it has www. before (its like to make sure it has https:// before - same way) will make things easier.
But anyway, the cookie script should see vrchat.com and www.vrchat.com as equal site and so both with same login.