Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Form redirect rejected by Joomsef.
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 3 (Joomla 1.5 compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Form redirect rejected by Joomsef.

Form redirect rejected by Joomsef. 11 years, 10 months ago #31698

Joomla 1.5.23
Joomsef 3
K2 2.4
Joomfish 2.0

HI, I have the following form that redirects to a certain page after submission. this is the code I am using:


$url = JRoute::_('www.<mysite>.com/index.php?option=com_k2&id='.$_POST['itemid'].'&view=item&lang=uk&itemid=9999');
header('Location: ' . $url );

I read in another post on this forum that the above JRoute should be used. When Joomsef is disbled the url works (the _POST[itemid] is inserted and redirects to this url) and has been working before installing Joomsef. When Joomsef is on, no SEF url is created (not preferred anyway) and is just redirected to the completely wrong url.

What I really need is to disable Joomsef for this type of URL utilizing variable filtering in Joomsef K2 extension perhaps. There is no comprehensive tutorial on how to do this using variable filtering or any other suggestion is welcome. Thank you in advance for your replies
The topic has been locked.

[solved] Re: Form redirect rejected by Joomsef. 11 years, 10 months ago #31701

solved myself. I went through all the settings turning each one on or off until the url redirect from the form worked. the setting that was prohibiting the form url redirect was:

Configuration > Advanced tab
"Prevent non-sef variables from overwriting the parsed ones." set to "NO"

Hope this helps someone in the future. Please move to the community support. Thank you!
The topic has been locked.
  • Page:
  • 1
User Login Empty