I have custom error documents set up in htaccess, using the following code:
ErrorDocument 404 /notfound.htm
ErrorDocument 403 /forbidden.htm
ErrorDocument 410 /gone.htm
I have these files set up as static files - not build in CMS - just because its the only way I new how to do it:)
If I go to say www.shareworld.co.uk/hthgh.html (which doesnt exist) it gets redirected fine. However, if I go to:
www.shareworld.co.uk/index.php/gtgtg/
The redirect does not work, it just brings up a standard not found error:
"Not Found
The requested URL was not found on this server."
I have looked in the faqs but cant really find a solution.
To give some more info, I am running the latest version of cmsms, I have pretty urls configured (internal), and I have extensionless urls (shareworld.co.uk/index.php/sub-page/article01/ etc).
Can anyone help??
how do I get custom error documents to work? [SOLVED]
how do I get custom error documents to work? [SOLVED]
Last edited by davids355 on Mon Sep 06, 2010 9:21 am, edited 1 time in total.
Re: how do I get custom error documents to work?
Does anyone have any ideas on this one? Even point me in the right direction? I don't mind modifying the code a bit if I new where to start...
Its really annoying not being able to have custom error docs/....??
Its really annoying not being able to have custom error docs/....??
Re: how do I get custom error documents to work?
Create a new pagedavids355 wrote: Its really annoying not being able to have custom error docs/....??
In Content type select: Error page
Fill the Title and Content fields
Submit
Try
Alby
Last edited by alby on Mon Sep 06, 2010 8:52 am, edited 1 time in total.
Re: how do I get custom error documents to work?
Its always SO easy!!! ... when you know how.
Thanks alot Alby:)
Thanks alot Alby:)