Link to home
Start Free TrialLog in
Avatar of wal_toor
wal_toorFlag for Netherlands

asked on

htaccess 404 with url variables

Hello all,

I am (agian) playing with htaccess. Is there a way to redirect to an 404 page using url parameters?

So for example

www.mysite.nl/site/en/something/andwhatever --> is not found

needs to redirect to

ErrorDocument 404 /site/en/404

but

www.mysite.nl/site/ru/something/andwhatever --> is not found

needs to redirect to

ErrorDocument 404 /site/ru/404

Is there a way to do this?

greetz,
walter
ASKER CERTIFIED SOLUTION
Avatar of arober11
arober11
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial