http://localhost/ahalia/contact-us/#wpcf7-f606-o1
I am using a contact form 7 plugin. when I am clicking the submit button, the url goes like given above. what is this #wpcf7-f606-o1
? Can anyone tell me?
http://localhost/ahalia/contact-us/#wpcf7-f606-o1
I am using a contact form 7 plugin. when I am clicking the submit button, the url goes like given above. what is this #wpcf7-f606-o1
? Can anyone tell me?
Comments are closed.
It’s an anchor. It makes the browser jump directly to the contact form after the page is loaded. This is useful when you have the form below a long page, so the user doesn’t have to scroll down to see potential error messages regarding the form.
Your submit button might be an anchor tag with href=”#wpcf7-f606-o1″, that is why your url goes like given above.
EDIT
If your form looks like
Then wpcf7-f606-o1 is your form’s reference id.
If you don’t want this in your url then change the method from get to post .
It’s a unit-tag of the form. Actually, from the contact-form.php of the plugin, you may find the get_unit_tag function that generate the tag.
You may get rid of the tag in the url by customize the plugin, but if you are not familiar with PHP or not aware of what you are doing, I suggest you not do that.
This could be a configuration issue. Please check whether you have called
wp_head()
andwp_footer()
inheader.php
andfooter.php
respectively.