[wp-hackers] permalinks with pathinfo
Dagan Henderson
Dagan.Henderson at epyllion.com
Tue Nov 22 21:54:45 UTC 2011
I haven't played with WordPress on IIS, but I'm assuming the issue relates to the fact that WordPress relies on mod_rewrite in Apache to disguise index.php. Which version of WordPress did you install? There's an IIS-specific version available here: http://wordpress.org/wordpress-3.2.1-IIS.zip
-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of IC IC
Sent: Tuesday, November 22, 2011 1:48 PM
To: wp-hackers at lists.automattic.com
Subject: [wp-hackers] permalinks with pathinfo
With a new godady windows account, and with a fresh installation of wordpress with no plugins activated, I am having the following issue.
When I go to the permalinks screen, I get to see this
Day and name http://mysite.com/index.php/2011/11/22/sample-post/
Month and name http://mysite.com/index.php/2011/11/sample-post/
as opposed to this;
Day and name http://mysite.com//2011/11/22/sample-post/
Month and name http://mysite.com/2011/11/sample-post/
Obviously, that index.php in the middle is not my choice. The question how did it get there? It doe not appear with my other wordpress/godaddy sites.
If I click on the "day and name" common settings option for exammple, the custom structure is populated as /index.php/%year%/%monthnum%/%day%/%postname%/
and when I save those changes, ( thoug I do not want that structure), the site works; all permalinks are updated to work with the name structure. so my contactus page becomes http://mysite.com/contactus instead of the
page_id=3
When I select custom structure and make it /%postname%/ ( as I wanted) , I end up getting the permalinks to be updated as I like except that I end up 404s on all urls. When I insert the index.php in the middle on a 404 URL, wordpress is able to find the page.
Any insight in this matter is appreciated.
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list