PHP News Reader v2.6.3
Release Date: 2005/09/22
|PHP News Reader - URL Rewriting with Apache/mod_rewrite||
URL Rewrite Function (first appeared in PHP News Reader v2.2.0)
URL Rewrite is a cool function that make the link more readable, and this is also known as a search-engine friendly feature.
For example, the link to read an article is:
If you enable the URL rewriting, the link will become:
With pnews version greater than v2.2.1 and if news.nopy.com
is your default
news server, the link even becomes shorter:
PHP News Reader includes an access control file ".htaccess" to do the transformation for you.
To enable URL Rewrite, you need:
- Apache web server with "mod_rewrite" enabled
- Valid setting for AllowOverride at the program's directory in httpd.conf
- Setting $CFG["url_rewrite"] to true in config.inc.php
For more information about Apache's mod_rewrite, visit http://httpd.apache.org/docs/misc/rewriteguide.html
Check the Installation Manual for other configuration parameters.