Problem with 404 and .htaccess
-
I have an odd problem with 404 and .htaccess.
This is the contents of my .htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
ErrorDocument 401 /phillip/index.php?error=404
ErrorDocument 403 /phillip/index.php?error=404
ErrorDocument 404 /phillip/index.php?error=404
ErrorDocument 500 /phillip/index.php?error=404
# END WordPressEverytime I try to reach a non-existing folder or file in the phillip-subdomain (where wordpress and .htaccess is installed) I get this:
Not Found
The requested URL /php-bin/index.php was not found on this server.Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Any ideas?
The topic ‘Problem with 404 and .htaccess’ is closed to new replies.