Fork me on GitHub

Friday, April 11, 2008

Blog / General / News / ‘PathInfo’ URLs in rev140

‘PathInfo’ URLs in rev140

just to let you know, less-ugly-urls[ยน] (no mod_rewrite) are now available in SVN rev140 by setting the PRETTYURLS_PATHINFO constant in plugin.prettyurls.php to true; then your urls will look like

http://example.com/flatpress/index.php/2008/04/11/my-site/

files that changed are two:

you should be able to test them with alpha3 (I can’t assure it will work older alphas, and they probably won’t work with even older versions)

[ยน] well, really I don’t think that standard URLs are ugly anymore, with the new “?x=…” syntax :)