asp.net hosting
 
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search

Support Center » Knowledgebase » Resellers-Websellers » Content Management Systems (CMS) » URL Rewriting in Wordpress using ISAPI

 URL Rewriting in Wordpress using ISAPI
Solution
One of the easiest and most effective solution for URL rewriting for Wordpress
in a Windows hosting environment is to use ISAPI Rewrite. ISAPI-rewrite 3.0 is
included in all of our shared hosting plans.

1. Login to the admin of your Wordpress control panel and click on Options >
Permalinks. Select the "Custom" radio button and enter the following in the
fields below the radio button:

Custom Structure: /archives/%year%/%monthnum%/%day%/%postname%/
Category base: /archives/category
Tag base: /tags

2. Create a .htaccess file using Notepad or any standard text editor (not
Microsoft Word) and paste in the following code. Once completed, upload the
file to the root directory of your blog (typically the /wwwroot folder or in
some cases /wwwroot/blog):


# Helicon ISAPI_Rewrite configuration file
# Version 3.0.0.21

# BEGIN WordPress
# <IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
# </IfModule>
# END WordPress

For further information on ISAPI Rewrite, please reference:
http://www.isapirewrite.com/docs/





Article Details
Article ID: 772
Created On: May 14 2008 06:20 PM

 This answer was helpful  This answer was not helpful

 Back
 
 Article Options
 
Home | Register | Submit a Ticket | Knowledgebase | News | Downloads