Wordpress Server

-->

We recommend servers running version 7.4 or greater of PHP and MySQL version 5.6 OR MariaDB version 10.1 or greater. We also recommend either Apache or Nginx as the most robust options for running WordPress, but neither is required. InfinityFree is a great option for users who need full server access for lots of WordPress sites and/or high-traffic WordPress sites. InfinityFree is one of the few free WordPress hosts to let you create unlimited websites and it also offers unlimited bandwidth, which makes it a good choice for high-traffic sites.

by Eric Woersching

Introduction

WordPress is a blog publishing application and content management system. According to wordpress.org,WordPress is 'a state-of-the-art semantic personal publishing platform with a focus on aesthetics, Web standards, and usability.' The following sections describe how to install and configure WordPress for use with FastCGI on Internet Information Services 7 (IIS 7) and above. This document assumes that you have completed the setup and configuration of the FastCGI extension and PHP libraries.

The easiest way to install WordPress is by downloading it from the Windows® Web App Gallery. If you need the Microsoft® Web Platform, you can install the components with the Microsoft® Web Platform Installer (Web PI), which is also available at the Windows Web App Gallery.

The following article provides guidance for installing WordPress manually. The instructions have been tested and found to work in the following configurations:

  • Windows Server® 2008 operating system
  • IIS 7
  • PHP 5.2.9
  • MySQL 5.1.34
  • WordPress 2.8.5

Prerequisites

From the base default configuration file provided by PHP, modify the following lines in your Php.ini configuration:

  • Define extension_dir as c:phpext (for example, the location of your php extensions directory).
  • Uncomment extension=php_mysql.dll in the extensions list to enable MySQL support.

Download and Unpack the Application

First, download the latest stable release of WordPress. For this article, WordPress version 2.8.5 was used. Uncompress the WordPress files and copy the files to C:Inetpubwwwrootwordpress or another directory of your choosing. There is no need to modify permissions on the WordPress Web directory, because the default permissions suffice.

Set Up the Database

Before starting the installation procedure for WordPress, you must create a database on your server. Also create a user and grant this user 'db ownership' permission to the database. This article uses the following database information:

  • Database name: wordpress
  • Database user: wordpress
  • Account password: wordpress

Modify the Configuration File

Modify the WordPress configuration file to connect to the database.

  1. From Windows® Explorer, navigate to the installation directory C:inetpubwwwrootwordpress, and rename the file wp-config-sample.php to wp-config.php.
  2. Edit wp-config.php; change the DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST values as follows:
Wordpress Server

Setup and Configure the Application

  1. From Windows® Internet Explorer®, go to http://localhost/wordpress/wp-admin/install.php.

  2. Type the name of your blog and your e-mail address, and then click Install WordPress.

    Figure 1: Enter information

  3. Note the temporary password assigned for the administrator account.

    Figure 2: Note the administrator password

  4. Begin managing your blog from http://localhost/wordpress/wp-login.php.

    Figure 3: Log on to blog

  5. The Welcome page appears.

    Figure 4: Welcome page

Enable 'Pretty Permalinks'

Typically, WordPress users must use 'almost pretty' URLs (for example, http://contoso.com/index.php/yyyy/mm/dd/post-name/). With the URL Rewrite module, you can create 'Pretty Permalinks' (for example, http://example.com/year/month/day/post-name/) for WordPress blogs hosted on IIS.

The steps that follow assume that WordPress is installed in a Web site root directory. If WordPress is installed in a subdirectory, then the rewrite rules must be included in the Web.config file located within the same subdirectory as the WordPress files.

  1. Install URL Rewrite Go Live release.

  2. Log on to WordPress as an administrator.

  3. Click the Settings button.

    Mac

  4. Click the Permalinks tab for the Customize Permalink Structure page.

    Figure 5: Customize permalink structure page

  5. Select Custom Structure, and then type
    /%year%/%monthnum%/%day%/%postname%/ in the Custom Structure text box.

  6. Click Save Changes. You will see that all the blog post links have URLs that follow the format you have specified; however, if you click any link, the Web server returns a 404 - File Not Found error, because WordPress relies on a URL rewriting capability within a server to rewrite requests that have 'pretty permalinks' to an Index.php file.

Create Rewrite Rule

  1. Open the Web.config file (located in the same directory as the WordPress files). If you do not have a Web.config file in the WordPress directory, create it.

  2. Copy and paste the following XML section into the system.webServer element:

This rule matches any requested URL; if the URL does not correspond to a file or a folder on a file system, then the rule rewrites the URL to Index.php and determines which content to serve based on the REQUEST_URI server variable that contains the original URL before it was modified by the rule.

Test the Rewrite Rule

After the rewrite rule is saved to the Web.config file, open a Web browser, and then click any one of the permalinks in WordPress blog. You should see the correct content returned by the Web server for every permalink.


Figure 6: Blog welcome page

Note

This article updates ' WordPress on IIS' by Eric Woersching, published on September 11, 2008.

Links for Further Information

  • Setting up FastCGI for PHP.
  • Using FastCGI to Host PHP Applications on IIS 7.0 and Above.
  • Installing PHP on Windows Vista with FastCGI.
  • Installing FastCGI Support On Server Core.
  • FastCGI forum.
  • PHP community forum.

Topics

FileZilla is an open-source FTP-client and FTP-server developed by Tim Kosse (Germany) et.al. The FTP-client is available for multiple platforms such as Windows, Linux and Mac OS X, and the FTP-server is available for Windows only.

Wordpress Server Status

FileZilla FTP-client may be used to manage your WordPress site by uploading and downloading files and images. This article will guide you through the process of installing and using FileZilla FTP-client to manage your WordPress site.

For more information about FileZilla, view the list of features at the official site.

Why would I want to download FileZilla? Why would I want to download FileZilla?

It’s fast, stable, easy to use, and free. FTP is a standard way to upload or download files between your local system and your web server, and FileZilla is a solid client for everyday FTP needs.

Wordpress Server Log Files

Setting Up the Options Setting Up the Options

You will need the following details regarding the FTP account on your server:

  1. Your website ftp address (usually ftp://example.com if your URL is http://example.com)
  2. Your ftp username
  3. Your ftp password

If you do not already have an FTP account on your server, use your cPanel or website administration tool to set one up — it will have all the information needed. If in doubt, ask your host for directions or help regarding an FTP account for your use to access your webspace.

Before connecting the FTP server, you should register it in the Site Manager. Once you register it, you just one click to connect the same server.
To register the FTP server, follow below steps:

Wordpress Server Status

  1. Click File > Site Manager from FileZilla main window.
  2. Click New Site then name the new connection to what you want (example: My blog server).
  3. Enter the ftp address for your website in Host box. Usually, if your website is http://www.example.com, then the ftp address will be ftp://ftp.example.com or ftp://example.com. Note: Do not put a / at the end unless specifically told to do so on your cPanel or by your host.
  4. Leave the Port box blank. Default value 21 should be used. Only change these if your FTP account details explicitly indicate that you should.
  5. Select Normal from Logon Type box
  6. Enter the full username that you have been given in User box. It may be just a username, or it may look like an email address (but it isn’t one). For instance, it would look similar to user or [email protected].
  7. Enter password. Remember that the password might be case sensitive.
  8. Click OK.

Connecting Connecting

Wordpress Serverumzug

In the Toolbar of FileZilla main window, Select the down arrow of most left icon “Open the Site Manager”, and select your FTP server from drop down list.
Or, start Site Manager from File > Site Manager, select your FTP server and click ‘Connect’.

If all is well, then in the top window of FileZilla, you will have seen a series of messages, and in the large window, you will see a listing of the files will appear.

Troubleshooting Troubleshooting

If you had a problem, then it is time to go troubleshooting!
Look at the top area of FileZilla main window and check the messages.

  1. If there was no attempt to connect, then the ftp address is wrong. All it needs is one character to be incorrect and it will fail. Click the red X, break the connection and click the Site Manager to check what you entered.
  2. If it says that the user does not exist or Incorrect Login and so on, check the Site Manager setting and ensure that it reflects what your FTP account and password details provided by your host says, or use the webserver administration interface provided to you by your host to re-check the existence of the FTP account. Check your password carefully. It is case sensitive(capitals and small letters). You may want to ask your web host for some assistance, too.
  3. If it says Could not retrieve directory listing you may need to change the Transfer Setting. From Site Manager, select your FTP Server and click Transfer Settings’ tab. Select Passive”’ from Transfer mode and click OK.

Resources Resources

>> NEXT:Next Page : Uploading WordPress to a remote host