Forums

Permalinks and redirect

bleak26 16 Nov, 2016
When I do a chrono forms redirect using an event switcher and event loop with perma links set to custom ( http://www.mysite.org/%postname%/ ) it does not work and says "Error 404 no page found" but when I set perma links in wordpress to plain eg: http://www.mysite.org/?p=123 it works fine. Please could you tell me why this is happening and what i can do to resolve it ?

Many thanks
Max_admin 21 Nov, 2016
Hi bleak26,

What about the url in the browser's address bar after the redirection ? is it correct ?

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
cham 21 Nov, 2016
Yes the URL in the address bar looks correct
Max_admin 21 Nov, 2016
can you post a link for testing ? you can add it inside the private tag if you don't want it to be public.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
cham 24 Nov, 2016

This is private content

Max_admin 24 Nov, 2016
Hi,

The problem is that it's not possible to directly redirect inside a WP plugin as easy as its in Joomla, and it may not work all the time, I suggest that you display a thanks message after form submit and use JS code to redirect the page after 1 second (or whatever), just use this code in a "Load js" action in the "on submit" event:

setTimeout(function () {
   window.location.href= 'http://www.google.com'; // the redirect goes here
},5000);


5000 = 5 seconds.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.