• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: how do I get custom error documents to work? [SOLVED]
PostPosted: Mon Aug 16, 2010 4:20 pm 
Offline
Forum Members
Forum Members

Joined: Fri Apr 04, 2008 10:08 am
Posts: 241
Location: UK
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??


Last edited by davids355 on Mon Sep 06, 2010 9:21 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: how do I get custom error documents to work?
PostPosted: Mon Sep 06, 2010 8:24 am 
Offline
Forum Members
Forum Members

Joined: Fri Apr 04, 2008 10:08 am
Posts: 241
Location: UK
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/....??


Top
 Profile  
 
 Post subject: Re: how do I get custom error documents to work?
PostPosted: Mon Sep 06, 2010 8:50 am 
Offline
Support Guru
Support Guru
User avatar

Joined: Mon Jul 04, 2005 5:12 pm
Posts: 4827
Location: Ferrara, Italy
davids355 wrote:
Its really annoying not being able to have custom error docs/....??


Create a new page
In Content type select: Error page
Fill the Title and Content fields
Submit
Try

Alby

_________________
CMSMS Support Team
Italian Admin and Moderator

Plugins: Geolocate hostip, Multiple random image, Image rotator (beta), Content Pagination
Modules: ForumMadeSimple (Howto), TranslationManager
Multilingual: MLE is not CMSMS


Last edited by alby on Mon Sep 06, 2010 8:52 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: how do I get custom error documents to work?
PostPosted: Mon Sep 06, 2010 9:21 am 
Offline
Forum Members
Forum Members

Joined: Fri Apr 04, 2008 10:08 am
Posts: 241
Location: UK
Its always SO easy!!! ... when you know how.

Thanks alot Alby:)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner