Title: Hotlinking wordpress?
Last modified: August 19, 2016

---

# Hotlinking wordpress?

 *  [justlikehoney](https://wordpress.org/support/users/justlikehoney/)
 * (@justlikehoney)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/hotlinking-wordpress/)
 * I’m having a hotlink problem. There’s a user who was banned from viewing my site
   because he keep on destroying it, stealing stuff. And now I’ve noticed that he’s
   hotlinking my whole page
 * it looks like an iframe of my domain in his domain
 * I’ve already disabled hotlinking images however he can still view all news and
   comments on my wordpress blog
 * Is there a way to block that?

Viewing 1 replies (of 1 total)

 *  [t31os](https://wordpress.org/support/users/t31os/)
 * (@t31os)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/hotlinking-wordpress/#post-1030790)
 * Try one these pieces of JS…
 *     ```
       <script type="text/javascript">
       <!--
       if (self != top) {top.location.href = self.location;href;}
       //-->
       </script>
       ```
   
 * or
 *     ```
       <script>
         if(top.frames.length>0){
           top.location = 'somepage.html';
         }
       </script>
       ```
   
 * Straight from my pal google… 😉

Viewing 1 replies (of 1 total)

The topic ‘Hotlinking wordpress?’ is closed to new replies.

## Tags

 * [HotLink](https://wordpress.org/support/topic-tag/hotlink/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [t31os](https://wordpress.org/support/users/t31os/)
 * Last activity: [17 years, 2 months ago](https://wordpress.org/support/topic/hotlinking-wordpress/#post-1030790)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
