Can't get pretty URL's working
Permalink
Hi - I've tried inputting the code supplied after turning on pretty url's into my .htaccess file and it doesn't work! The code is this
When I click on a link (other than the home link) I get a error message saying 'No input file specified.' Any suggestions please?
I'm using a redirect as well in .htaccess to take people into the concrete directory. I wonder if this is messing it up?
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase /cms/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] </IfModule>
When I click on a link (other than the home link) I get a error message saying 'No input file specified.' Any suggestions please?
I'm using a redirect as well in .htaccess to take people into the concrete directory. I wonder if this is messing it up?
Redirect /index.htm http://www.mydomain.com/cms/
I hope I've read this right - I've got my redirect .htaccess happening on the site root and then another .htaccess file in the /cms directory which says this
However its still not working and coming up 404 file not found error. Any other ideas??
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php [L] </IfModule>
However its still not working and coming up 404 file not found error. Any other ideas??
Is mod_rewrite Apache Module enabled? Is it also allowed for your site or particular host?
I ask this because when I locally install Apache, I have to manually enable mod_rewrite and all it for the virtual host I'm using.
On Debian I'd do something like:
# a2enmod rewrite
then edit the config file looking for AllowOverride None
and change it to
AllowOverride None
I ask this because when I locally install Apache, I have to manually enable mod_rewrite and all it for the virtual host I'm using.
On Debian I'd do something like:
# a2enmod rewrite
then edit the config file looking for AllowOverride None
and change it to
AllowOverride None
I've give up for now I can't be bothered with it - its so not plug and play. I'll just have to have ugly urls - can't be doing with the hassle...
This is a long shot but are you hosting with Heart Internet?
No not with heart have a cpanel system
This thread might be helpful:http://www.concrete5.org/community/forums/customizing_c5/pretty_url...
In a nutshell, pretty urls won't work with php fastcgi enabled. At least as of v 5.3.x. I haven't tried again with 5.4.
In a nutshell, pretty urls won't work with php fastcgi enabled. At least as of v 5.3.x. I haven't tried again with 5.4.
im with heart internet and cant get pretty urls to work, i came across the post looking for heart internet...do you know how to resolve it on heart internet by any chance ive tried everything but cant get it to work, id appreciate any help
If you're using the redirect, it should be from the site root.
This way it should work fine, I guess.