Posts

Showing posts from February, 2016

Newsmag Theme and External Featured Image

The  NewsMag  wordpress theme is a fast and simple.  It is excellent for a news, newspaper, magazine, publishing or review site. It also supports videos from YouTube and features a rating system. It uses the best clean SEO practices, and on top of that, it’s fast, simple, and easy to use. In addition, News mag supports responsive Google Ads and AdSense. The problem I had with this theme is that it does not work with  Nelio External Featured Image  by default. You can follow the steps in this article to make the theme and the plugin work with each other Nelio External Featured Image Not working with Newsmag theme Another useful information is here:  Solution fix thumn for theme Newsmag when using module Nelio External Featured Image Unfortunately whenever the theme is updated, the update to the theme will get lost. Therefore it is not a good idea to use the   Nelio External Featured Image  plugin. After some research, I found a...

DigitalOcean - A Real Simple Cloud Hosting

Image
After spending hours and hours with Azure, I decided to give some other options a try to play with cloud hosting.   DigitalOcean  is a pretty neat and small cloud hosting provider. I played with it for one day and found that it is really easy to use and the price is quite low compared to the major cloud hosting provider like Azure or Amazon AWS, or Google Cloud. I finished the setup in about half an hour and got my website going. Everything works pretty good with a $10 per month web hosting. The speed is actually not so bad. I then deleted everything, and noticed that they only charged me one cent. I payed $5 when I signed up, and now I have $4.99 sitting in my account. So accurate!

Configure Wordpress on Azure Windows Server

In order to compare the performance of WordPress installed on Windows Server and Linux server, I plan to set up WordPress/MySQL on a Azure Windows Server 2012 R2 Data Center version following this  article: https://besthostingforasp.net/how-to-install-wordpress-on-iis/ It took me some time to configure the ftp server so that WordPress can directly update components using ftp credential. It turns out that the domain name of XXX.cloudapp.net for the ftp hosting should be used instead of my real domain name. Since I want to access the Wordpress MySQL database directly from my .Net application, I would like to install phpMyAdmin to the server so that I can make changes to the database  more easily.  Here is a pretty detailed guide:  How to Install and Configure phpMyAdmin on IIS in Windows 8/Server 2012 Now the WordPress setup is finished. However, when I upload my fancy   NewsMag   WordPress theme , I got following error message: The uploa...

Create WordPress Website in Azure App Service and GoDaddy MySQL Database

Microsoft Azure App Service provides an easy way to install Wordpress. Just follow the article Create a WordPress web app in Azure App Service    and a wordpress website can be setup with minutes. The only problem is that Azure Bizpark account can not be sued with MySQL database. And the 3rd party mysql service (ClearDB) is quite expensive.  Therefore I would create a default webapp and install Wordpress manually. First I will create an empty App service.  Then follow following to setup the ftp ( see https://azure.microsoft.com/en-us/documentation/articles/web-sites-deploy/#ftp ) 1. Create deployment credentials for your app in the Azure Portal. To do this, in your app's blade, click Settings > Deployment Credentials. 2. After you have configured deployment credentials, obtain the FTP connection information by going to Settings > Properties, and then copying the values for FTP/Development User, FTP Host Name, and FTPS Host Name. ...

Data Driven Wordpress Web Site

Image
I have been struggling with the appearance of my website for years. Man, it is not a easy job for me, a developer at heart. And it is eaven harden for me to accept the fact that I really can't make it. Now it is the time. What I can do? Well, how about give my website a nice jacket with Wordpress or Blogger? There are hundreds of thousands themes there, if not millions. Fancy ones, simple ones, just pick one and install it.  Google Blogger is the first option I investigated to redesign my website. The main advantage of Google Blogger is that I do not need to worry about hosting. Free. And my website will site there for years even if I forgot it someday, as long as Google did not give the blogger up. However, you have to follow the rules to use Google Blogger. Nothing is free at the end. What you sacrifice to choose Google instead of self hosted Wordpress is the freedom with your website. And if you mess up with the rules, you will find your website wiped out by Google some...

Facebook SEO Tips

Neil Patel gave following advices about SEO using facebook in his article How to Win on Facebook: 8 Lessons Learned From Analyzing 1 Billion Posts The best time to post is between 10 PM and Midnight of your audience's local time Posts with questions and images get the most engagement The best day to post is on Sunday Posts that link to articles between 1,000-3,000 words get the most interaction Short post descriptions get by far the most interaction Directly embedded videos get over 6x the interaction of YouTube videos Images posted through Instagram get a 23% boost in engagement Posts with hashtags get less interaction than posts without hashtags I have been always wondering what is the range of number of words in a long form article. The answers seems to be 1,000 to 3,000 Another question about Facebook marketing is how much I should spent to boost your post on Facebook as a start, and what will be the result. Rebecca Coleman, a social-market...

Twitter & Facebook login integration like Pinterest

Pinterest allows user to login and register with Twitter and facebook account, and automatically create an account for the user. This is a very useful tool to attract user to register, while keep the system more consistent with user's profile. Following page talks the exact step to start with http://www.dotnetopenauth.net/developers/help/programmatic-openid-relying-party/ https://pinterest.com/join/signup/ http://www.codeproject.com/Articles/314987/Getting-User-Profile-Response-from-Social-Sites-us http://www.codeproject.com/search.aspx?q=Facebook+%26+Twitter+login&x=0&y=0&sbo=kw Step 1:  Create a Twitter Application https://dev.twitter.com/apps/new In order to get key for Facebook http://stackoverflow.com/questions/2289712/where-do-i-find-api-key-and-api-secret-for-facebook You have to log on to facebook (with any valid account), go to Account -> Application settings -> Developer -> Set up new application (button at the top right). Afte...