Welcome Guest, Not a member yet? Register   Sign In
How to "fake" query strings in URLs?
#1

[eluser]krif[/eluser]
It's a little bit late here, so sorry if this question has an obvious answer.

I am using mod_rewrite to get rid of the index.php in my CodeIgniter URLs and just for beautification I add an ".html" suffix on my URLs.

Relevant line in .htaccess:

RewriteRule ^(.*)$ /index.php/$1 [QSA,NC,L]


Now let's say I have an example url like

http://www.example.com/samplepage.html

From different pages, I would like to link to this page with a different "faked" query string for tracking user click paths. Examples:

http://www.example.com/samplepage.html?ref=home
http://www.example.com/samplepage.html?r...eotherpage

Is what I want to achieve even possible with CI? Or do I rather have to apply some more sophisticated mod_rewrite voodoo?


Messages In This Thread
How to "fake" query strings in URLs? - by El Forum - 04-28-2009, 05:38 PM
How to "fake" query strings in URLs? - by El Forum - 04-28-2009, 08:31 PM
How to "fake" query strings in URLs? - by El Forum - 04-28-2009, 08:36 PM
How to "fake" query strings in URLs? - by El Forum - 04-28-2009, 08:53 PM
How to "fake" query strings in URLs? - by El Forum - 04-29-2009, 02:18 AM
How to "fake" query strings in URLs? - by El Forum - 04-29-2009, 09:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB