Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...IIS rule for UserProfile? Due to spam registration botIIS rule for UserProfile? Due to spam registration bot
Previous
 
Next
New Post
10/16/2014 12:09 AM
 

I deleted 150k+ spam bot registered users. I set Registration to None. No more new users = good.

Tons of errors in the log = bad. I'm truncating it nightly.

I'd like a way to redirect attempts to load UserProfile. (Because bots are loading the urls for non-existent users' profiles, causing errors).

I found the article below and made the following unsuccessful attempts below.

Any suggestions on how to get this working, or a different approach to take? 

 

<rewrite>

 <rules>

 <rule name="Fail bad requests">

 <match url="UserProfile/tabid/([0-9]+)/userId/([0-9]+)/Default.aspx"/>

 <conditions>

 <add input="{HTTP_HOST}" pattern="UserProfile/tabid/{R:1}/userId/{R:2}/Default.aspx" negate="true" />

 </conditions>

 <action type="AbortRequest" />

 </rule>

 <rule name="Redirect from User Profile">

 <match url="^UserProfile/tabid/([0-9]+)/userId/([0-9]+)/Default.aspx" />

 <action type="Redirect" url="/Default.aspx" redirectType="Found" />

 </rule>

 <rule name="User Profile Redirect" stopProcessing="true">

 <match url="(.*)" />

 <conditions logicalGrouping="MatchAny" trackAllCaptures="false">

 <add input="{HTTP_HOST}{REQUEST_URI}" pattern="UserProfile/tabid/{R:1}/userId/{R:2}/Default.aspx" />

 </conditions>

 <action type="Redirect" url="http://www.somesite.com/" />

 </rule>

 </rules>

 </rewrite>

https://support.managed.com/kb/a616/how-to-redirect-an-old-url-to-another-page-on-your-site.aspx
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...IIS rule for UserProfile? Due to spam registration botIIS rule for UserProfile? Due to spam registration bot


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out