#4631 closed defect (bug) (fixed)
Invalid profile URLs should return a 404
Reported by: | jonoaldersonwp | Owned by: | |
---|---|---|---|
Milestone: | Priority: | high | |
Component: | Profiles | Keywords: | seo |
Cc: |
Description (last modified by )
It appears that the current process of deleting (presumably spammy) profiles, such as https://profiles.wordpress.org/pornstarshop/ results in a 302 redirect to https://wordpress.org. This should be altered to use a 301 redirect for both future and existing redirects.
Change History (9)
#4
follow-up:
↓ 5
@
5 years ago
Ah, looks like this happens on any invalid request. E.g.,
https://profiles.wordpress.org/asdasdasdasdasdasddfghgreaergsgreagraregre.
Could we make these serve a clean 404 page, with a 404 HTTP status, and no redirect(s) please?
#5
in reply to:
↑ 4
@
5 years ago
- Summary changed from When profiles are deleted/removed, they should 301, not 302 to Invalid profile URLs should return a 404
Replying to jonoaldersonwp:
Could we make these serve a clean 404 page, with a 404 HTTP status, and no redirect(s) please?
Due to the mess that is Profiles, that's not currently possible without opening a _very_ large can of worms (trust me on that).
#6
follow-up:
↓ 7
@
5 years ago
Damn. I'm inclined to suggest that we still aim to resolve this; the current behaviour is pretty harmful.
#7
in reply to:
↑ 6
@
5 years ago
Replying to jonoaldersonwp:
Damn. I'm inclined to suggest that we still aim to resolve this; the current behaviour is pretty harmful.
While I agree, I'm not re-architecting Profiles at this time.
It's a pretty blunt redirect at a very low level to prevent a lot of WordPress & BuddyPress functionality from operating - even replacing it with an equally blunt 404 didn't work out too well.
User profiles are not deleted or removed. The example you give doesn't exist and never has, as far as I can tell.
A recent blocked account would be https://profiles.wordpress.org/admindevelopers/ for example. As you can see, no redirect or other indications that it is blocked.