Referrer query string issue |
[eluser]George Ornbo[/eluser]
A client is using dotMailer to send out emails and is linking back to the site. The URLs that are generated by dotMailer are like this http://site.com/?dm_t=0,0,0,0,0 The parameter "dm_t" is always the same but the number sequence changes. This generates a 404 from CodeIgniter. Does anyone have any advice on the cleanest way to handle these referrals so that CodeIgniter doesn't generate a 404? My uri_protocol is set to: Code: $config['uri_protocol'] = "AUTO"; I've also removed index.php using Code: RewriteEngine On Thanks in advance!
[eluser]George Ornbo[/eluser]
Fixed it. Add this to your .htaccess file: Code: RewriteCond %{QUERY_STRING} . |
Welcome Guest, Not a member yet? Register Sign In |