Godaddy URL Issues

Permalink
I am working on a godaddy server and I am having nothing but issues. The main problem that I am having is that when I put in a url like example.com/page it will just reload the home page but still have the /page next to it.

I am using an .htaccessfile that has this code in it.

# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]


I have played around an little bit and I think that the problem is that the pretty url requests are being blocked. I am not sure what to do.

 
monsieurRickman replied on at Permalink Reply
Just an update. When I click on a link it puts the pretty url in. So it knows that I am using pretty urls it just doesn't send me to the page that it should.
Brainakazariua replied on at Permalink Best Answer Reply
Brainakazariua
Make sure your .htaccess has this:

<IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteBase /
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteRule .* index.php [L]
   </IfModule>


In concrete/libraries/request.php replace

$path = Request::parsePathFromRequest('ORIG_PATH_INFO');


with

$path = Request::parsePathFromRequest('REDIRECT_URL');
if (!$path) {
$path = Request::parsePathFromRequest('ORIG_PATH_INFO');
}


This solution is originaly offered by Olay here:http://www.concrete5.org/community/forums/customizing_c5/pretty_url...
monsieurRickman replied on at Permalink Reply
Thank You very much. It works like a charm