Remove jQuery or Any Script from WordPress

Sometimes you may need newer version of jQuery to run your custom theme or some plugins. In that situations you may want to remove WordPress core jQuery to load your own version of jQuery.

Post Picture to Facebook User Wall with PHP

Posting pictures on Facebook works similar as Posting to Facebook Page Wall, you can post not just photos, but questions, status, notes etc in a similar way. In previous post we have seen how we can post a photo to page wall by specifying its relative path, but in this tutorial we will upload picture and directly post to user profile page using an upload form.

Post to Facebook Page Wall Using PHP + Graph

In this post you will learn how to post to Facebook page wall (Not User Wall) using PHP and Facebook API. To understand this article you must have knowledge of Facebook application development and their API usage. Before we begin I assume you have created Facebook Application and you have a running Facebook Page where you want  your message to appear.  

.htacess redirect from subdomain to full URL

Sometimes, Google or other search engines start to crawl your subdomains, indexing everything without your knowledge. And your search results start to appear something like this – http://subdomain.mainsite.com/page.html, instead of http://mainsite.com/page.html. All paths to pages are same except the subdomain added to the URL. To redirect all your subdomains to main site URL, add following line in your .htaccess file. [cc lang=”htaccess”] RewriteEngine On RewriteCond %{HTTP_HOST} ^(www.)?[^.]+.mymainsitename.com.*$ RewriteRule (.*) http://mymainsitename.com/$1 [L] [/cc]