Exception or error:
I’m creating a HTACCESS-file. I don’t have many experiences with it, so I hope you can help me. I’m using the RewriteEngine-function, but some words like “error” and “account” won’t work where other do work.
This is my HTACCESS-code:
ErrorDocument 404 /socsoc/error.php?type=404
RewriteEngine On
RewriteRule fout/(.+) error.php?type=$1
RewriteRule fout error.php
RewriteRule mijn-account/(.+) account.php?page=$1
RewriteRule mijn-account account.php
The strange thing is that if I change these keywords to for example “myaccount” and “fout” (Dutch), they do work. So this code does work:
ErrorDocument 404 /socsoc/error.php?type=404
RewriteEngine On
RewriteRule fout/(.+) error.php?type=$1
RewriteRule fout error.php
RewriteRule myaccount/(.+) account.php?page=$1
RewriteRule myaccount account.php
Is there anyone who can explain why?
Thank you!
Jeroen
How to solve: