my review hosting provider for my wordpress blogs

Here in this article we written my review hosting provider for my wordpress blogs. Eight year before I started blogging using wordpress CMS. Review about all hosting providers which we used.  At starting I used some nice hosting services.

my review hosting provider for my wordpress blogs

I took experience of many shared hosting services and wasted my time and money.

I taken domain from one.com at the starting. They were very cheap and nice service providers. They offered my domain with free hosting. I used their service for 4-5 months at starting. But when my site traffic was increased I faced slowness.

Then I moved to domain to godaddy. Then I taken hosting from hostso.com. That was really worst experience of my life. They always took down my site. I contacted their support, Answer I got “Your site is taking too much bandwidth and other sites which is on same server that was effecting so we are taking down your site. That time my site views are only 1k or 2k per day. After some time They asked me to remove your site. Even they did not give my money back.

Then I took hosting from hostgator.com, I faced similier type of issue with hostgator.com They also taking my site very often. Then finally I was very serious about site and hosting providers after completing the only six month of my blogging with wordpress site.

Finally I took bluehost.com hosting service. I was with them, for next 7 months. Till seven month bluehost was really nice but after six month they send me an email saying “There is file limit and bandwidth limit with our server. You need to remove your files from server.”

my review hosting provider for my wordpress blogs
my review hosting provider for my wordpress blogs

Bluehost is not unlimited!

Bluehost at some point has a file limit. I’m thinking it is 100,000 files

You can read this:
http://www.bluehostforum.com/archive/index.php/t-15628.html

Finally I moved my site to VPS. Because I realized there is no shared hosting provider which gives an unlimited hosting. Only VPS or dedicated server was the option for me.

So from last three years I was running my site on VPS.

increase file upload size limit in wordpress

Many times people want to upload big size media files into wordpress blog for download. Some people asked me about uploading the PDF files and video files into wordpress blog. You can easily upload big size media file to wordpress.

increase file upload size limit in wordpress

When to do wordpress installation that time default upload file limit is 2mb. Best way to increase the upload limit is adding code into .htaccess file. This file you will find in wordpress installation folder. Dont look into theme folder. Check your wordpress root folder for finding the .htaccess file.

Add following code in that file.


php_value upload_max_filesize 200M
php_value post_max_size 200M
php_value max_execution_time 2000
php_value max_input_time 2000

increase file upload size limit in wordpress
increase file upload size limit in wordpress

After this you need to add the following code in to your wp-config.php file.


<tt>define('WP_MEMORY_LIMIT', '200MB');</tt>

Increase the maximum amount of a time a PHP script will run. Note: If using a shared hosting service, you may need to ask your host to increase the limit.

For you information I am giving you the information about most popular hosting providers.

Hostgator will gives the ability to increase the limit upto only 64mb.

Bluehost will gives the ability to increase the limit upto only 96mb.

Godaddy will gives the ability to increase the limit upto only 64mb.

Mostly all shared hosting providers gives you facility to upload files upto 64mb size file. If you are having any doubts then you can write to me on wordpressapi@gmail.com.

how to speed up wordpress site load time

For speed up WordPress without developer then you can also do that. In this Article we shown,  how to speed up wordpress site load time, Using some tricks you can speed up your wordpress site. Here we given some very basic steps for this.

You need to install varnish with wordpress and apache and increase wordpess website performance so much drastically.

Now more than 19 millions websites build in wordpress only. So wordpress sites market increased so much. People like the faster sites with good content and graphics. If your site visitors are less and content is limited then you don’t need to worry but content grows and traffic of your site increases then problem happens.

how to speed up wordpress site load time

how to speed up wordpress site load time
how to speed up wordpress site load time

When my site traffic is grown then I faced lot of issue. I changed four times my hosting service. I spend to much time about doing R&D about bandwidth and speed of wordpress blog. Then I noted some certain points for loading the site fastly.

In this article I written some points which are very important for increasing the speed of wordpress blogs.

Use the Cache Plugin

Use the WP Super Cache in your wordpress site. This plugin is very helpful, If you are using shared hosting then also this plugin is very helpful. you will see significant decrease in your site load time and much more efficiency in the usage of server resources.

Get good Hosting

Choosing hosting for wordpress sites if always issue. There are some very nice hosting providers for small wordpress sites. If your blog or site is having less than one thousand page views per day then only you need to go with shared hosting. If you are having more than one thousand page views then you should go for VPS or dedicated linux server. But for setting up wordpress on server you need to server knowledge also. If you are having the more than 10k to 20k visitors per day then you should go with Amazon or Rackspace or Gogrid cloud hosting server. For shared I can recommend following options.

I worked on Amazon EC2 and Amazon s3 for many web applications. If you are having any issues then you can write to me.

Hotlinking and Prevent Leeching

hotlinking means someone directly accessing your site images from other site. This will kill your bandwidth. If you want to prevent to stealing your site images then you need to just put following code in .htaccess file.


RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?purabtech.in [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?feeds2.feedburner.com/wordpressapi [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ – [NC,F,L]

Remove the unnecessary wordpress plugins

We always use the multiple wordpress plugins for various purpose. My advise is as much as possible don’t use the wordpress plugins. Just use the required wordpress plugins. For contact form and share buttons we always use the wordpress plugins but don’t use plugins for that. Use the following articles and scripts for avoiding the wordpress plugins:

  1. how to create contact us page without wordpress plugin
  2. Add the extra new users details or fields to wordpress without plugin
  3. Display wordpress Tags In A Dropdown Menu without plugin
  4. How to change the Visual Editor Font Size wordpress without plugin
  5. Display wordpress Tags In A Dropdown Menu without plugin
  6. wordpress pagination style without wordpress plugin
  7. show popular posts without wordpress plugin in theme
  8. How to send smtp email through wordpress without plugin
  9. How to put digg button in wordpress without plugin
  10. Get the recent comments without using wordpress plugin or widget
  11. How to Add the social Bookmar Icons in WordPress theme without wordpress plugins
  12. How to exclude pages from wordpress menu without plugin
  13. Show related posts with wordpress post without using any plugin

This will save your bandwidth and your wordpress load fast.

Choose the Best Theme for your site

Choosing the right wordpress theme is also important. Your wordpress theme should load faster and minimum quires will fired to database server so your web page load fast. You should check following article for choosing the fast loading themes.

With great CSS and HTML code wordpress themes are great and HTML5 ready themes will load fastly and that is SEO friendly aslo.

Use the Compressed Images

Images always take so much bandwidth so you need to be very careful about images in your wordpress blog. Before uploading images to wordpress resize the image and then upload it to wordpress.

Images that use only a few colors should be saved as .GIF or .PNG files, and images that use a full spectrum of colors (like true photographs) should be saved as .JPG files. If you use a photo editing software, like Photoshop, you can “save for the web,” which will find the best format to save, while still maintaining quality.

Show Excerpt on Home page

On homepage dont show the full post. Just show the excerpt of post on home page. With your post showing featured image is always good. That will attract your user to read the article.If each of your post is a list post and it is displayed in full text mode, then it will be very inconvenient for your users because the page will take an immense amount of time and server resources to load. Therefore you must use excerpts and limit the count on how many posts are displayed.

Compress CSS and Javascript

CSS and javascript files also another requests to apache server. You should compress your css and javascript file in one or two files.

  • Stylesheets

Stylesheets are easy to compress, just use your favorite text editor to delete comments and unnecessary spaces and line breaks. Although you won’t see a drastic difference unless your style sheets involve tens of thousands of lines.

  • JavaScript

Compressing JavaScript isn’t as simple, but it is still relatively easy. There are a number of tools available, such as this one, which is free, that will compress your JavaScript code for you. Better yet, don’t rely on much JavaScript at all if you can help it. If your site has lots of interactivity, moving parts and fancy features, there is a good chance it is running a lot of JavaScript and that could slow things down.

Optimize Your MySQL Database

Some times your tables will go overhead. You should clean your database. For this you should use  Optimize DB, wordpress plugin does exactly what we mentioned above except you don’t have to mess with phpMyAdmin. This plugin will reduce your work. Every 5 posts you should optimize the your database.

Use Sprite Images

If you are using many small images in your website then create sprite image. Sprite image will increase your site performance.

Useful mysql queries for wordpress migration

For developers wordpress moving site to new server is daily job. wp migration is easy with mysql query. Here is useful mysql queries for wordpress migration. This mysql query are very useful for moving wordpress data to new server.

Note: before executing following queries, first take backup of wordpress database first. it is very important for safety and backup purpose. I recommend, always take database backup while doing any database operation. Taking database backup is good practice.

When you want to change your domain name for wordpress site. You need to first take backup of your file system and mysql database. Make sure that backup is completely taken. Verify with any wordpress developer. Then only you start the migration. For wordpress domain migration following mysql queries are required.

mysql queries for wordpress migration

I already written detail article for this. You should read following article.

https://purabtech.in/wordpress-migration-hosting-service-domain/

Here is list of mysql queries which are very important when you are doing the wordpress site migration.

UPDATE wp_options SET option_value = REPLACE(option_value, 'oldsite.com', 'newsite.com');
UPDATE wp_postmeta SET meta_value = REPLACE(meta_value, 'oldsite.com', 'newsite.com');
UPDATE wp_posts SET post_content = REPLACE(post_content, 'oldsite.com', 'newsite.com');
UPDATE wp_posts SET post_excerpt = REPLACE(post_excerpt, 'oldsite.com', 'newsite.com');
UPDATE wp_posts SET guid = REPLACE(guid, 'oldsite.com', 'newsite.com');
mysql queries for wordpress migration
mysql queries for wordpress migration