Issue with Pretty URL's in 5.5
PermalinkI have read a couple of online forums (http://jeremeclaussen.com/blog/2010/3/30/concrete5-pretty-urls-and-dreamhost-v2-0/) and have been through and followed the steps included but to no avail unfortunately.
does anyone have any ideas what to do? when i follow the steps in the above forum my pages (other than my home page) just display an "index.php" message
HELP!!
I'm using v5.5 of C5 and when I enable Pretty URL's it tells me the .htaccess file has been updated, so I went into this file and removed all the code and pasted what you had put but that didn't work??
Any other ideas?? I would really appreciate them...
as in google.com/concrete/index.php?
if so you need to use the provided htaccess settings.
Some hosts like yahoo small business won't allow htaccess at all, so that might be your issue.
If you have pretty urls enabled and you are permitted to use .htaccess then try loggin in and out, and navigate from your dashboard navigation.
urls including index.php will always work, the htaccess thing rewrites anything that doesn't resolve into a resource(like an image) and hands it to concrete5(it's dispatcher or effectively index.php) to try and process
Have just standard hosting and can easily access and edit my .htaccess file.
I think it might be time for me to call my hosts to see if they are able to help, as I have tried logging out and logging in from both C5 as well as my host directory...
I appreciate your help though :)
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
Note the question make on the last rewriterule line
The real problem lies in that everyone's system installation is different and the .htaccess file will be different for many. When you turn pretty urls on, concrete5 automatically adds a generic .htaccess file to your root directory. Everyone here is talking about the changes required to make to their .htaccess file and each one's needs are different.
I think that this is an issue that should be addressed by the c5 creators. If they are going to include pretty urls in their package, they need to at least research all possible scenarios of Server configurations and offer a multitude of suggested .htaccess configurations. Also, since each time pretty urls are turned on it overwrites the current .htaccess file, I suggest that the auto writing of the .htaccess file to the root directory be made an option in case someone needs to "cut n' paste" their alternative selection.
and I tried many of them... ;)