markb's Avatar
markb 4
66 Asked
93 Answered
29 Best
0
No one has voted on this question yet :(
2 years, 11 months ago

How to remove "index.php" from all URLs on my site?

my setup:
-Microsoft IIS 7
-Wordpress
-hosting on godaddy

I can't use the standard mod_rewrite module from apache, since I'm using IIS 7. Microsoft apparently has a URL rewrite module, but how would I go about installing it?
Tip for best answer: M$0.00
Separate topics with commas, or by pressing return. Use the delete or backspace key to edit or remove existing topics.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$

What is Your Answer?

0
0
0

1 Answer

0
christhomson's Avatar
christhomson | 2 years, 11 months ago
4
You may want to check out the "Using Permalinks" page on the WordPress codex. They include some information about using Microsoft's URL rewrite module on IIS servers, with WordPress.

You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.

M$
markb's Avatar
markb | 2 years, 11 months ago Report

I figured out the problem. It was simple a bit more expensive.

To use any kind of mod_rewrite functionality on an IIS 7 site with Wordpress, there are four conditions that need to be met:

1. PHP is running via FastCGI
2. PHP version 5 is used
3. URL Rewrite Module 1.1 is installed and enabled.
4. Wordpress 8 or the beta version installed and running.

Because I am hosting with godaddy, my problem started right at #1: godaddy *only* includes FastCGI on their Linux plans, not on any IIS plans. Because of this, I simply ponied up $20 to upgrade from IIS 7 to a Linux Delux plan, which used Apache and comes with the true mod_rewrite module already enabled.

I was then able to go into the "permalinks" menu in Wordpress 7 admin, and change the permalink structure to "pretty permalinks," i.e.:

sitename.com/2009/06/02/post-name-here

No more index.php crap.

I didn't even need to update the .htaccess file, as it appeared to have been done automatically.

Bottom line: if you're using IIS, wordpress, are hosting with godaddy and you want pretty URLs, upgrade to a Linux and get off IIS.

This post was helpful on the subject:
http://ruslany.net/2009/05/iis-7-url-rewrite-module-support-in-wordpress-28/

Report Abuse

Post Reply Cancel

Learn something new with our FREE educational apps!

Private lessons in the comfort of your own home. Get back in shape or finally pick up a guitar with our great experts guiding you the whole way!
Learn Guitar
Learn Hip Hop
Learn Pilates