Re: [E-devel] I have a sugestion for E website: use mod_rewrite for better urls

2010-03-06 Thread The Rasterman
On Tue, 26 Jan 2010 13:24:34 -0200 Leandro Santiago said: > I wrote a .htaccess file: > > It worked for me with a en.org copy on my computer running Apache2: > > > RewriteEngine On > > RewriteRule ^(about(/[[:alnum:]]*)?|news|download|support|contribute| > contact|docs|index)/?$ p.php

Re: [E-devel] I have a sugestion for E website: use mod_rewrite for better urls

2010-01-26 Thread Gustavo Sverzut Barbieri
On Tue, Jan 26, 2010 at 1:24 PM, Leandro Santiago wrote: > I wrote a .htaccess file: > > It worked for me with a en.org copy on my computer running Apache2: > > >    RewriteEngine On > >    RewriteRule ^(about(/[[:alnum:]]*)?|news|download|support|contribute| > contact|docs|index)/?$ p.php?p=$1&l

Re: [E-devel] I have a sugestion for E website: use mod_rewrite for better urls

2010-01-26 Thread Leandro Santiago
I wrote a .htaccess file: It worked for me with a en.org copy on my computer running Apache2: RewriteEngine On RewriteRule ^(about(/[[:alnum:]]*)?|news|download|support|contribute| contact|docs|index)/?$ p.php?p=$1&l=en RewriteRule ^news/([[:digit:]]*)$ p.php?p=news/show&l=en&news

[E-devel] I have a sugestion for E website: use mod_rewrite for better urls

2010-01-25 Thread Leandro Santiago
I think that the urls in Enlightenment website could be more "legible". For example, the news home's url is: http://enlightenment.org/p.php?p=news&l=en But http://enlightenment.org/news/ is much better http://enlightenment.org/p.php?p=news/show&l=en&news_id=17 Could be: http://enlightenment.