History of PrettyUrls
Version 8
PrettyUrls
Use of URL rewriting (mod_rewrite) to generate cleaner site URL's
PrettyUrls use the Apache webserver's mod_rewrite module to handle URL rewriting to convert browser references such as
http://www.example.com/blogs/1
to web server references such as
http://www.example.com/blogs/index.php?post_id=1
So far Blogs, Wiki, Fisheye and Users have had code added to handle the feature:
Look for PrettyUrls in Admin -> Kernel -> Features
(mydomain.xx/kernel/admin/index.php?page=features)
NB: If mod_rewrite is not activated, activating this feature will generally disable all the links in left and right hand columns.
mod_rewrite comes as part of apache by default and has to be enabled in your httpd.conf file:
goes to
this should be done for the / dir and your html dir such as /var/www/
Note:
Depending on your web server configuration, the default supplied .htaccess files may not work. One thing to try is to comment out the "RewriteBase" line in the file. For example:
goes to
http://www.example.com/blogs/1
to web server references such as
http://www.example.com/blogs/index.php?post_id=1
So far Blogs, Wiki, Fisheye and Users have had code added to handle the feature:
Where to find it
Look for PrettyUrls in Admin -> Kernel -> Features
(mydomain.xx/kernel/admin/index.php?page=features)
NB: If mod_rewrite is not activated, activating this feature will generally disable all the links in left and right hand columns.
About mod_rewrite
mod_rewrite comes as part of apache by default and has to be enabled in your httpd.conf file:
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
goes to
<Directory />
Options FollowSymLinks
AllowOverride FileInfo
</Directory>
this should be done for the / dir and your html dir such as /var/www/
Note:
Depending on your web server configuration, the default supplied .htaccess files may not work. One thing to try is to comment out the "RewriteBase" line in the file. For example:
RewriteBase /wiki/
goes to
# RewriteBase /wiki/