404 Error Redirect
2 posts
• Page 1 of 1
- blandydoes
- Posts: 4
- Joined: 18 Dec 2012, 09:14
404 Error Redirect
Hello,
I answered my last question but now I am on the hunt for a 404 Error Redirect for ISAPI Rewrite v3.
Anyone have such a thing? Can it be done?
I answered my last question but now I am on the hunt for a 404 Error Redirect for ISAPI Rewrite v3.
Anyone have such a thing? Can it be done?
Re: 404 Error Redirect
You can try the code like this:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .? /404.asp [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .? /404.asp [R=301,L]
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 30 guests