[updated March 2015] You will notice that this site which runs using WordPress that there is no index.php in the URL when you are directly addressing a page/post or when you are linking to other pages/posts. This can achieved using the following configuration.

There are two step 1’s, depending on whether you/your web provider is using Apache or Zeus scripting. To find out which server type are using (and loads of other information too, see Step 3 below).

Step 1: If your web server is using Zeus then:

Create a text file “rewrite.script” and add the content:

to the file and place it in your “Web” directory (e.g., this is the naming format on Register365/Hosting365)

Step 1: If your web server is using Apache then:

As of 2014/15, most Register365 accounts now use Apache rather than Zeus. Modify your .htaccess file in the FTP root directory (i.e., the directory that you are placed in when you FRP to the site below “web”). It may already contain configuration information (that is the case for the first line below) and add the content between the # BEGIN WordPress and # END WordPress comments below:

Then upload the edited file it back to your FTP root directory. Remember that if you use the server tools to update the version of PHP that your account is using that you may have to make this change again.

Step 2: Changing your WordPress settings:

In the WordPress administrative interface, go into Settings->Permalinks and change the “Common Settings” to “Custom Structure” and enter:

or whatever other custom URL you are using. The important thing here is to remove the index.php from the URL.

Step 3. Finding out Server Information

The quickest way to find out detailed information about your server configuration is to create a script called info.php (or any_other_name.php) that contains the following line of code:

FTP this file to your server web directory and then use your web browser to call the script e.g. www.derekmolloy.ie/info.php (this link will not work for security reasons!). When you call the URL you will get an output such as in the figure below:

Towards the bottom of this long page you will find “PHP Variables” and one of the entries is the SERVER_NAME, which is typically either Apache or Zeus. In Chrome just use Ctrl-F and search for SERVER_NAME.