WordPress.org

Ready to get started?Download WordPress

Forums

How to block clicks to my site from 1 referrer? (3 posts)

  1. Dgold
    Member
    Posted 8 years ago #

    What's the best way, if there's a way, for me to block any incoming clicks to my site from 1 referrer?

    Not talking about hot-linking, I just don't want the link to my site from 1 particular site to succeed. I realize they could still copy/paste the URL into the browser and it would be a "direct" request and that's fine, I just don't want a link to me from 1 particular forum. I'd rather the people on that forum see a "404" or something if they click the link to me.

    is this done w/ htaccess?

  2. dje
    Member
    Posted 8 years ago #

  3. Dgold
    Member
    Posted 8 years ago #

    *Thanks dje*

    That solved it, and was a really easy process. I just pasted the necessary code into my .htaccess after the #END WORDPRESS

    It works!

Topic Closed

This topic has been closed to new replies.

About this Topic