Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi.
When I set up public access restrictions I choose a login page and (in my case) a 'smart' error page.
My problem arrises when the error page is used... because the correct HTTP status is not set
403 Access Denied) My error page uses these codes to show sensible messages.
This should be the correct HTTP status code for the benefit of users/user-agents also, I don't want google indexing my error page !! duh.
Is there a way to set the correct HTTP status code for access denied scenarios?
Cheers.
Murray.
Did you find a way to do this?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
403 Access denied
Hi.
When I set up public access restrictions I choose a login page and (in my case) a 'smart' error page.
My problem arrises when the error page is used... because the correct HTTP status is not set
403 Access Denied) My error page uses these codes to show sensible messages.
This should be the correct HTTP status code for the benefit of users/user-agents also, I don't want google indexing my error page !! duh.
Is there a way to set the correct HTTP status code for access denied scenarios?
Cheers.
Murray.
Did you find a way to do this?
is working on a reply...