Category Archives: Free Press

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.

How To Access Facebook Messages Received From Strangers ?

Facebook message which you receive from your friends are displayed in the message section but for accessing messages sent to you by strangers you have to follow these steps:

  1. Login to your Facebook account.
  2. No need to visit traditional message menu.
  3. Click Facebook Home.
  4. On the left sidebar there is a messages link under news feed
  5. Click ‘messages’ there.
  6. Click ‘others’ from the drop down.
  7. Now it will show you the messages from strangers.

Facebook Got More Than 83 Million ‘Fake’ Users

Facebook has revealed that it believes more than 83 million Fake IDs are registered on there social network.

Company filings says that 8.7% of its 955 million active Facebook users might not be real.

Duplicate profiles => 4.8% of the users

User-misclassified accounts => 2.4%

Undesirable User IDs => 1.5%

Estimated Fake User Profiles => 83.09 million

Estimated fake user profiles are classified into three groups:

First group is of duplicate user profiles which Facebook Inc. defines: account that a user maintains in addition to his or her principal account.

Second is User-misclassified where FB users create profiles for business, organisations, Gods and also of non-human entities like pets.

Third is Undesirable profiles against Facebook’s terms of service like profiles created for sending spams, messages, ads or other content.

A BBC investigation suggests,

“Companies are wasting large sums of money on adverts to gain “likes” from Facebook members who have no real interest in their products. A security expert has said some of the profiles appeared to be “fakes” run by computer programs to spread spam.”

Facebook’s business model relies on targeted advertising that promotes gathering of likes from users.

Now slowly companies are realizing that gathering millions of fake likes is of no use when members are itself not interested in their products and large number of likes come from fake Ids which are used only for one or two time and are created for a single purpose only. This can seriously harm Facebook’s business    but Facebook Inc. is not taking it as a serious issue. May be they are planning to gain registered IDs more than the total world population.

Nice Blogging Tool That Finds People Asking Questions About The Things You Know

InboxQ helps you to create better blog topics by finding people who are willing  to know something about the information and things you know.

How it works ?

  1. It Creates a campaign targetting questions you can answer.
  2. You answer the questions directly from your own Twitter account.
  3. Hence you earn more followers and customers.
  4. See it in action in the following video:
[iframe][/iframe]

How to start ?

  1. Visit InboxQ.
  2. Click Get Started.
  3. Enter your keywords. You can enter keywords from 3 to 10, one in each line.
  4. Click Preview Questions
  5. Answer them. These all are in twitter. Create related blog posts  and share with these people.

When you click Answer Question; it prompts you to login with twitter. After logging in you can answer the question or reply your blog post URL related to that particular question.

WordPress Hack For Adding Signature After Posts Content

Open your theme’s function.php and add the following code. Remember changing text after equal sign with your own.

function custom_content_after_post($content){
if (is_single()) {
$content .= ‘<p>Load Your Content Here</p><img src=”‘. get_template_directory() .’/images/signature.png” alt=”Your Name” />’;
}
return $content;
}
add_filter( “the_content”, “custom_content_after_post” );

You may also use WordPress Signature Plugin for doing so. It allows WP users to put signatures below every post. After installing and activating it you can easily access it by navigating to WP-Admin Dashboard >> Tools >> WPSignature.

Become Google’s Verified Author For Your WordPress Blog

After getting Google’s verified authorship you will be seeing your blog post search results with the screen shot of your Google Plus Profile Image. As show below:

Google Search Results, Before And After Activating Google’s Verified Authorship

For doing this in your blog results, follow these steps

Open your theme’s header.php file and add the following given code block in head section –

<link rel=”author” href=”https://plus.google.com/107466614529996508363/posts” />

Remember:

  • Change the profile URL with your Google Plus Profile URL in the above given code block.
  • Head section is between <head> and </head> tag so add the given code in between these tags.

Now open your theme’s function.php file and the following action at last:

add_action(‘wp_head’, ‘add_google_rel_author’);
function add_google_rel_author() {
echo ‘<link rel=”author” href=”https://plus.google.com/107466614529996508363/posts” />’;
}

  • Visit your Google+ Profile.
  • Click Edit and make your +1s pubic.
  • Scroll down to  contributors section.
  • Under the heading “Contributor to” add your blog’s address.

That’s all. Next Google’s re-crawl to your blog pages will start showing your face in Google search results. So wait for it. You can  reduce this time by writing a new blog post.

Outlook.Com Is Loaded With Vast Privacy Issue

I am using Gmail since long and will keep using it. Microsoft Outlook.Com is loaded with vast privacy issue of contemporary world.

Outlook.Com Keeps Your Mail Without Your Permission Even After You Delete It And You Think It Is A Cool Feature

It offers you a feature for Recovering Deleted Mails even after emptying your trash you can get your mails back from Deleted directory’s link “recover deleted messages.”

This might be useful sometime but it is the most serious flaw. Outlook.com doesn’t respect your privacy. Its spying on you. Its a CIA agent. You can get your deleted messages back; it means all of your content is safe on their server even after removing it permanently.

When you delete anything on Gmail it moves to Trash bin. You can restore it from there but if you want to delete it permanently then you empty the trash bin and your mail is completely gone and you are free. But in case of Outlook.com where you delete your mail, it moves to trash, you empty the trash bin for removing your mails permanently from your account but it is still there. You don’t know where it it. You cannot see it but it is there on the server and they tell that this vast privacy issue is a cool feature.

If You Think That Outlook Offers Unlimited Space, you are Wrong. Microsoft Is Misguiding You.

On Internet there is nothing like unlimited. Anyone who offers you unlimited space, bandwidth or anything is fake. Internet runs on hardware not space and hardware cannot provide anything which is unlimited. Google is honest and respects science-mathematics so it tells you the truth that they offer you 10 GB storage. Outlook.com is just opposite and it came from the proprietary background of Microsoft so they trick on you. Open and clear fact is that on Outlook.com you can receive email with maximum size of 25 MB which is similar to Gmail. If Outlook.Com is better than Gmail then it should increase this size. Saying that you give Unlimited storage doesn’t matter because one can backup the mails on other machine but receiving mail more than 25 MB might be a step ahead. Then also I will not be using Outlook.Com because still it has privacy issue and proprietary background.

Google integrates Google+ network with your mailbox. May be none of your friends use it. May be they are using Facebook,  Twitter and LinkedIn which easily gets integrated with Outlook. Is that actually matters for you, if yes then I am sure you will be using Facebook Email Service for all of your mails and Facebook Search for finding things.

People who are more close to science and math use Google like Linus Torvalds because they understand the technical superiority and honesty of Google.

How can you trust anything from Microsoft. You know what its founder says:

“I will always choose a lazy person to do a difficult job… because, he will find an easy way to do it”

And what he actually does, he choose toppers knowing that toppers work day and night for merit.

Microsoft is misleading you, tricking you since a very long time. They are selling the most insecure operating system at very high rates (and also in parts). So it is better to change your mind if it is bending towards the wrong side. Don’t use Microsoft products. Don’t use Outlook. They are less scientific. Use Linux as  it is free and open. Use Google as it is honest and scientific.

When Your Facebook Group Chat Stops Working

If your Facebook group chat is not working or suddenly it stopped working and your are checking Facebook group settings to find out the problem and enable Facebook Group Chat. Then you must know:

You cannot enable chatting in any Facebook group which has more than 250 members because Facebook group chat automatically gets disabled when the number of group members exceeds the default limit of 250.

There are only two conditions when Facebook Group Chat stops working:-

When your Group Chat Settings are Off

SOLUTION – Visit your group >> Select Edit settings >> Check Send Me Group chat messages

When Group members are more than 250

SOLUTION – You cannot do anything for this because members are more important than chat. Use Group Wall for discussions. You may tag your friends in a post by using @ followed by the name and it drops down the name suggestion. Select it and add friend for the public message. It sends a notification to the person you have added in your post.

Disable Comments On WordPress Media Attachments

Using WP Plugin

Download and activate Disable Comments plugin. Using this plugin admins can easily disable comments site wide or according to post type. After installation it can be accessed from settings menu of admin area dashboard.

Using WP Hack

Add this code in your theme’s function.php file:

function filter_media_comment_status( $open, $post_id ) {
$post = get_post( $post_id );
if( $post->post_type == ‘attachment’ ) {
return false;
}
return $open;
}
add_filter( ‘comments_open’, ‘filter_media_comment_status’, 10 , 2 );

How To Protect wp-config.php And .htaccess Files In WordPress ?

You can block access to your site’s wp-config file from browser by adding following code in your .htaccess file:

# Block access to wp-config
<files wp-config.php>
order allow,deny
deny from all
</files>

For blocking access to your .htaccess file add this code inside your .htaccess file:

# Block access to htaccess
<files .htaccess>
order allow,deny
deny from all
</files>

Note:.htaccess file is present in your site’s root at the same place where you find wp-config file.