Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Wordpress on Windows 2008 R2, IIS7 - remove "index.php" from links, keep pretty permalinks

Posted on 2014-09-22
2
Medium Priority
?
555 Views
Last Modified: 2014-10-09
We have modified our Wordpress install to allow for pretty permalinks, but now, every web page url includes index.php as part of the address - how do we modify config to eliminate this, so our SEO tags and links all blend nicely?

Wordpress 3.9  Windows 2008 R2  IIS 7.5  

Permalink Settings in Admin
Using Custom Structure
http://name.domain.com
/index.php/%year%/%month%/%day%/%postname

(That had to be inserted to make permalinks run correctly.)
0
Comment
Question by:FocIS
2 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 2000 total points
ID: 40354683
So this is a common issue with WordPress on IIS.  The Codex has an article on it:

http://codex.wordpress.org/User:ringmaster/IIS#Configuring_Permalinks

And there is also a WordPress support thread that has a working web.config sample that should do what you want:

 https://wordpress.org/support/topic/removing-indexphp-in-permalinks-using-iis-8
0
 
LVL 2

Author Closing Comment

by:FocIS
ID: 40371307
Exactly the answer needed - Thanks!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New Relic recently released its Synthetics product that allows for the creation of performance monitors that periodically test a site's performance. If you wish to test an interactive workflow New Relic employs Selenium WebDriverJS to run those test…
While Plesk offers many potential benefits to website administrators, including compatibility with Windows Server and other leading technologies, the company has also been working to differentiate it from other control panels for content management…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question