Redirect action - cannot get to work

momentis 09 Jun, 2015
I have a form that I need to redirect after submission. The URL I wish to redirect to after submission is:

http://www.themagicbag.com/index.php?option=com_content&view=article&id=12

I am using a Redirect action in the On Submit event. However, I receive a 404 error on form submission instead of redirecting to the URL above. I cannot understand why.

The live form can be found at http://www.themagicbag.com, near the bottom of the page (email subscription form).

Thanks!
Rick
momentis 09 Jun, 2015
Please note: I had to remove the actual Redirect action from the form because it is throwing the error for currently subscribing users.
GreyHead 09 Jun, 2015
Hi Rick,

No idea - there's nothing left to give any clues :-(

Can you put a little test form up with a redirect so that we can get an idea what is happening?

Bob
momentis 09 Jun, 2015
Here's a small test form, which will redirect to the same page as above:
http://www.themagicbag.com/index.php?option=com_chronoforms5&chronoform=redirect_test
GreyHead 09 Jun, 2015
Hi Rick,

No 404 from here :-(

Bob
momentis 09 Jun, 2015
Hey Bob,

So it submits and redirects for you? That's weird. Maybe I need to clean my cache and try again.

Rick
momentis 09 Jun, 2015
Cleared my browser cache and even flushed my DNS Resolver cache. I still get the 404 on redirect. I am at a loss...
momentis 09 Jun, 2015
Hey Bob,

I just cannot get this to work at my end. Rebooted and all, and I still get the 404 on redirect. I will try from home later.

Rick
GreyHead 09 Jun, 2015
Hi Rick,

Ah, no it doesn't I was submitting the wrong form :-(

It does show a 404 when I submit the form but I'm not sure that it is getting as far as submitting. The Status Code is a 302 Moved temporarily so I'm wondering if the Joomla! Router is failing to handle it correctly??? Not explanation why though.

Bob
momentis 09 Jun, 2015
I am using an extension called JCH Optimize on the site. Turned it off, cleared its cache, and tried again. Redirect still dows not work.

Then, I tried disabling Rewriting in Global Config. Didn't work.

Finally, I turned off SEF URLs in Global Config. This time it redirected just to the site's home page. Failed again!

I have no idea what is going on with it. I will send you admin credentials in case you want to poke around the admin area.

Rick
This topic is locked and no more replies can be posted.