HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Adding custom error page

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#77149 (In Topic #15880)
Avatar

Community saint

I want to add a custom 403 page to my site. I see that I can create such a page using cPanel but wanted to know if this is the best way and where that page should be installed in the directory tree. Is it best to isolate it in a non-ocPortal directory in the site root?

Thanks for any help.

Bob
Back to the top
 
Posted
Rating:
#77152
Avatar

Community saint

BobS said

I see that I can create such a page using cPanel but wanted to know if this is the best way
I can't see any reason not to do it via cPanel.

For my 'fancy' error pages I didn't use cPanel, but that was only because I already had a page that I wanted to use.
Is it best to isolate it in a non-ocPortal directory in the site root?
I think the root is where they are supposed to go.

If its a site specific error message then it goes in the site root directory, otherwise it goes in your domain root.


Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#77155
Avatar

Community saint

So I just add whatever HTML in the cPanel "Error page" editor and whatever variables (which look like they need to be uncommented)?

Thanks for your help.

Bob
Back to the top
 
Posted
Rating:
#77157
Avatar

Community saint

Its straight-forward, so that sounds 'bout right (its been a very long time since I last looked at it).

In any case, here is a video tutorial: Dailymotion - Create custom error pages in cPanel | cPanel Custom Error Pages - a Tech & Science video

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#77177
Avatar

Community saint

Thanks for the link, temp. I had found some other explanations but the video made it most clear and I am now the happy owner of a shiny, new custom 403 error file.

Thanks.

Bob
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: