Hi, when I look at the HTML source of a single entry with a comment form I see:
<form id=“comment_form” method=“post” action=“http://domain.com/”
instead of action=“http://domain.com/channelname/entryname”
When I go to path settings in the CP the comment page URL is http://domain.com/channelname
Right now posting a comment sends me to the bare domain, and no comment is posted.
Am I missing some kind of setting? How do I get EE to submit to the right URL?
Here is my code
{exp:comment:form channel="afvallen"}
<div id="postHere">Laat een reactie achter…</div>
<textarea name="comment">{comment}</textarea><br >
{if logged_out}
<table id="userDetails"><tr>
<td id="labelTd">Naam:</td>
<td><input type="text" value="{name}" name="name" /></td>
</tr><tr>
<td>Email:</td>
<td><input type="text" value="{email}" name="email" /></td>
</tr></table>
{/if}
<input type="checkbox" name="notify_me" value="yes" {notify_me} />
Hou me op de hoogte van nieuwe reacties via email
{if logged_out}
<input type="checkbox" name="save_info" id="save_info" value="yes" {save_info} />
Onthoud mijn informatie
{/if}
{if captcha}
<table id="captchaTbl"><tr>
<td colspan="2" id="captchaLabel">
Vul de anti-spam code in:
</td>
</tr><tr>
<td id="captchaImg">{captcha}</td>
<td id="captchaInput">
<input type="text" name="captcha" />
</td>
</tr></table>
{/if}
<input type="submit" name="submit" value="Reactie Versturen" />
{/exp:comment:form}