.htaccess "segment/query style" to "query only style" mapping problem |
[eluser]dorjeduck[/eluser]
Good morning folks, hope all are well. Justed started two days ago with codeigniter and I like it a lot so far. But at the moment I run into a problem which drives me nuts, hopefully some of you can help with that. I want to pass an URL to my controller. I red several topics about that in this forum and decided to try to solve this by using query strings. My incoming http requests looks like Quote:http://goosebumps4all.net/w4you/related?...ror&page=2 So what I do in my .htaccess file is the following Code: RewriteRule ^related.phtml(.*) related$1 (The first line to get rid of the optional .phtml - I am sure that can be handled more clever)) That works so far but if I call Quote:http://goosebumps4all.net/w4you/related?...om/noerror without page query parameter I get an 404 Page not found error. Would be great if someone can give me an hint what goes wrong here or can give me some advice how to handle the URL in URI issue more clever. Thanks in advance martin |
Messages In This Thread |
.htaccess "segment/query style" to "query only style" mapping problem - by El Forum - 10-17-2008, 12:15 AM
.htaccess "segment/query style" to "query only style" mapping problem - by El Forum - 10-17-2008, 09:47 AM
|