Pretty URLs not Working on Network Solutions Hostings
Permalink 1 user found helpful
I've done probably 40+ Concrete5 installs but ran into an issue today with getting Pretty URLs to work for a site. I copied the website from a development server with another host over to the production server that is with Network Solutions and the issue popped up where Pretty URLs stopped working. On the development server the pretty URLs worked just fine and on the production server Pretty URLs check box is checked and the .htaccess file has the following code in it:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
Any suggestions what might be a fix for this? Never seen this one before. I've read some forum posts from people that experienced this issue on other hosts but the solutions posted haven't worked yet. I'm not a Network Solutions fan and if it wasn't for the fact that the client insisted on installing with NS it wouldn't be hosted on that server.
Thanks for your help!
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
Any suggestions what might be a fix for this? Never seen this one before. I've read some forum posts from people that experienced this issue on other hosts but the solutions posted haven't worked yet. I'm not a Network Solutions fan and if it wasn't for the fact that the client insisted on installing with NS it wouldn't be hosted on that server.
Thanks for your help!
I'm just going to throw out some common trouble shooting for mod rewrite issues. So I'm not trying to insult your know how, just putting out all I know. :-)
What OS is this on, and if Unix/Linux, what flavor?
In the httpd,conf and/or vhost conf (or however the apache/vhost conf is named) contain a Directory tag with "AllowOverride All" for the C5 directory?
What are the permissions on the .htaccess file currently?
Check if its enabled: sudo a2enmod rewrite
- Josh