Support Forum

Forum Redirect Problem

MO Mike Outram
Mike Outram
Member

Hi,

Just discovered when I press ‘submit’ for a forum post, I’m redirected to my site’s root. 

Only thing I’ve changed recently is I’ve started using Leadpages. [http://www.leadpages.net]

My site is http://electriccampfire.com

Any idea how to fix?

Thanks!

Mike

14 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

is this something that has started recently or is this a new install and it has always been like this?

MO Mike Outram
Mike Outram
Member

It started recently. I think it might be because I’m using Leadpages, but I’ve no idea why it’s acting that way. 

IK Ike
Ike
Member

I’m not sure there’s any way to deactivate LeadPages really, isn’t it a complete theme? If possible it might be worth doing to see if it is the cause, and of course if all works well using one of the default WordPress themes it would indicate that it isn’t a Simple Press issue, and actually a LeadPages thing.

I could be off the mark, but if that’s the case you’d really need to ask LeadPages support, of course it might be worth doing that in any case!

Although possibly someone else has more experience with LeadPages, I’ve never used it and a quick search on the forum here looks like we’ve never dealt with it before..

Sorry I can’t be of more help!

MO Mike Outram
Mike Outram
Member

Hi Ike, thanks for your reply.

I did turn off Leadpages and that fixes the issue, so it’s some kind of clash.

When I hit post I’m redirected to the site root, but this is the URL: 

http://www.electriccampfire.com/index.php?sp_ahah=post&sfnonce=c26cfb3935

Does that indicate anything?

Thanks,

Mike

IK Ike
Ike
Member

Is everything up to date? i.e WP, SP, all WP and SP plugins etc.. and I guess LeadPages?

You could also try disabling ‘Load javascript in footer’ from Integration > Page and Permalink.

MO Mike Outram
Mike Outram
Member

yep, everything’s up to date. 

‘Load javascript in footer’ is unticked anyway. 

Leadpages support thought it was some kind of header php clash. 

MO Mike Outram
Mike Outram
Member

Also, if i click ‘help’ from within the ‘integration page & permalink’ page the the pop up shows my leadpages page! 

MP Mr Papa
Mr Papa
Member

so how does this leadpage thing work?  its possible it could be using similar query arguments… or its hijacking our ajax requests…

MO Mike Outram
Mike Outram
Member

I wish I could tell you how leadpages works 🙂

I’ve no idea, am guessing it’s similar query php.

Does it help to see that URL I get when I’m posting a forum post:

[http://www.electriccampfire.com/index.php?sp_ahah=post&sfnonce=c26cfb3935]

“sfnonce” 

does that mean anything?

I’m just pulling at straws here. Have no knowledge of php. 

Mike

YS Yellow Swordfish
Yellow Swordfish
Member

The URL is good. Are we 100% sure it IS this theme? not something like WP SEO plugin? Or a redirection plugin? Or a sudden implementation of mod_security on the web server?

JI jim
jim
Member

Mike Outram said
“sfnonce”

I too am interested in learning more about the aha posting process and what looks like a “nonce” key.

I just posted this topic describing a very similar issue where a blank page loads with the ahah URL. Everything is up to date on our site, the behavior is new, and we’ve added no new plugins, but we have been making some mod_sec edits lately.

YS Yellow Swordfish
Yellow Swordfish
Member

What would you like to know? Ahah is technically the correct term for the type of Ajax that Simple:Press uses. We should have perhaps changed it to make it more obvious but it has been ‘ahah’ since day one so we just kept it.
And the nonce is a one-time number that WordPress likes us to add to all http requests that pas POST or GET variables in so it can be tested prior to processing results to ensure it came from the right person/website and is not spoofed. You shoulf find some articles on the nonce technology on the WP codex.

JI jim
jim
Member

Yellow Swordfish said
What would you like to know?

Thanks for the clarification!

I was just wondering why the aha URL might fail to redirect and complete the POST command on one topic, but work on others, like we’re discussing in my other topic.

Since  you mentioned mod_security, I’m wondering what type of rules might interfere but presume those would affect all instances and not just one topic/

YS Yellow Swordfish
Yellow Swordfish
Member

Actually no and this might be relevant to the other topic… so I will answer there.