[eluser]Unknown[/eluser]
I have this CodeIgniter website, where htaccess redirect is enabled, so pages look like
or
Code:
website.com/article/14
or whatever
I can pass a GET parameter for any page, like
Code:
website.com/contact?parameter=32
or
Code:
website.com/article/14?parameter=32
or whatever
but for homepage:
Code:
website.com/?parameter=32
redirects me to 404
I've tried serveral ways to make it accept GET parameters on homepage, but as far as I think, it tries to access a page named "parameter" and redirects me to 404 because of not finding it.
I've tried to add a condition in htaccess something like "redirect only if there is not the parameter 'parameter' set":
Code:
RewriteCond %{QUERY_STRING} !^/index.php?parameter=(.*) [NC]
RewriteRule ^(.*)$ /index.php?/$1 [L]
But no chance.
How can I achive this?
Thank you in advance!