How do I rewrite:
domain.com/index.php/about
to:
domain.com/about
RewriteRule ^about$ /index.php/about
will be the simplest one.
RewriteRule ^([^/]+)$ /index.php/$1
for a more generic treatment.
How do I rewrite:
domain.com/index.php/about
to:
domain.com/about
RewriteRule ^about$ /index.php/about
will be the simplest one.
RewriteRule ^([^/]+)$ /index.php/$1
for a more generic treatment.
精彩评论