Home -> Law Blog Directory -> Legal Marketing & PR Blogs -> PaperStreet Web Design: SpeakOut
(866) 635-2689 for Personal Injury or (866) 635-9402 for Criminal Defense
Find a Local Lawyer
Divorce (866) 635-6190
Personal Injury (866) 635-2689
Criminal Defense (866) 635-9402
Legal Marketing & PR
: PaperStreet Web Design: SpeakOutWordpress URL Rewrites for Windows IIS - How to Remove index.php Using HTTPD.ini file
By Peter Boyd
Wordpress can be run on a Windows server and runs well. The only issue is the PESKY PESKY index.php that appears in the URL path.
If you have Helicon’s ISAPI Rewrite installed (which you should if you are running a Windows server) with the HTTPD.ini file, then simply add in this code to the httpd.ini file:
#Rewrite wpcontent path (stylesheet, images, admin)
RewriteRule /blog/wp-(.*) /blog/wp-$1 [I,L]
#Removes index.php
RewriteRule /blog/(.*)$ /blog/index.php/$1 [I,L]
Pretty easy. The first line of code allows all your CSS, images, and admin to work. The second line of code removes the index.php. It works and that is all the is needed to get rid of /index.php in the file path.
Two notes:
1. Our permalink path in Wordpress is /%postname/. Just change that to whatever you need.
2. Our blog directory is called /blog/. Just change that to whatever you need.
3. If the above does not work for you, try this line of code too: RewriteRule /blog/(.*)$ /blog/index.php\?/$1 [I,L]
Full post as published by PaperStreet Web Design: SpeakOut on March 24, 2009 (boomark / email).
Holiday Inn Express
Complimentary simplySmart™ "Remove" Make Up Remover Recalled
Chrysler
Defective Jeep Windows
Windows Software
Microsoft fined $1.3 billion for failing to comply with the European Union's antitrust order.
Furloughed Workers
File Employment Lawsuits
Washington Mutual Bank Collapse
May File for Bankruptcy
US Postal Service Workers
File Labor and Wages Class Action

EU Considering Requiring an IE-Less Version of Windows:
There You Have It — AVG Thinks Windows Is A Virus
Alert: Critical security hazard for MS Windows users
Windows 7: Is It the Silver Lining in the Vista Cloud
Windows 7 Will Be Called Windows 7








