Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-07-13 08:13:26

AmericanProMovingStorage
New Member
Registered: 2009-07-13
Posts: 1

American Pro Moving and Storage, 404 Error handling - htaccess

I recently moved my site over to textpattern, and now I am having trouble with 404 Error handling…

here is my htaccess file:

ErrorDocument 404 /error.html

#DirectoryIndex index.php index.html

#Options +FollowSymLinks

#RewriteBase /relative/web/path/

<IfModule mod_rewrite.c>
RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L] RewriteRule ^(.*) index.php
</IfModule>

Right now, it does not throw my custom error page when a 404 error appears.

How can I fix it?

Thanks,
American Pro Moving and Storage

Offline

Board footer

Powered by FluxBB