WordPress.org

Ready to get started?Download WordPress

Forums

spam referrals (5 posts)

  1. fiohna
    Member
    Posted 6 months ago #

    I have suddenly got referrals from [ redacted, you really don't need to share dodgy site URLs here ] which seems to be a spam and/or porn site. It is also showing 100% bounce rate for these. How can I stop this from referring to me site as I am worried it will affect my rating if my bounce rate increases.

  2. Your question may be better off being asked in a SEO forum instead of here. It's not really a WordPress specific problem exactly.

  3. fiohna
    Member
    Posted 6 months ago #

    I thought wordpress people might know how I prevent this sort of thing on a wordpress site?

  4. fiohna
    Member
    Posted 6 months ago #

    I put the site name in the above post in case other people have had a similar thing happen - no one has to click on it - I wouldn't expect them to on this site - now no-one can see where the spam came from as you have removed it.

  5. We don't permit spammy links in these forums and posting that really doesn't add value except perpetuating links to that site.

    I thought wordpress people might know how I prevent this sort of thing on a wordpress site?

    They may, that's why I did not close this topic. But what you are describing (referrals) is a generic problem. There's nothing you can do on your site to prevent that from happening but you can deny people visiting your site from that spammer if you like.

    Try this untested by me entries in the top of your WordPress installation's .htaccess file.

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} notcoolsite\.com [NC,OR]
    RewriteCond %{HTTP_REFERER} another-not-cool-site\.com
    RewriteRule .* - [F]
    </IfModule>

Reply

You must log in to post.

About this Topic