i've got problem whereby websites linking mine have truncated url trailing dots, 3 of them exact!
eg. http://www.mywebsite.com/7542-this-is-a-link-to...
the url should http://www.mywebsite.com/7542-this-is-a-link-to-my-website.html
naturally, isapi rewrite doesn't understand truncated url need redirect correct url using 301 redirect
something like:
rewriterule ^7542-this-is-a-link-to... /7542-this-is-a-link-to-my-website.html [l,r=301]
but life of me cannot isapi rewrite match against 3 dots, annoyingly incorrect url doesn't 404 redirect! have no idea going to... blank screen guessing has iis web.config file...
please me before become balder am!
the several different reasons that. rule like:
rewriterule ^7542-this-is-a-link-to.* /7542-this-is-a-link-to-my-website.html [l,r=301] would fix problem, matching after "-to". it's not isapi_rewrite throws 404. it's iis. had issues before , googling ended iis blocking suspicious characters. try tweak that.
it "dots in url"
this thread has lot of useful info
Comments
Post a Comment