[FIXED] cmsms pretty urls not working
Posted: Sat Jul 21, 2007 6:08 pm
Hi,
I have the following .htaccess file in my web directory:
(The standard one, basically).
But it seems to be being totally ignored by apache. All the correct httpd.conf settings have been applied to enable mod_rewrite but it does not workÂ
I did have it working, but then installed wordpress into a subdirectory which seemed to stop the pretty urls working (but could be totally unrelated). I have had this 'CMSMS with Wordpress in a subdirectory' work before but I've done something to stop this one working. Any thoughts?
Thanks,
Chris
I have the following .htaccess file in my web directory:
Code: Select all
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.
RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+)$ index.php?page=$1 [QSA]But it seems to be being totally ignored by apache. All the correct httpd.conf settings have been applied to enable mod_rewrite but it does not workÂ
I did have it working, but then installed wordpress into a subdirectory which seemed to stop the pretty urls working (but could be totally unrelated). I have had this 'CMSMS with Wordpress in a subdirectory' work before but I've done something to stop this one working. Any thoughts?
Thanks,
Chris