|Posted: 22 November 2010 at 10:32am
I have discovered that our server is not handling this correctly. Example
http // www example.com/articles/companyname.htm
http // www example.com/articles/companyname%20.htm
I killed the links on purpose the space issue only comes at the end of the url.
Both of these urls are showing and both show a 200 header. I need to create a rule so a space at the end of the URL or in the url will redirect to our custom 404 page as a 301
I asked our IT department to look into this and they are trying to do in from the code behind. We did a test and it went really bad the page showed a 404 but the url also showed the db log info in the url.
I have searched for several days without finding the correct answer and really don't have enough experience to write this line of code in the rule.
Thanks for any assistance in this manner.