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 :)

  1. Embrance

    Monday, April 14, 2008 - 01:01:28

    So now we have 2 options for this?Woooohooo!

  2. Tinh

    Monday, April 14, 2008 - 10:46:12

    I am upgrading to alph3 and modify two files that you suggest and hope it will work soon. Thanks

  3. Joako9205

    Tuesday, April 15, 2008 - 15:47:29

    E S P E C T A C U L A R

    =)

    Flatpress rockS!

  4. hick

    Wednesday, May 21, 2008 - 16:00:45

    Just wanted to supply some info for people having trouble getting pretty url’s without mod_rewrite to work. In newer versions of the Apache server there’s an AcceptPathInfo directive that by default does not allow this, but you can set the directive to ON to get this to work. In iis there’s some settings similar to AcceptPathInfo that will make it work too.

Add comment

Fill out the form below to add your own comments

User data





Add your comment