Archive for Miscellaneous

How to earn affiliate commission from your blog or website

Share



If you are willing to make your blog make some money then you are at the right place where you will learn how you can earn affiliate commission through your blog.

First, you need to have a blog hosted on some good web hosting server like iPage. I recommend WordPress for your blog as there are plenty of freely available plugins which will help you make your blog SEO friendly and have your genuine content ranked top in search engine results.

Write your blogs as simple as possible, have some images in it.

1. Affiliate

You can become an affiliate of one, or of many companies in various domains out there. e.g ipage.

Register with ipage as affiliate at http://www.ipage.com/affiliate/gettingstarted.bml Read more

Sharing is cool...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
1,773 views

Dynamic URL redirect within particular subdomain using .htaccess

Share

Below are the lines you need to add in your .htaccess file to redirect /services/blahblah URLs to /offerings/blahblah for the sub domain mentioned in line 1 below (en.domainnamegoeshere.com). Dynamic URL redirect.

RewriteCond %{HTTP_HOST} ^en.domainnamegoeshere.com$
RewriteRule ^services/(.*)$ http://en.domainnamegoeshere.com/offerings/$1 [R=301,L]

Above lines will redirect all the URLs in pattern below.

Redirects
http://en.domainnamegoeshere.com/services/web
to
http://en.domainnamegoeshere.com/offerings/web

This will NOT redirect similar URLs in OTHER sub domains of your site except en.domainnamegoeshere.com.
Read more

Sharing is cool...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
1,578 views

Goo.gl API: PHP Shorten URL using googles URL shortening service

Share

goo.gl

Looking for PHP api to make url shortened using goo.gl? Here is the solution..

http://Goo.gl PHP API to shorten your URL..



Just get Google API key form http://code.google.com/apis/console/ and use it in the code below. That’s it. You will have your URL entered in line 1 shortened in last echo statement in the code below. 🙂
Read more

Sharing is cool...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
3,889 views