Search  
   
Browse by Category
 
Netfirms 24/7 Support .: SITE: DESIGN, PUBLISHING & FTP .: A. Web Design Tools .: Netfirms WordPress .: How do I create search engine safe URLs in Wordpress?

How do I create search engine safe URLs in Wordpress?

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 

How helpful was this article to you?


.: Powered by Lore 1.5.6
Visit Netfirms.com Web Hosting | Copyright © 1998 - 2009 Netfirms, Inc. All Rights Reserved.