How to hide standard pages like /contact /about us

Hi, how can we hide standard pages like:
/contact
/about us

I couldn’t find any setting within website settings or the pages itself.
In our case, they are not needed since we have different pages created with builder

There is no option to hide contact and about us from the UI.

and in the backend?

possible, but you have to find the code and remove that path.

Would it be easier to remove it from the sitemap?

Try it.

I think, you have to remove the about or contact page file (about.html or contact.html) and then check it.

I tested it, and when removed then showed the 404 error.

thank you very much, we’ll give it a try

@NCP

when we remove about.html it is going to 404
but, when we do the same for contact.html it is showing the below error

When removing about.html or contact.html, you also need to find about.html in the entire Frappe app because the path is defined somewhere.

Hi:

You can use redirect, on Website Settings, instead deleting files.

Hope this helps

1 Like

in my opinion this is the better solution instead of deleting the pages. Thank you very much for pointing that out.