Pretty Urls
Permalink
Hello,
I know there are several threads about pretty urls, but I just can't get it to work.
I am using the latest C5 download and a clean installation on CentOS 5.
I have an .htaccess file at /var/www/html/cmsdem/.htaccess
# -- concrete5 urls start --
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
# -- concrete5 urls end --
I have turned on Pretty Urls and the only page that works is the home page.
Bryan
I know there are several threads about pretty urls, but I just can't get it to work.
I am using the latest C5 download and a clean installation on CentOS 5.
I have an .htaccess file at /var/www/html/cmsdem/.htaccess
# -- concrete5 urls start --
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
# -- concrete5 urls end --
I have turned on Pretty Urls and the only page that works is the home page.
Bryan
I had the same problem. However, I am not allowed to mess with my .htaccess file and had to put it in the php.ini file. Could you explain you fix in more detail please.
I had the same problem. However, I am not allowed to mess with my .htaccess file and had to put it in the php.ini file. Could you explain you fix in more detail please.
It works. Thanks for posting this.
I had to adjust the httpd.conf file.
AllowOverride None
change to
AllowOverride All
Restart httpd
Now Pretty Urls work