To create search-engine friendly URL's for your website created in WordPress, please follow these steps:
1. Login to the Netfirms Control Panel at https://controlpanel.netfirms.com 2. Click Applications
3. Click WordPress
4. For the WordPress installation you need to configure search-engine friendly URL's, click the corresponding Admin link to login to
2. Click Options
3. Click Permalinks
4. Enter the structure using the appropriate tags
5. Click Update Permalink Structure
NOTE: WordPress v2.0 has reported issues with WordPress v2.0 Permalinks and PHP 5. Therefore we suggest that you activate PHP version 4 from your Netfirms Control Panel if you wish to use WordPress permalinks.
For more information about Wordpress permalinks, please browse directly to the Wordpress website.
Below is a sample of the coding that should appear in your .htaccess file when you have configured permalinks for your Wordpress (where wordpress_directory is the directory where you installed Wordpress to):
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpress_directdory/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !index.php
RewriteRule (.*) /wordpress_directory/index.php/$1 [L]
</IfModule>
# END WordPress
Or, if your Wordpress site was installed to the root folder so it is accessed via http://www.yourdomain.com
only, your
.htaccess file would look like the following:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !index.php
RewriteRule (.*) /index.php/$1 [L]
</IfModule>
# END WordPress