drisate Posted July 10, 2009 Share Posted July 10, 2009 Hey guys, I am having problems with a query string causing problems with one of my codings in joomla. index.php?mod=registration When mod is equal to registration a script located inside the template replaces the page content by my custom registration form. That part works great. But when the visitor clicks on any other page before clicking my registration link this is added index.php?mod=registration&option=com_content&Itemid=41 That causes a 404 page not found error... option and Itemid seems to stick from one page to an other once it's activated. I tryed everything and have abselutly no idea why i have that probleme ... But i thung that is i can redirect from the htaccess that would save the headac from trying to find where it breaks. How can i redirect from the htacess if mod=registration and option to anything and Itemid to anything back to index.php?mod=registration Quote Link to comment Share on other sites More sharing options...
cunoodle2 Posted July 10, 2009 Share Posted July 10, 2009 Can you view your joomla code in plain text or is it encrypted?? I'm willing to bet there is something in that code on the index.php page that says... if ($_GET['option'] == "com_content") //redirect to page that you don't have Or something along those lines. There has to be a redirect in there BEFORE the code looks to see what the value of the passed in $_GET['mod'] is. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.