Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
404 error page does not seem to work !
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- 404 error page does not seem to work !
404 error page does not seem to work !
19-03-2009 3:25 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi I have folowed the instructions for uploading a .htaccess txt file to my site but when I deliberately generate a 404 error I do not go to my 404 page. My page is working and the following is
ErrorDocument 500 http://www.tts-systems.co.uk/Error/misdirection.htm
ErrorDocument 404 http://www.tts-systems.co.uk/Error/misdirection.htm
ErrorDocument 401 http://www.tts-systems.co.uk/Error/misdirection.htm
ErrorDocument 403 http://www.tts-systems.co.uk/Error/misdirection.htm
Can anyone help ?
Cheers
Adrian
ErrorDocument 500 http://www.tts-systems.co.uk/Error/misdirection.htm
ErrorDocument 404 http://www.tts-systems.co.uk/Error/misdirection.htm
ErrorDocument 401 http://www.tts-systems.co.uk/Error/misdirection.htm
ErrorDocument 403 http://www.tts-systems.co.uk/Error/misdirection.htm
Can anyone help ?
Cheers
Adrian
4 REPLIES 4
Re: 404 error page does not seem to work !
19-03-2009 9:23 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Maybe a silly question, but is the actual file path exactly the same as in the .htaccess? Check case, as subfolder names are case sensitive.
Re: 404 error page does not seem to work !
19-03-2009 9:56 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi Denzil
I have considered that and even changed the web path to the folling and tested this by using the links
ErrorDocument 500 http://www.tts-systems.co.uk/site_error/misdirection.htm
ErrorDocument 404 http://www.tts-systems.co.uk/site_error/misdirection.htm
ErrorDocument 401 http://www.tts-systems.co.uk/site_error/misdirection.htm
ErrorDocument 403 http://www.tts-systems.co.uk/site_error/misdirection.htm
they work and point to the file. Not pretty but work in progress !
I have considered that and even changed the web path to the folling and tested this by using the links
ErrorDocument 500 http://www.tts-systems.co.uk/site_error/misdirection.htm
ErrorDocument 404 http://www.tts-systems.co.uk/site_error/misdirection.htm
ErrorDocument 401 http://www.tts-systems.co.uk/site_error/misdirection.htm
ErrorDocument 403 http://www.tts-systems.co.uk/site_error/misdirection.htm
they work and point to the file. Not pretty but work in progress !
Re: 404 error page does not seem to work !
20-03-2009 8:35 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I'm not sure if htaccess will take URL's for this. I think it should either be
ErrorDocument 500 /site_error/misdirection.htm
or
ErrorDocument 500 /full/document/root/site_error/misdirection.htm
Can't remember off the top of my head wich one.
Phil
ErrorDocument 500 /site_error/misdirection.htm
or
ErrorDocument 500 /full/document/root/site_error/misdirection.htm
Can't remember off the top of my head wich one.
Phil
Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.
Re: 404 error page does not seem to work !
20-03-2009 8:38 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Just had a look at my htaccess (not on any of the Plusnet servers) and I have:
ErrorDocument 404 /ErrorPages/404.php
Phil
ErrorDocument 404 /ErrorPages/404.php
Phil
Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- 404 error page does not seem to work !