Shifting WordPress From Apache to nginx Web Server

Download PDF

Shifting WordPress From Apache to nginx Web Server puts any level of user to the challenge of keeping the permalink right. Here is how to shift. If you are new to these web server software, Apache and nginx; you should read the minimally written theoretical part on Apache Web Server and nginx Web Server. With a video guide, we have shown how to install nginx on Rackspace Cloud server. You can read this updated text guide as well. There are many reasons to think to shifting WordPress from Apache to nginx instead of remaining on Apache2 for WordPress – one of them is speed of rendering the web pages.

 

Shifting WordPress From Apache to nginx Web Server : Introduction

 

We need to know some basic differences between nginx and Apache2 before we can realize the shifting WordPress from Apache to nginx Web Server as a project. Nginx works perfectly well with a wide variety of applications and WordPress is certainly one of them. NginX’s configuration language is very powerful. Understand the fact - you have to add the rules manually - when WordPress detects that mod_rewrite is is not loaded, which is the case with nginx, it falls back to using PATHINFO permalinks, which inserts an extra ‘index.php’ in front. The equivalent is :

 

 

Steps for Shifting WordPress From Apache to nginx Web Server

 
Shifting WordPress From Apache to nginx Web Server

Shift WordPress materials (posts, comments etc.) from old website in this way. Excellent guide is itself written on official WordPress Codex :

 

 

So, let us list the to do things :

 

  1. You are installing nginx and other components for proper environment to run WordPress. Install PHPMyAdmin for GUI based access to MySQL database.
  2. Install WordPress.
  3. Shift WordPress materials (posts, comments etc.) from old website in this way
  4. So, your permalinks are lost but you’ll not get 404 errors
  5. Now, you need to fix the permalinks. This is the point will discuss.

 

There are lot of nginx Plugins for WordPress :

 

Another official guide is important :

 

These, just for information can help you a lot. W3 Total Cache now automatically drops a nginx.conf file on the WP root; all you need to do is to include it. Very easy. We will suggest to use IP address only (without pointing the domain), so that the live site with domain suffers the least. With the usage of nginx, automatically you’ll learn the nginx way and you’ll see the actual benefit of using ngnix is more.

 

0saves

Here’s what we’ve got for you which might like :

Also, we have YouTube Videos and Apple iTunes Podcast Channel (the link will open iTunes App on Mac).

Additionally, performing a search on this website can help you.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Google+ or Twitter to join the conversation right now!

If you want to Advertise on our Article or want Business Partnership, you are invited to Contact us.

Contact Us