Pretty URL's SOLVED
Re: Pretty URL's SOLVED
Are you running on linux or widows server?...
Re: Pretty URL's
Sorry, but that's not the only code which works - i wrote it in some topics jet that I had troubles with this .htaccess . and my file only has this inside and it works perfictly ( one importeant thing are the "[NC]": And after thes i only say, where the 3012, 401, ... sites should go (except the 404).replytomk3 wrote: for mod_rewrite to work, you must have all of that in your .htaccess
Code: Select all
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
Re: Pretty URL's SOLVED
Linux (Ubuntu 9.10)
@owr_bgld: This code works for me, unfortunately not ...
$config['url_rewriting'] = 'internal'; --> internal instead of mod_rewrite works for me ...
but I want to have mod_rewrite
@owr_bgld: This code works for me, unfortunately not ...
$config['url_rewriting'] = 'internal'; --> internal instead of mod_rewrite works for me ...

Last edited by maxxbu on Mon Apr 05, 2010 10:25 am, edited 1 time in total.
Re: Pretty URL's
I have absolutely no idea what you are talking about. And if you have problems with having this code in your .htaccess, contact your hosting provider immediately.owr_bgld wrote:Sorry, but that's not the only code which works - i wrote it in some topics jet that I had troubles with this .htaccess . and my file only has this inside and it works perfictly ( one importeant thing are the "[NC]": And after thes i only say, where the 3012, 401, ... sites should go (except the 404).replytomk3 wrote: for mod_rewrite to work, you must have all of that in your .htaccess
So when I read that only this .htaccess like written a few topics above is the only one - that's not the only possible sheme of the .htaccess
Re: Pretty URL's SOLVED
mod_rewrite only works if you have an .htaccess file in root, I just did a site where they won't allow any htaccess files in any of the folders, stupid yahoo business host...
Re: Pretty URL's SOLVED
Heard you talking on the IRC 'bout this. Well, just tell the customer you will be doing a transfer of hosting as well!!Dr.CSS wrote: mod_rewrite only works if you have an .htaccess file in root, I just did a site where they won't allow any htaccess files in any of the folders, stupid yahoo business host...
Re: Pretty URL's
Why shall I contact them (three different) - only because it needs the [NC] at the end - if we put the blinkers away we can see that there can be different ways the .htaccess works (except you are not allowed using .htaccess)replytomk3 wrote: And if you have problems with having this code in your .htaccess, contact your hosting provider immediately.
Re: Pretty URL's SOLVED
owr_bgld, I don't really know what you mean. And I can't help If I don't know what you are talking about...