Hi @Er Bo Guan ,
Which version of your SharePoint?
You could first check if the Anonymous is enabled in IIS Authentication.Then check if you enable Publishing feature at site collection level and site level.
And please check the features of your site collections via the following command:
get-spfeature -site http://sitecollectionURL
If ViewFormPagesLockDown is listed, it's enabled.
Please use the following command to disable it:
$lockdown = get-spfeature viewformpageslockdown
disable-spfeature $lockdown -url http://sitecollectionURL
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.