SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Hybrid View
-
Jun 20, 2007, 19:23 #1
- Join Date
- Oct 2001
- Posts
- 439
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
how to track referrer keyword when using htaccess
Hi guys,
I have my php site with the usual htaccess setup, so that i can use urls like: /article/name
however, how does one go about tracking a keyword variable with this setup....
because if i try using: /article/name?kw=whatever
or: /article/name?q=searchquery
the url works fine, but i just cant track the kw variable (or whatever the search var might be). I guess that after the .htaccess does its work, the kw variable doesnt seem to exist in a way that i can get its value. Is there a way to do this ??
thanks in advance
-
Jun 20, 2007, 20:16 #2
- Join Date
- Jul 2005
- Location
- West Springfield, Massachusetts
- Posts
- 17,290
- Mentioned
- 198 Post(s)
- Tagged
- 3 Thread(s)
query string
Maybe the $_SERVER["REDIRECT_QUERY_STRING"] variable would work?
Big Change Coming Soon - if you want your PMs save them now!
What you need to do to prepare for our migration to Discourse
A New SitePoint Forum Experience: Our Move to Discourse
Bookmarks