WordPress.org

Ready to get started?Download WordPress

Forums

Post a code on a POST (3 posts)

  1. gutielua
    Member
    Posted 8 years ago #

    Ex. http://www.nikynik.com/wpstyles/19_07_2005/27/

    I want a put this code, but doesn't work fine at all. on my post...

    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?tuweb.com(/)?.*$ [NC]
    RewriteRule .*\.(gif|jpg|jpeg|bmp|zip|rar|mp3)$ - [F,NC]

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    Is that anti-hotlinking code ?
    If so, put that as a .htaccess file in the directory containing the stuff you want protected.

  3. gutielua
    Member
    Posted 8 years ago #

    Yes I know but, I want a show a this code on one post to showed to all, whit instructions.

    Tnx in advance!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.