Difference Between home_url() and site_url() in WordPress

difference between home_url() and site_url()

difference between home_url() and site_url()

home_url() and site_url() in WordPress is very simple thing, but could be little bit confusing. Look at the image, then I described below –

From Setting -> General
1) WordPress Address (URL) = site_url()
2) Site Address (URL) = home_url( )

You could force rewrite that from wp-config.php too. Remembering is easy, its just opposite to what is says, so in Setting “Site Address (URL)” is home_url not the site_url as it looks from the words. Savvy?

Continue reading “Difference Between home_url() and site_url() in WordPress”

How To Secure Server After Heartbleed OpenSSL Vulnerability

How To Secure Server After Heartbleed OpenSSL Vulnerability 2

heartbleed

Heartbleed is probably the worst thing ever happen to internet in whole. Its old news, all server and application should be already updated. If your server is not, here I will share very basic process to fix it, should not have more then 1 min. Yes, just 1 min and your server will be secured from Heartbleed Vulnerability.

Continue reading “How To Secure Server After Heartbleed OpenSSL Vulnerability”

Add StumbleUpon Button With Counter on WordPress Index

Add StumbleUpon Button With Counter on WordPress Index 4

If you add default StumbleUpon Button code on WordPress Post page(Single.php) it will work. but this wont work if you would like to use this on Home Page(index.php) it wont work. Like i did tried to add this on TheTechJournal.com‘s home page. It was not woking, showing only home page view count. Then i altered the code with parmalink.
Add StumbleUpon Button With Counter on WordPress Index 5
Continue reading “Add StumbleUpon Button With Counter on WordPress Index”