Pretty URL doesn't work..
Permalink 1 user found helpful
Ok.. im confused. I use the Pretty URL config to hide the index.php. I look at the .htaccess file and see it adds it.. Ok thats good.. BUT...
When I do that, and say a page is mysite.com/index.php/cards , once i add the pretty url and it removes the index.php from the url, the pages don't show up and it says.. Page not specified..
define('URL_REWRITING_ALL',true);
Added that under the config/site.php
To fix it...
So now when I combine the 2 steps above, the website shows the content, but it's all pushed left on screen, the bg is white and when i click on a link it again says page not specified.
So pretty url doesn't work for me. So how can i remove the index.php? Again to clarify, I used the pretty url setting, and it adds the code automatically in htaccess. But.. still doesn't work correctly..
Any ideas on why it isn't working ??
When I do that, and say a page is mysite.com/index.php/cards , once i add the pretty url and it removes the index.php from the url, the pages don't show up and it says.. Page not specified..
define('URL_REWRITING_ALL',true);
Added that under the config/site.php
To fix it...
So now when I combine the 2 steps above, the website shows the content, but it's all pushed left on screen, the bg is white and when i click on a link it again says page not specified.
So pretty url doesn't work for me. So how can i remove the index.php? Again to clarify, I used the pretty url setting, and it adds the code automatically in htaccess. But.. still doesn't work correctly..
Any ideas on why it isn't working ??
I got it to finally work this time and this is how I did..
Rewrote this line under libraries/request.php their is this code:
if (!$path) {
//$path = Request::parsePathFromRequest('ORIG_PATH_INFO');
}
Now make it like this instead:
if (!$path) {
//$path = Request::parsePathFromRequest('ORIG_PATH_INFO');
$path = Request::parsePathFromRequest('REDIRECT_URL');
}
Once I did this, then added the pretty url setting in my con5, it worked beautifully.
A link to that file coding above :
http://www.concrete5.org/community/forums/documentation_efforts/sol...