Greenguy's Board


Go Back   Greenguy's Board > Blogs and Blogging
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
Old 2009-03-02, 07:16 PM   #1
NY Jester
ICQ:147*079*406
 
NY Jester's Avatar
 
Join Date: Oct 2007
Location: Rock*ME*Hardplace
Posts: 2,996
Send a message via ICQ to NY Jester Send a message via AIM to NY Jester
WordPress and .htaccess

I know there have been threads about hotlink protection etc. using .htaccess.

But I thought htaccess in WP was a bit different

Anyway. The question at hand is this. How do I stop hotlinking post images from my blogs. And more so, how do I replace the hotlinked image with another image with say just the blog URL on it?

Thanks in advance.
__________________
The Sexy Side of Porn
NY Jester is offline   Reply With Quote
Old 2009-03-02, 07:39 PM   #2
Beaver Bob
Porn Blog Addict
 
Beaver Bob's Avatar
 
Join Date: Oct 2005
Location: Las Vegas, Nevada
Posts: 715
Send a message via ICQ to Beaver Bob
htaccess should be no different on wordpress than any other site.. the only thing is you need this code for your permalinks to work

Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
now for the hotlinking, this page will generate what you need:
http://www.htaccesstools.com/hotlink-protection/
Beaver Bob is offline   Reply With Quote
Old 2009-03-02, 10:03 PM   #3
NY Jester
ICQ:147*079*406
 
NY Jester's Avatar
 
Join Date: Oct 2007
Location: Rock*ME*Hardplace
Posts: 2,996
Send a message via ICQ to NY Jester Send a message via AIM to NY Jester
Would I put the .htaccess file in the blog directory

ex: http://www.myblog.com/blog/ would I put the htaccess in the /blog/ directory?

Thanks
__________________
The Sexy Side of Porn
NY Jester is offline   Reply With Quote
Old 2009-03-02, 10:20 PM   #4
Beaver Bob
Porn Blog Addict
 
Beaver Bob's Avatar
 
Join Date: Oct 2005
Location: Las Vegas, Nevada
Posts: 715
Send a message via ICQ to Beaver Bob
Quote:
Originally Posted by NY Jester View Post
Would I put the .htaccess file in the blog directory

ex: http://www.myblog.com/blog/ would I put the htaccess in the /blog/ directory?

Thanks
The htaccess code for your permalinks go in the /blog directory

So the question is, do you want hotlink protection on the entire domain or just the blog?

If you want to protect outside /blog, the hotlink protection code would go in its own .htaccess file located in the root of the domain.

If you are only concerned with protecting whats inside the blog directory, you can add the hotlink protection code to your existing .htaccess in /blog
Beaver Bob is offline   Reply With Quote
Old 2009-03-02, 10:49 PM   #5
NY Jester
ICQ:147*079*406
 
NY Jester's Avatar
 
Join Date: Oct 2007
Location: Rock*ME*Hardplace
Posts: 2,996
Send a message via ICQ to NY Jester Send a message via AIM to NY Jester
it appears right now that the only images being hotlinked are from the blog, so I guess ill just update the htaccess in the blog directory.

Thanks
__________________
The Sexy Side of Porn
NY Jester is offline   Reply With Quote
Old 2009-03-03, 12:46 PM   #6
walrus
Oh no, I'm sweating like Roger Ebert
 
walrus's Avatar
 
Join Date: May 2005
Location: Los Angeles
Posts: 1,773
Send a message via ICQ to walrus Send a message via Yahoo to walrus
Are they being hotlinked or are they being picked up as a part of your RSS feed? If there is a specific person / website / IP by all means stop them from hot linking your stuff.

But don't shoot yourself in the foot by disabling one of your most valuable marketing tools, your RSS feed.
__________________
Naked Girlfriend Porn TGP
free partner account
walrus is offline   Reply With Quote
Old 2009-03-03, 02:08 PM   #7
NY Jester
ICQ:147*079*406
 
NY Jester's Avatar
 
Join Date: Oct 2007
Location: Rock*ME*Hardplace
Posts: 2,996
Send a message via ICQ to NY Jester Send a message via AIM to NY Jester
They are being hot linked by 1 or two sites...should I just let them go for now? I mean its forum traffic, and its not eating too much BW..also if someone checks the location it would be somewhat of a free advert possibly?
__________________
The Sexy Side of Porn
NY Jester is offline   Reply With Quote
Old 2009-03-04, 01:40 PM   #8
walrus
Oh no, I'm sweating like Roger Ebert
 
walrus's Avatar
 
Join Date: May 2005
Location: Los Angeles
Posts: 1,773
Send a message via ICQ to walrus Send a message via Yahoo to walrus
If it's not eating a bunch of band width, I'd probably let it go. If it's a problem try contacting the forum owners.

The forum hot links usually only last for the life of the post.
__________________
Naked Girlfriend Porn TGP
free partner account
walrus is offline   Reply With Quote
Old 2009-03-05, 08:20 AM   #9
balls_deep
If you really need money, you can sell your kidney or even your car
 
balls_deep's Avatar
 
Join Date: Apr 2007
Posts: 374
another option is to watermark your photos with your domain name in the corner, this is basically free advertisement.
balls_deep is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:15 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc