Category Archives: Free Press

Get Extended Settings For BuddyPress. Editing BP-Avatar, Profile Links, Tabs, Thumbnail Size Etc

Get Extra configuration Settings For BuddyPress Admins, Editing BP Avatar size, Profile Links, Activity, Friends, Message, Group Including Other Tabs And Much More.
Continue reading Get Extended Settings For BuddyPress. Editing BP-Avatar, Profile Links, Tabs, Thumbnail Size Etc

How To Keep Log Of WordPress PHP And Database Errors ?

Keeping Error Logs is helpful to know about invalid database queries and file requests of your website. You can easily enable error logging in WordPress either by plugin or by hack. 

Continue reading How To Keep Log Of WordPress PHP And Database Errors ?

How To Restrict Other Servers From Accessing Your Files ?

If your site stores popular image files then for reducing bandwidth usage you can use this Apache hack for denying servers to access your files. Open your sites .htaccess file for editing and add the following code:

<FilesMatch “.(gif|jpe?g)$”>
SetEnvIf Referer “^http://([^/]*.)?mydomain.com/” request_ok = 1
Order Allow, Deny
Allow from env=request_ok
</FilesMatch>

This restricts other domains form accessing all GIF or JPG files in  your website.