You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support permalink structure without leading index.php #91
Describe your use case and the problem you are facing
Possibly related to #56? I'm not totally sure what's going on there since pretty permalinks seem to work just fine.
I am running a wp site locally with wp server. While I can set any arbitrary permalink structure using wp-cli (e.g. /%postname%/), if I want to set the permalink structure in wp-admin it must include a leading index.php:
It looks like wordpress relies on the got_url_rewrite function to decide whether our server supports url rewriting/pretty permalinks, and if not adds that leading index.php.
As far as I can find the only other place got_url_rewrite() is used is in the WP_Debug_Data class to check whether the server supports pretty permalinks.
Activity