Pretty URLs on single page
Permalink
I'm trying to figure out how to add pretty URLs to my single page. Using the following thread,http://www.concrete5.org/community/forums/customizing_c5/url-rewrit... I came up with this:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^object/(.*)$ index.php?cID=122&street=$1 [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
I also added the following line to config/site.php:
define('URL_REWRITING_ALL', TRUE);
But it still doesn't work. Point of notice is that this site is not in document root but in /c5.
Can somebody explain to me how to enable pretty URLs for my single page?
Thanks in advance!
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^object/(.*)$ index.php?cID=122&street=$1 [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
I also added the following line to config/site.php:
define('URL_REWRITING_ALL', TRUE);
But it still doesn't work. Point of notice is that this site is not in document root but in /c5.
Can somebody explain to me how to enable pretty URLs for my single page?
Thanks in advance!