Godaddy and pretty url's
Permalink
I know I'm probably beating a dead horse here but I have been trying to get pretty url's to work for some time now with godaddy's linux grid hosting. I enabled pretty url's and added the code to my .htaccess file but to no avail. I even tried some of the tricks here in the forms such as creating a pretty_url.php and further modifying my site.php or .htaccess but nothing seems to be working. When I do enable pretty urls it breaks the site. When I tried a few of the tricks like the pretty_url.php it fixed pretty urls but broke the css and images. If anyone could point me in the right direction I can handle the rest. Thank you in advance for the help.
I have that in the php5.ini at the root of the hosting account. My site is an aliased domain installed in a sub-directory. Do I need a php5.ini in the sub-directory with the same syntax?
Never mind I tried putting php5.ini in the sub-directory as well and that was a no-go. I'm really at a loss of what to do here. Does the site need to be the primary on the account to make this work?
Hi - I have both php.ini and php5.ini in the root
Just remembered - I also had to slightly amend the .htaccess - see the last line...
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index\.php?/$1 [L]
</IfModule>
Just remembered - I also had to slightly amend the .htaccess - see the last line...
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index\.php?/$1 [L]
</IfModule>
Sorry this is all user error. My server was recently migrated in the back-end without me being notified by godaddy so fastcgi was re-enabled. I disabled fastcgi, enabled pretty urls, and copied the syntax into my .htaccess and all works now. Thank you for your time though.
Super embarrassing considering I work for them. I'm going to go bang my head against a keyboard for a bit then ill submit this to be added to our documentation because I know we have nothing on concrete5 and prenutty url's
thanks
I continue to have this same issue
I have tried both versions of the last line of .htaccess
RewriteRule . index.php [L] and RewriteRule ^(.*)$ index\.php?/$1 [L]
Attached is my htaccess in rtf format
I've tried putting a value for RewriteBase but then I get a 500 error
What is odd is that it worked on the temporary DNS provided by GoDaddy but now does not work on the live site.
Any additional help?
Thanks.
I have tried both versions of the last line of .htaccess
RewriteRule . index.php [L] and RewriteRule ^(.*)$ index\.php?/$1 [L]
Attached is my htaccess in rtf format
I've tried putting a value for RewriteBase but then I get a 500 error
What is odd is that it worked on the temporary DNS provided by GoDaddy but now does not work on the live site.
Any additional help?
Thanks.
Hi - A few questions... do you have the amended config in your php.ini
cgi.fix_pathinfo = 1
Also, which version of C5 are you using?
Cheers
cgi.fix_pathinfo = 1
Also, which version of C5 are you using?
Cheers
hey
you work for godaddy?
They upgraded me without my knowledge from apache 2.2. to 2.4.
Pretty urls doesn't work. Have tried sooo many things...please help...godaddy are just not interested.
( how do you turn off fastcgi? There is no option I can see on cpanel..
thanks so much
Phil
you work for godaddy?
They upgraded me without my knowledge from apache 2.2. to 2.4.
Pretty urls doesn't work. Have tried sooo many things...please help...godaddy are just not interested.
( how do you turn off fastcgi? There is no option I can see on cpanel..
thanks so much
Phil
You just need to create a php5.ini with cgi.fix_pathinfo = 1
Works a treat. Let me know if your still having problems