Page Not Found Error
I have a form that is passing on information to be used in an embedded form on a subsequent page. The problem is that I'm getting a Page not found error because of the appended form information.
For example, I'm passing on a name and email from a form to an embedded calendly link. The embedded calendly link is on: mysite.com/brand-strategy-qualify. So the form is creating an appended URL that reads: mysite.com/brand-startegy-qualify/?name=(name they entered)&email=(email they entered).
That is resulting in a Page Not Found error. I need to get the mysite.com/brand-strategy-qualify page to load with that appended information without getting a page error.
Thanks.
-
Hi,
Thank you for reaching out to us.
If you are currently using Brizy form element, unfortunately, it does not support URL parameters as a result, it returns a 404 page not found error.
Unfortunately, the feature you want to accomplish may require custom code as described on the below article: https://wpengine.com/resources/get-url-params-wordpress/
If you are using a third-party form plugin, please check if it supports URL parameters.
If you have any further questions, please let us know.
Best regards,
Ariel H.0 -
I'm not using Brizy Form. I'm not having an issue with the code pulling the information. That part I set up with custom code and works.
The issue I'm having is that it's recognizing mysite.com/brand-strategy-qualify/?name=(name they entered)&email=(email they entered) as a page that doesn't exist (it's thinking the appended form parameters are a child page but they're not). I need it to recognize the /brand-strategy-qualify/ as the page that should load while keeping the appended information.0 -
Hi Aaron,
I filled up the form available at /application/ on your website. As you have mentioned above, you intend to redirect people to the page /brand-strategy-qualify/ following form submission. However, I was redirected to /post.php?post=498&first_name=KC&email=kc%40kc.com after I submitted the form. The content on this page is identical to that on /brand-strategy-qualify/, though.
Kindly check if you have configured the Fluent Form to redirect to /post.php?post=498 on form submission. Kindly reconfigure it to redirect to the page /brand-strategy-qualify/
We will need access to your WordPress Dashboard to offer further assistance.
0 -
Hi KC,
I managed to work it out.
Just FYI because there is still a potential error happening for others, that may or may not be caused by Brizy, I'm not sure.
Originally I was using "name" instead of "first_name" for the name variable:
Under those circumstances this was the case:
498 is the page id for the brand-strategy-qualify page.For some reason, I don't get a Page Not Found error when directing to the form of the URL that uses the Page ID with the appended parameters.
If I use the brand-strategy-qualify in fluent forms, it will direct to: staging.makebusinessmatter.com/brand-strategy-qualify?name=kc&email=kc%40kc.com
That version returns a page not found error.
I had it directing to the form of the url using the page id right now because the other way isn't working. I'm hoping to have it direct to the brand-strategy-qualify version without returning an error
Fix
As I was setting up a second application to attach to this post so you could see the page not found error, I noticed it worked.
For some reason, when I chanegd the "name" to "first_name" it no longer returned the error. So, the issue seems to be with calling a variable "name."
This also explains what happened when someone from my webhost filled out the form. They put Test as their name. It ended up directling them to a test page I had set up at: staging.makebusinessmatter.com/test/. It seems naming a parameter "name" is causing an error somewhere0
Please sign in to leave a comment.
Comments
4 comments