Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-03-2008, 06:42 AM   #1
roly
Confirmed User
 
Join Date: Aug 2002
Posts: 1,844
how to restrict rss feed to one ip or person only?

hi

on one of my wordpress blogs i need to restrict the rss feed to one ip address only, anyone got any idea how i can do this?

changing location/name of feed? or htaccess or something?

any help appreciated, thanks in advance
roly is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-03-2008, 06:52 AM   #2
mortenb
Confirmed User
 
mortenb's Avatar
 
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
put this in your htaccess

<Files rssfilename.xml>
Order deny,allow
Deny from all
Allow from xxx.xxx.xxx.xxx
</Files>

where filename.xml is the name of your feed and xxx.xxx.xxx.xxx is your IP
mortenb is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-03-2008, 06:56 AM   #3
roly
Confirmed User
 
Join Date: Aug 2002
Posts: 1,844
Quote:
Originally Posted by mortenb View Post
put this in your htaccess

<Files rssfilename.xml>
Order deny,allow
Deny from all
Allow from xxx.xxx.xxx.xxx
</Files>

where filename.xml is the name of your feed and xxx.xxx.xxx.xxx is your IP

that's great, thanks very much

will that work when using permalinks?
roly is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.