function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Adhvika BalaAdhvika Bala 

"Page not found" error in visual force page

When submit a web-to case it throws "Page not found" error.
We have a Salesforce site through which cases are created which is using a VF page.
And when saving a web to case it throws "Page not found" error.
Please advise.
VinayVinay (Salesforce Developers) 
Hi Adhvika,

The page users see when trying to access a page that cannot be found. You can use the action attribute on an <apex:page> component to redirect the Page Not Found error page. Using this kind of redirect on any other error pages will redirect users to the Maintenance page.

https://help.salesforce.com/articleView?id=sf.sites_error_pages.htm&type=5

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Suraj Tripathi 47Suraj Tripathi 47
Hi Adhvika,
Greetings!

Page not found is a common error occurred in page assignment.
Please look into this link, it might help you.
refer- https://help.salesforce.com/articleView?id=sf.sites_error_pages.htm&type=5

Thank you!

Regards,
Suraj Tripathi