XF 2.3 403 Error for Links of Hidden Profiles

SelamT

Active member
Hi,

If a user group is blocked from viewing member profiles, or if a user has blocked their profile from being seen by other users, they are redirected to a 403 error page.
Unfortunately, this results in thousands of erroneous links in the form of "broken links" in the analytics.
Is there a solution to this issue?

Thanks,
 
Instead of returning an error page, it should not be difficult to return an information page and make it readable.
at least the link will work and not error.
For example:
"this user has hidden their profile etc"
What do you think?
 
Instead of returning an error page, it should not be difficult to return an information page and make it readable.
at least the link will work and not error.
For example:
"this user has hidden their profile etc"
What do you think?
so you just want to replace all those 403 errors in your report with 301? )
 
No, I want these pages to be accessible.
if permissions are granted, xenforo should list the information at the bottom, etc. but if permissions are not granted, instead of an error page, just an informational message that the page is hidden by the user or site admin.
at least the url will not give an error.
 
I apologize, I'm not very familiar with the code.
Only when I have my site analyzed, thousands of broken links are lowering my score.
I'm looking for a remedy for this :(
 
For example, when I visit XenForo as a visitor, a user profile opens.
But when I open my own site as a visitor and click on a profile, I get a "login or registration" page.
What am I missing?
 
Yes, but since this page is unreachable by google etc, it shows up as a broken url error at work.
But that's how it works, not only on XenForo, a page inaccessible to a robot returns an error code 403. That's it, there is nothing else to say or do. It doesn't break your site, it doesn't impact your SEO, it shouldn't even worry you. Honestly, before worrying about all the data you find in the GSC, take an interest in what they mean, you will sleep better that way.
 
Back
Top Bottom