Re: Pretty URL's SOLVED
Posted: Sun Apr 04, 2010 5:19 pm
Are you running on linux or widows server?...
Content management as it is meant to be
https://forum.cmsmadesimple.org/
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]
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
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...
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.